GNOME Terminal is the standard terminal emulator for the GNOME desktop environment.

learn more… | top users | synonyms

20
votes
6answers
18k views

How to clear terminal completely?

When we use clear command or Ctrl+L in terminal, it clears terminal but we can still scroll back to view the last used commands. Is there a way to completely clear the terminal?
20
votes
3answers
9k views

Which terminal type am I using?

I have tested this with both Ubuntu 12.04 and Debian 7. When I do echo $TERM I get xterm But if I use the dropdown menu "help" > "about" then it says gnome terminal 3.4.1.1. Does this mean I am ...
18
votes
3answers
5k views

ESC key causes a small delay in terminal due to its Alt+ behavior

My terminal setup is gnome-terminal + tmux + zsh with vi bindings. In applications like vim or even in the zsh's command line vi editing mode, I need to frequently hit the ESC key but there is a ...
18
votes
2answers
19k views

How do I get the solarized colour scheme working with gnome-terminal, tmux and vim?

There's a lot of questions around this, but it's because there are so many variables. I had to piece together instructions from many sites before I got this working. First, I could not easily set up ...
17
votes
3answers
15k views

Is it possible to set Gnome Terminal's title to “user@host” for whatever host I'm connected to?

I'd like to set the terminal title to user@host so I can easily tell which machine I'm connected to from the window title. Is there a way to do this from SSH or from GNOME Terminal?
10
votes
5answers
3k views

Terminal - copy from CLI without using mouse

While firing commands in CLI, I want to copy the command I just fired or anything I wrote in terminal and paste it somewhere else without using mouse. Like in following picture, I want to copy the ...
10
votes
1answer
2k views

Keyboard shortcut to set gnome-terminal tab title

I like to work in Linux without using the mouse, because of that I would like to know if there is any method to set a keyboard shortcut to set gnome-terminal tab title.
10
votes
4answers
7k views

disabling mouse support in `vim` in a `gnome-terminal` environment

Edit: The problem of an enabled mouse in vim appears to be specific to gnome-terminal (version 3.4.1.1-1; I am using gnome 3 fallback mode). If I run xterm, mouse support in vim is disabled by ...
10
votes
1answer
894 views

Why don't Linux terminal emulators support full colors?

I just upgraded my gnome-terminal to use 256 colors, yet I am a bit puzzled on the reason why a terminal emulator can't support the full palette any modern desktop environment provides. I guess ...
9
votes
3answers
6k views

Is there a “Open terminal here” from File Browser?

Something equivalent to Windows' "cmd prompt here", that will open a gnome-terminal on a specific folder?
9
votes
1answer
2k views

gnome-terminal: keep track of directory in new tab

I'm on Arch linux, and when I open a new terminal tab, it always goes to $HOME. How can I make it so that when I open a new tab, it opens the shell in the directory I was in previously?
9
votes
1answer
4k views

How to execute a script in shell when a shortcut key is pressed

How could I execute a script in Shell when a shortcut key is pressed. Essentially what I need is when a shortcut key is pressed the script should read from a file and display that content in the ...
8
votes
3answers
2k views

Why 'echo $0' gives different result for two different terminals?

I opened a terminal on Ubuntu using Ctrl+Alt+T and a different terminal by going to a directory and then right clicking and choosing "Open in Terminal". I did an echo $0 in both cases. In the ...
8
votes
4answers
8k views

Prevent SSH client passing TERM environment variable to server?

I'm currently using Fedora 18 gnome-terminal, then started tmux multiplexer in it. After I connected to a CentOS 5 server via ssh command, I find: ls result has no color tmux, screen, hexedit, htop ...
8
votes
2answers
3k views

Terminal 256 colors don't work through Tmux [duplicate]

Possible Duplicate: Getting 256 colors to work in tmux I want to set my terminal to 256 colors. I normally use the Gnome terminal which is shipped by default in Ubuntu but I also downloaded ...
7
votes
2answers
417 views

How do I find number of vertical lines available in the terminal?

I'm writing a script which shows the git log for a directory when I cd into it. Such a log can be overwhelming, containing hundreds of lines. So far I have been limiting that to a hard-coded 20 lines ...
7
votes
5answers
7k views

Why does F10 in gnome-terminal open the right-click menu?

I am running Fedora 17 gnome (shell) 3 and gnome terminal 3.4.1.1. I am a user of both gnome-terminal and midnight commander. As default gnome-terminal has always used F10 (which I need while using ...
7
votes
2answers
5k views

Effect of $LANG on terminal

I'm trying to learn how the $LANG variable behaves with gnome-terminal (and its character encoding preference option). I've been using iso8859-1 (latin1) as my main character-set and all my filenames ...
7
votes
1answer
689 views

Raspberry Pi, serial console, minicom, and gnome-terminal

I'm trying to access my raspberry pi via its serial console on the gpio pins. It's working fine through a USB-3.3v serial dongle. However, there's a problem with long lines and long screens not ...
7
votes
1answer
1k views

Interrupt sequence CTRL+C does not work for user

In any terminal operating under GNOME, if I press Ctrl+C, I only see a question mark. Same goes for Ctrl+Z. The output of stty -a | grep intr is: intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ...
6
votes
4answers
5k views

Ctrl+C does not work in gnome-terminal

On my Linux host, Ctrl+C does not seem to work and I do not know how to proceed to make it work. I am using Ubuntu 10.04 with bash 4.1.5(1), and working in Gnome-terminal. When I pressed Ctrl+C while ...
6
votes
4answers
2k views

Tmux xclip copy no longer working

On mu ubuntu 12.04 setups my tmux clipboard copy and paste commands are setup as follows: set -g prefix M-a unbind C-b bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" bind C-v run "tmux ...
6
votes
1answer
10k views

set gnome terminal background/text color from bash script

I would like to setup my gnome terminal's background(#002b36) and foreground color in ubuntu 13, using bash script. I tried gconftool but couldn't succeed. GCONFTOOL-2(1) User ...
6
votes
1answer
4k views

How to add color themes to Gnome-Terminal's GUI preferences?

I use Gnome-Terminal for a lot of my work, and like separating my windows by color based on the task that I'm doing, so I've set up several profiles using the Preferences GUI. I found some color ...
5
votes
1answer
3k views

How to get gnome-terminal in English?

Is it possible to select a different language for a specific application? On some systems I run Fedora15/Gnome in German, but want to use the Terminal in English including for the simple prompt ...
5
votes
1answer
573 views

Can I set a bash timeout only for virtual consoles (ctrl+alt+{f1-f6})

I know that I can set a TMOUT variable to automatically end a bash session after a specified period of inactivity. However, what I want is to apply that only to my 6 built-in virtual consoles, which ...
5
votes
2answers
7k views

How can I launch gnome-terminal with unique titles for multiple tabs?

I've seen various posts about launching gnome-terminal with multiple tabs and the script below is working for me. That is to say, this script will launch gnome-terminal with various working ...
5
votes
1answer
2k views

Gnome programs (eog/gnome-terminal) have a slow start and produce a DBus.Error.NoReply Warning

For some time eog and gnome-terminal are starting very slow on my (X)Ubuntu 13.10. I think other gnome tools are affected, too, but I don't use any else. Now I get a ...
5
votes
1answer
361 views

How to get background color in Emacs?

In Emacs no window mode, the background is automatically the same as the terminal (gnome-terminal). When I look at (frame-parameters) I see that (background-color . "unspecified-bg"). Well, for me, ...
5
votes
2answers
1k views

How can I disable terminal resizing

Vim scripts sometimes resize the whole shell (in my case the Taglist plugin). I don't want this behavior, which is possible with the shell command resize, too. Is there a way to suppress the whole ...
5
votes
3answers
4k views

Ctrl + c will not kill process

I have looked for answers and so far have found nothing to answer my question. I am currently logging in to my Ubuntu server and upon running a process I can not run any of the interrupts on it. Here ...
4
votes
3answers
4k views

Set Gnome terminal's default charset to utf8

Currently, I opened my gnome terminal and the default charset is gb2312. How can set the default charset to utf8 in Gnome terminal? I checked the preference setting but seemed not to find it. ...
4
votes
1answer
794 views

Is there a way to temporarily change the terminal colour?

I use the gnome-terminal and most of my editors with a white on black theme as I find its easier on the eyes. One of my labs requires screenshots of the terminal (with the process) to be submitted ...
4
votes
2answers
1k views

Why does Ctrl+Arrow make my terminal switch to a strange mode?

When i type Ctrl+Left or Ctrl+Right within Guake or gnome-terminal the last one's behaviour turns to a some kind of non-usual mode: - key acts like arrow up and + like arrow down, v runs Nano, etc. ...
4
votes
1answer
229 views

Set starting directory for gnome-terminal profile

In gnome-terminal if I choose File->"Open Terminal" or "Open Tab" I get a new window in the same directory as the current window. I would like to create a gnome-terminal profile that starts in a ...
4
votes
2answers
156 views

vte.sh does not keep my gnome-terminal directory in new tab

I used to keep my working directory when opening a new tab in gnome-terminal and want to restore this functionality. My research pointed me to sourcing /etc/profile.d/vte.sh in my ~/.zshrc (I use Z ...
4
votes
2answers
5k views

terminal: non-english characters

I used to be able to copy&paste (or type if I load respective keyboard layout) any kind of characters (eg. é ö ñ ß و 好) in my console/terminal. Now I bought a new computer and it does not work ...
4
votes
3answers
2k views

How do I kill 1 gnome-terminal window?

Why in the world do all my gnome terminals run under 1 process in Ubuntu? This is integrating things that should remain separated! I much prefer xterm's rational mode of running one process per ...
4
votes
1answer
485 views

Konsole works, gnome-terminal doesn't?

I'm running on CentOS 5.7 (in case that matters) I have a program (not my own) that runs fine from Lonsole, but when I run it from xterm, gnome-terminal or rxvt, it just hangs. I'm doing this with a ...
4
votes
1answer
2k views

Gnome terminal fails to start

After upgrading to Fedora 18, on certain occasions, gnome-terminal will fail to launch, requiring me to log out of the desktop and log in again. I tried tracing the error and found the following in ...
4
votes
2answers
1k views

indistinguishable active tab in gnome terminal

I am running Gnome 2.30.2 and Gnome Terminal 3.0.1 on my Debian Sid and recently the active tab became almost indistinguishable from other tabs. It is actually the same colour. Changing the themes ...
4
votes
0answers
675 views

Gnome-terminal and Zsh: keep current directory on new tab/window

I'm running gnome 3.10.1 on Arch with Zsh. I'm facing that problem that when I create a new tab or window from a terminal window, it resets the current dir to my home dir. I've already tried this: ...
4
votes
0answers
420 views

8-bit input in gnome-terminal

I'm trying to switch from xterm to gnome-terminal but having trouble with alt keys. I have already disabled menu access keys, but I still need 8-bit inputs. In xterm I can set 8-bit inputs in ...
4
votes
4answers
348 views

How to send all output to a pager by default?

git has a very nice feature for many of its commands: The output on an interactive terminal is passed to a pager by default, in such a way that it only keeps the pager open if there's more than one ...
4
votes
1answer
493 views

Configurable tab-bar, or rich-featured terminal emulator

Is there any terminal emulator where the user can choose the position of the tab bar? I want to have the tab bar on the left, with vertically aligned tabs, or configure the tab-bar to be multi-line. I ...
3
votes
3answers
6k views

Copy-pasting in gnome-terminal

Can I configure it to allow: select right-click to copy right-click or ctrl-v to paste?
3
votes
2answers
313 views

Can I make text in xterm looks and feels like gnome-terminal?

The picture on top you can see my xterm, the picture under is the gnome-terminal. Ok This is what I want to get: I use the same font in both but looks different: Xterm*faceName: DejaVu Sans Mono ...
3
votes
2answers
133 views

closing parent process(terminal) doesn't close a specific child process

I'm new to Linux and so far,I have come to understand that if we open a new process through a gnome-terminal eg: gedit & "& for running it in background", then if we close the terminal, gedit ...
3
votes
1answer
295 views

Crontab suspicious activity

I tried using crontab -l from my terminal as root, it showed no crontab for root. So I tried crontab -e, it returns the following no crontab for root - using an empty one 888 and then the ...
3
votes
1answer
1k views

How to bypass GNOME Terminal when sending keyboard input?

When running an interactive shell application, how can I send it a key (or key combination) which would normally be intercepted by GNOME Terminal? In this particular instance it's the F10 key which is ...