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.

Filter by
Sorted by
Tagged with
64 votes
3 answers
98k views

How to show output on terminal and save to a file at the same time?

I am using: user@unknown:~$ sudo command -option > log to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible? I am using ...
fazpas's user avatar
  • 1,603
38 votes
4 answers
19k views

How to make mouse wheel scroll the less pager using bash and gnome-terminal?

I have two computers with the latest Fedora. On the first, I'm using zsh and the mouse wheel can be used with the less pager within gnome-terminal to scroll the pager. On the second, I use bash and ...
user36520's user avatar
  • 2,975
24 votes
6 answers
22k views

Save multiple gnome-terminal layout?

I have multiple gnome-terminal windows open. Is there a way to save the settings (window position, no. of tabs, title etc). across OS reboots ?
Abhinav's user avatar
  • 2,050
274 votes
9 answers
309k views

In vim, how can I quickly switch between tabs?

In gnome-terminal, I can just press Alt + (1, 2, 3, etc.) to switch to specific tabs. I can also use Ctrl + (PgUp / PgDn) to cycle through tabs (admittedly less convenient, but it can be remapped). ...
Matthew's user avatar
  • 14.8k
254 votes
8 answers
189k views

Way to avoid ssh connection timeout & freezing of GNOME Terminal

When I connect via ssh to certain servers, it timeouts and "freezes" the terminal (doesn't accept input, doesn't disconnect, can't Ctrl-C to kill the ssh process or anything). This is in Ubuntu's ...
Kzqai's user avatar
  • 2,878
7 votes
1 answer
3k views

Can't paste in gnome-terminal from Keepas2 running via mono

I'm running OpenSUSE 13.2 and I'm using Keepass2. The app is runnig via mono. I want to copy my password from keepass to the terminal, however this isn't working using CTRL + SHIFT + V. This is a ...
LEDfan's user avatar
  • 171
7 votes
4 answers
9k views

How can I turn off font-antialiasing only for gnome-terminal, but not for other applications?

I'm running GNOME (gnome-session under xmonad). I want to turn off antialiasing (i.e. use monochrome mode) for fonts in gnome-terminal. But I want to retain antialiasing for other applications, like ...
dan's user avatar
  • 7,417
77 votes
5 answers
24k views

Slight delay when switching modes in vim using tmux or screen

Switching to and from insert mode in Vim is no longer instantaneous since I use tmux. After pressing Esc in insert mode, it takes a noticeable amount of time to actually get out of insert mode. After ...
Ton van den Heuvel's user avatar
45 votes
4 answers
25k views

How do I edit previous lines in a multiple line command in Bash?

When entering a command which spans multiple lines in Bash, how do I edit previous lines? I'm a Linux Mint (Lisa) user using GNOME Terminal. For example, let's say I type: $ echo "foo bar > baz &...
Asher Walther's user avatar
37 votes
2 answers
119k views

Open gnome terminal programmatically and execute commands after bashrc was executed

For starting my dev environment I wrote a little script. One part is to open a gnome terminal with several tabs where automatically some commands should be executed. Some of those commands depend on ...
medihack's user avatar
  • 920
24 votes
4 answers
20k views

Can I have my terminal background change based on hostname?

I'd like to have my terminal background color change based on hostname. My reasoning for this is mainly to have and extra way to remind myself what server I am on, so I don't do something stupid. Is ...
chris's user avatar
  • 350
19 votes
4 answers
6k views

Terminal that supports the ANSI italic escape code?

I would like to replace GVim with Vim in the terminal. One of the nice things about GVim is that it is able to display text using italics. Vim allows setting an ANSI escape code for italics (\e[3m), ...
Ton van den Heuvel's user avatar
12 votes
1 answer
7k views

How to enter copy mode on mouse scroll in tmux?

The mouse scroll wheel does not work when not in copy mode. I'm not sure whether it is supposed to be working then? When in copy mode, the scroll wheel does work. The problem is that I still need to ...
Ton van den Heuvel's user avatar
11 votes
4 answers
14k views

Gnome: Change title of current terminal from bash command line

I know there are options to start a new terminal with a specified title, and that is is possible to change the title from a terminal using the menu: 'Terminal' -> Set Title. However, I want to change ...
Sander's user avatar
  • 352
10 votes
2 answers
3k views

Disable Using Bright Colors for Bold Font in gnome-terminal

gnome-terminal uses bright colors for bold fonts. Is it possible to configure it to use the same color for bold fonts as for normal fonts. Also, I do need bright colors somewhere else, so changing the ...
Jingyue Wu's user avatar
6 votes
4 answers
2k views

Access the name of the gnome terminal profile from the command line

Gnome Terminal allows to have different profiles. Is it possible to get the profile name under which that terminal started from the command line?
medihack's user avatar
  • 920
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
1 answer
1k views

How to change background/foreground color on "all" existing terminals

I am looking for a command line way to change the background & foreground colors of all open terminal (and also for any new terminal, the new settings should be applied). Using something like ...
Jp19's user avatar
  • 33
2 votes
1 answer
2k views

How can I open an application using the command line and then close the terminal without closing the opened application?

If I open an application from the command line, say Firefox, the application runs as long as the terminal stays open. Closing the terminal's tab will close the application. Is there a way to open an ...
John's user avatar
  • 23
1 vote
1 answer
864 views

Have bell mean window is urgent with gnome-terminal

How can I configure the terminal bell to mark the current window as urgent in gnome-terminal ? Related to this question. I'm using i3wm . Currently echo -e "\a" does nothing even if I'm on another ...
greg0ire's user avatar
  • 1,305