Questions tagged [gnome-terminal]

GNOME Terminal is a terminal emulator for the GNOME desktop environment. Among its key features are support for multiple profiles, colored text, tabs, mouse support, URL detection a number of UI customizations and compatibility options.

59 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
2 answers
639 views

How to stop htop controlling terminal's mouse?

When you running htop (with Gnome-Terminal + Ubuntu 14.04), and left-clicking a process on the terminal window, htop will move cursor into that process. I prefer to disable it, but I didn't find in ...
Gea-Suan Lin's user avatar
4 votes
0 answers
453 views

gnome-terminal new tab within exact same path

I'm using gnome-terminal and open multiple tabs for the same path. The behavior of gnome-terminal is to change to the real (canonical) path rather than the exact original path. E.g. a new tab opened ...
Christophe Drevet's user avatar
3 votes
0 answers
2k views

How to change the profile of current tab in gnome from command line

If I do this gnome-terminal --profile=NEW_PROFILE it indeed changes to the new profile but opens a new window. But I want it to change the profile of the current tab and not pop up a new window. If ...
Pavan Manjunath's user avatar
3 votes
1 answer
967 views

how to get gnome-terminal to not mess up emacs keybindings

In particular, if I type "C-M-SPC" gnome-terminal sends "M-SPC" to emacs. xterm does not have this problem. Note that this is a different problem than the one where emacs keybindings conflict with ...
user35742's user avatar
  • 131
2 votes
0 answers
69 views

LXTerminal does not display Urdu characters correctly

I'm Chinese and I don't read Urdu, but I want to communicate better with Indians. In LXTerminal, the output looks like this, with some characters rendered as wingdings: In QTerminal the output seems ...
Yan King Yin's user avatar
2 votes
2 answers
383 views

What part of Gnome Terminal handles Ctrl-C?

I've been messing around with Gnome Terminal recently, trying to customize what happens when I press Ctrl-C (I'd like it to copy when I have text selected and send SIGINT otherwise, but that's not ...
UnlimitedHighground's user avatar
2 votes
1 answer
342 views

Disable Using Bright Colors for Bold Font in gnome-terminal 3.22.x?

This question was answered (5 years ago) for an earlier version where the profile/colors had an check box for making bold colors the same as text. No longer the case in version 3.22.x of gnome-...
B Ward's user avatar
  • 21
2 votes
0 answers
4k views

fatal python error: py_initialize: unable to get the locale encoding

I have installed ubuntu 16.04. I am trying to launch terminal, it can't work. For this I have opened x-term and type gnome-terminal and I got the below error. fatal python error: py_initialize: ...
yogesh10's user avatar
  • 121
2 votes
3 answers
1k views

Programmatically open a new tab within a gnome-terminal?

Within a gnome-terminal tab, I can invoke the "New Terminal in New Tab" command shift+ctrl+t and it will add a tab to the current gnome-terminal window. How can this be done programmatically? I've ...
Urhixidur's user avatar
  • 121
2 votes
0 answers
142 views

RHEL 6 converting a BASH script to a CSH script

I have a BASH script( running on RHEL 6 ) that brings up a GNOME terminal, opens multiple tabs in that terminal, starts a server in each tab, names the tab after that server, and inserts the command ...
user787832's user avatar
2 votes
1 answer
96 views

Gnome Terminal tab completion placing text in odd areas

Using tab completion in gnome-terminal appears to be placing text in odd areas, such as to the left (on top of my prompt) or above, sometimes. Here is an example of what happens when it places it over ...
user402663's user avatar
2 votes
1 answer
2k views

Emacs -nw color-theme and terminal transparency

I'm using M-x load-theme to load color-theme-solorized from the marmalade repository and it works and gets the color correct. The problem I'm having is that if I run emacs -nw in gnome-terminal that ...
Isaac's user avatar
  • 21
2 votes
2 answers
396 views

Is it possible to configure a blank line at the bottom of a gnome terminal?

When the terminal text reaches the bottom of the window, it's hard to see underscores and font descenders since they're so close to the window border. Can I configure a blank line (or 2)?
Hollister's user avatar
  • 171
2 votes
1 answer
2k views

How to move tab title from top to bottom in gnome-terminal on Ubuntu?

I do love konsole on redhat, but now I have to work with Ubuntu. So I installed konsole on Ubuntu, but it seems not good since when I copy something by selecting, tail of the line are full filled ...
Yestin's user avatar
  • 21
2 votes
0 answers
1k views

How can I pass function keys in Gnome terminal to Emacs

I like to use Emacs in the terminal with out X(emacs -nw). But the problem is I can't use function keys(f1 ... f12) in gnome terminal. How can I pass them to Emacs in gnome-terminal? If it's not ...
kindahero's user avatar
  • 1,138
1 vote
0 answers
201 views

How to paste control characters in gnome-terminal?

System: Ubuntu 18.04 Question: How can I copy a string that includes control characters such as ctrl-a, e.g. from gvim (fenc=ascii or utf-8), and paste it including control characters in gnome-...
asoundmove's user avatar
1 vote
1 answer
359 views

tmux ctrl-a stopped working after upgrade to Ubuntu 20.04

I have had my tmux prefix set to c-a for as long as I can remember. Immediately after upgrading to Ubuntu 20.04, ctrl-a no longer works. My terminal (gnome and xterm) simply display ^A. If I change ...
pinoyyid's user avatar
1 vote
0 answers
1k views

gnome-terminal NOT working after Kali Linux system update

After doing a full Kali linux update using the following command line : apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get autoclean -y && apt-...
stepper mapper's user avatar
1 vote
0 answers
76 views

Some Readline keyboard shortcuts broken in gnome-terminal?

I'm trying out Fedora 27, and I've noticed they messed around (in an unwelcome way) with the keyboard shortcut in gnome-terminal. Specifically, M-f and M-b don't work. I've tried googling but all I've ...
jjpe's user avatar
  • 111
1 vote
1 answer
332 views

Is it possible to make a gnome-shell window uncloseable

Is it possible to make a gnome-shell gnome-terminal window uncloseable? For example even if the "X" is clicked or even if the user types "exit" at the prompt the window does not close (in the latter ...
tjb's user avatar
  • 189
1 vote
0 answers
242 views

tmux status bar keeps echoing on gnome terminal

I'm unable to find the search terms for this problem, so I've attached a screenshot. Every minute, the tmux status bar outputs a new status line instead of updating. This seems to happen mainly on ...
user84207's user avatar
  • 433
1 vote
1 answer
88 views

Loop Files, Get Next Number

In a directory I have the following files: 000 - text.txt 000 - info.txt 001 - first.txt 002 - second.txt aaa - more.txt ZZZ - text.txt ZZZ - info.txt In Bash, how would ...
LifeLongLearner's user avatar
1 vote
0 answers
112 views

my tab key behaves strangely in CentOS gnome terminal only in empty shell prompt

In my CentOS 6.7 GNOME desktop, something went wrong while I was trying to show a document to my daughter. I must have pressed some keys by accident. The strange behavior is, when I press tab key in a ...
Chan Kim's user avatar
  • 165
1 vote
0 answers
52 views

Can we save Gnome Terminal Window with multiple tabs with logins?

Every time i would be required to launch a new terminal window as a refresh start and then do logins, i would like to reduce this effort across reboots, any idea ? Something similar to Mputty Thanks.
Cleonjoys's user avatar
  • 111
1 vote
0 answers
31 views

Inconsistent terminal settings across directories

This is a bit hard to explain, but for some reason, when I cd to one specific directory in my file tree, the terminal and the displays within the terminal appear different only inside this directory. ...
user1790399's user avatar
1 vote
0 answers
53 views

Path slashes disappear on coloured bash prompt

So in my .bashrc, I set my prompt to be colourful by setting PS1 to \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ For some ...
Adam M-W's user avatar
  • 553
1 vote
0 answers
150 views

How to extend selection in gnome-terminal? Depends on version?

I just moved this question I made some time ago, from StackOverflow to here: In a terminal I can select a single line, double clicking with the Left Mouse Button. With xterm, I can extend that ...
nephewtom's user avatar
  • 2,927
1 vote
0 answers
1k views

Use a non-monospaced font with Gnome Terminal

I have a font I'd like to use in the Gnome Terminal that the OS doesn't recognize as monospaced (I assure you it is). Is there any way to set Gnome Terminal's font to something that isn't monospaced? ...
Zach Latta's user avatar
1 vote
1 answer
3k views

Using different .cshrc.user files

I have two .cshrc.user files for two different projects. For example, they set the same environment variables but with different values. When I'm currently switching between projects, I run a python ...
Baz's user avatar
  • 489
1 vote
0 answers
40 views

overlining support in terminal

when I enter printf "\e[4m%s\e[0m\n" TESTING into iterm or osx terminal, testing returns underlined. Are there any terminals (mac or linux) that would support printf "\e[53m%s\e[0m\n" TESTING?
pizza247's user avatar
  • 131
1 vote
1 answer
818 views

How to extend selection in gnome-terminal?

In a terminal I can select a single line, double clicking with the Left Mouse Button. With xterm, I can extend that selection clicking with the Right Mouse Button in the place I want to extend it. ...
tomasorti's user avatar
1 vote
1 answer
525 views

save gnome-terminal tabs configuration

How can I launch gnome-termninal with 4 tabs rooted at the same directory with each having a distinct tab-title and command launched at startup. (one is the actual "shell", three others are tail -F ...
Bastl's user avatar
  • 213
1 vote
0 answers
110 views

Vimrc for different gnome-terminal profile?

I want to load different VIM color schemes for different gnome-terminal profiles. It's indeed two questions: How to know the active profile name in a gnome-terminal session? How to test with environ ...
Lenik's user avatar
  • 18.3k
1 vote
1 answer
2k views

How do I open a program from terminal and force it to stay in the same workspace as the terminal?

In my daily work, I can usually divide the task at hand into two or three subtasks, for example MATLAB programming, LaTeX typesetting and Skype communication. For this, I like to keep the different ...
Tomas Aschan's user avatar
  • 3,226
1 vote
1 answer
155 views

Default folder from which commands execute

Once I upgraded to Maverick Ubuntu, bash shell in gnome-terminal starts by default at root rather than my home directory, this was easily fixable by adding a cd command in .bashrc. However, this is ...
Harshavardhan's user avatar
0 votes
0 answers
707 views

every time i open my parrot OS terminal i get bash: ‘export: command not found

I prefer Linux. I accidentally executed a misspelled command in terminal. sudo echo 'export PATH=/home/grump/miniconda3/bin:$PATH' >> /.bashrc What can I do now that it is constantly executing ...
Girum Senay's user avatar
0 votes
1 answer
340 views

Neofetch autostart in Awesome WM not working

Trying to run Neofetch in Linux automatically on startup in Awesome WM. Problem is the terminal opens and closes, doesn't stay open. If I change the gnome-terminal option to stay open, I get errors. I'...
yegnal's user avatar
  • 29
0 votes
0 answers
71 views

shell to have certain words hilighted

I'd like to have certain key-words hilighted in my gnome-terminal window like "error". Is it possible to configure gnome-terminal or zsh in such a way it will hilight these words (no matter ...
Mathias B.'s user avatar
0 votes
0 answers
235 views

Retrieve current folder on custom command on gnome-terminal

I'm using fish for some days upon Ubuntu gnome but I don't know if that's possible to keep the feature "open the terminal in a specific folder". Inside Files app, I right click inside a ...
Ser's user avatar
  • 101
0 votes
0 answers
183 views

dwm displays squares instead of text for directories

so I'm new when it comes to installing and setting up linux. I'm doing it with arch linux to learn more about this stuff, but i hit a road block when i tried to install and configure dwm, as well as ...
Ziyad's user avatar
  • 11
0 votes
1 answer
1k views

Open a gnome terminal through a bash script and call and run an aliased command

I am trying to write a bash script that opens a new gnome terminal window and runs an aliased command. I have seen that instead of using aliases using a function is the proper way to go. I have tried ...
vic's user avatar
  • 111
0 votes
1 answer
2k views

Copy/paste stops working in gnome-terminal over VNC session

I have been clumsily working around a strange clipboard issue on a Linux system over VNC. I recently noted a fix and want to document it here. An alternate title for this post might be: VNC client/...
sivs422's user avatar
  • 53
0 votes
0 answers
345 views

Enable gnome-terminal hotkeys depending on the vi mode in the terminal

I have recently discovered that it is possible to enable vim bindings in the gnome-terminal with: set -o vi Now I would like to know whether it is possible to also enable hotkeys for the terminal ...
Dimfred's user avatar
0 votes
0 answers
168 views

Shortcut to open terminal in `pwd` if active window is another terminal or Nautilus

I have made a custom keybinding in Gnome such that Super+t opens a gnome terminal. Now I would like to improve it such that if the window active when pressing Super+t is Nautilus or another Gnome ...
sigvaldm's user avatar
  • 111
0 votes
1 answer
33 views

How to reinitialize a CLI application between some interval (Like reinitiate elinks between some interval in the same terminal window)?

I am using Elinks for specific page where I have to reload the page between every one minute. To reload it I have to press Ctrl+R shortcut to work it out. Can I automate this procedure? I tried to ...
Ryko's user avatar
  • 103
0 votes
1 answer
464 views

Need to run .jar file having .sh file on desktop for all PC's.

i'm running a .Jar file User Interface which include script from Desktop of PC by following code in netbeans. String[] pc1 = {"gnome-terminal","-e","/home/noman-i7/Desktop/connect/pc1.sh"}; my code ...
noman's user avatar
  • 1
0 votes
1 answer
614 views

Applying Colours Scheme to Gnome 3.14 Terminal

I'm trying to change the colour scheme on my gnome terminal running on debian jessie. I've tried different ways, like Base16 Builder or Base16 Gnome Terminal, but none seem to work. After I generate ...
Andrei's user avatar
  • 35
0 votes
2 answers
757 views

Load Images and play Videos online using linux terminal

I am using ubuntu 12.10 and I am browsing website using w3m module. But this module cannot shows images and play videos. Is there any way to load images and play videos in linux terminal?
Cracker's user avatar
  • 101
0 votes
0 answers
452 views

Starting gedit from terminal produce error messages

When I start gedit from a terminal I get this output on the terminal: tomas@debian:~$ gedit (gedit:12617): Gtk-CRITICAL **: gtk_list_store_set_column_types: assertion `priv->columns_dirty == ...
Tompa's user avatar
  • 233
0 votes
0 answers
109 views

vim colo directive ignored in console

I have the following in my .vimrc: if has("gui_running") colo desert " ... else colo distinguished " ... endif gvim works fine. When I open vim in gnome-terminal in tmux, the colo ...
noahz's user avatar
  • 243