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

learn more… | top users | synonyms

19
votes
4answers
21k 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?
9
votes
1answer
8k 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 ...
7
votes
4answers
8k 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 ...
3
votes
3answers
8k views

Copy-pasting in gnome-terminal

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

Run true multiple process instances of gnome-terminal

If you have gnome-terminal running, and want a new instance of the program, you might think that running gnome-terminal & from a shell would do the trick. Astonishingly, this new instance behaves ...
2
votes
1answer
1k views

Orphan process's parent id is not 1 when parent process executed from GNOME Terminal

I start a new process from GNOME Terminal and then this process fork a child. But when I killed the parent process the orphaned process's parent id became something other than 1 which represent init ...
18
votes
2answers
11k views

How to rename terminal tab title in gnome-terminal?

Used to be able to right click on the tab and change the title. Not sure how to do this anymore. Just upgraded to Fedora 21. EDIT: I have switched from gnome-terminal to ROXterm
8
votes
2answers
958 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 ...
6
votes
2answers
8k 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 ...
31
votes
3answers
28k 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
1answer
4k 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?
3
votes
2answers
2k views

How to fix the shifted function keys in vim in xterm in gnome-terminal?

When I hit the <s-f2> key to execute my nnoremap <s-f2> :set number! mapping Vim opens its "Insert" mode above (O) and types the 1;2Q string. In order to see the entire terminal key code – ...
6
votes
2answers
6k 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 ...
4
votes
1answer
1k 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 ...
3
votes
2answers
2k views

gnome-terminal stopped working

My gnome-terminal 3.16.2-1 stopped working after a system update. I am running Linux arch 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux. When launching it I recieve ...
8
votes
2answers
20k 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 ...
3
votes
1answer
2k views

gnome-terminal unicode chars not showing - Locale is set to en_US.utf8

I've become stumped trying to get my terminal to show unicode characters. I've set the LOCALE/LANG environment variables to en_US.utf8: locale LANG=en_US.utf8 LC_CTYPE=en_US.utf8 ...
2
votes
4answers
2k views

VIM solarized color scheme looks wrong when using tmux

I am trying to use the solarized color scheme in VIM using gnome terminal (Ubuntu). When I run vim without tmux, it looks great, see below: If I add the following commands to my .bashrc # tmux ...
10
votes
1answer
744 views

Why xterm displays 256 colors (not xterm-256color)?

Could someone explain this? I'm using gnome-terminal. First, some information: # echo $TERM xterm # infocmp xterm Reconstructed via infocmp from file: /lib/terminfo/x/xterm colors#8, cols#80, it#8, ...
5
votes
3answers
13k views

search text on the terminal output

I am running an application with command $ grails run-app which prints log in terminal like below. What I want is search a particular text (say user authorities) in this log so that I can verify ...
4
votes
1answer
70 views

Make screen work like a terminal (scrolling + alternate screen) [duplicate]

I would like to use screen (from GNOME Terminal, via ssh) like I use GNOME Terminal without screen, or as close as possible to that. Specifically: In GNOME Terminal, I can scroll back using the mouse ...
4
votes
1answer
561 views

Suddenly cannot open any terminal on Linux Mint

I suddenly cannot open a gnome-terminal window in Linux Mint. I installed xterm and guake too now looking for a replacement, but none of them will open either. When I do try to open gnome-terminal by ...
3
votes
2answers
270 views

bash - wrong key sequence bindings with control+alt+space

I am trying to install some key sequence bindings but I have trouble. My shell is bash, my terminal is gnome-terminal, and my system is Ubuntu 14.04 in graphic mode. Edit : my keyboard is french ...
2
votes
0answers
162 views

How do I get gnome to use the same keymap for control as normal?

I'm using a relatively new centos system with Gnome. I have set the keyboard to dvorak, which was really easy and straightforward. However, for some reason, the control keys are still qwerty. I ...
2
votes
3answers
4k views

How do I edit the terminal launch command in Linux Mint?

In Linux Mint (Debian-based) how can I edit what the shortcut Ctrl+Alt+t launches? For example, I would like to issue gnome-terminal with the --maximize option, and to have it launch tmux instantly.
1
vote
0answers
44 views

Terminal unaccessible after command

I did a clean Debian Jessie installation and was trying to set the fish as default shell, I've utilized the command usermod -s /usr/bin/fish username (from here), restarted the session and now I got ...
1
vote
1answer
2k views

How to set the prompt and tab-title on Gnome-Shell (Gnome 3, centos 7)

This is embarrassing, but I don't seem to be able to set the command-prompt or the shell title. I'm using Gnome3 on centos 7. PROMPT I've added the following to ~/.bashrc: export PS1="\w \$ " The ...
1
vote
1answer
780 views

mouse in gnome-terminal

how to set up mouse in terminal window? when i click on midnight commander captions i get raw data from mouse printed as characters in terminal and any running progs don't understand mouses clicks. I ...
1
vote
1answer
1k views

GNOME-Terminal: Create new terminal tab on remote machine

Is there a way to open a new terminal tab in GNOME-Terminal when working on a remote machine that is connected via ssh?
0
votes
1answer
457 views

How to open Leafpad as root in gnome-terminal in kali linux? [duplicate]

I am following this in which there is some commands: deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main contrib non-free deb [arch=i386,amd64,armel,armhf] ...
0
votes
1answer
67 views

Detect Viruses in USB?

My USB pen brings often Windows Viruses in it. Before attaching it to windows again I would prefer to delete viruses. I have Kali Linux. Is there any way to detect Windows viruses/threats through ...
0
votes
1answer
395 views

why are colors mixed up in CentOS 7 terminal?

I have CentOS 7 running as a guest OS inside a VirtualBox host. I opened a terminal to write some commands, but the colors are all messed up as shown in the following print screen: It looks ...