Questions tagged [gnome-terminal]
GNOME Terminal is the standard terminal emulator for the GNOME desktop environment.
82
questions
22
votes
3
answers
9k
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 ...
4
votes
1
answer
7k
views
"error constructing proxy..." when trying to launch gnome-terminal as root
openSUSE Leap 42.2
Gnome Terminal 3.20.2
I have a terminal window open. If I type the following command:
gnome-terminal
as a non-root user it successfully launches a new terminal.
However if I run ...
4
votes
2
answers
6k
views
Why `clear` do not clear whole screen?
When I use clear command to clear the screen. It is not cleared (see screenshot when I scroll up a bit after command done)
So I double the command to get right behavior:
$ clear && clear &...
101
votes
11
answers
122k
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
24
votes
5
answers
30k
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?
20
votes
2
answers
7k
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 (...
8
votes
4
answers
10k
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
...
11
votes
3
answers
27k
views
Copy-pasting in gnome-terminal
Can I configure it to allow:
select right-click to copy
right-click or ctrl-v to paste?
9
votes
6
answers
7k
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 ...
5
votes
1
answer
6k
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 -...
3
votes
3
answers
8k
views
How can I launch gnome-terminal remotely on my headless server? (fails to launch over X11 forwarding)
I have a headless VM (running Ubuntu server 17.04) that I use SSH to access. I'm comfortable with the basics of X11 forwarding, and I can forward xterm and friends just fine. XFCE terminal also ...
63
votes
4
answers
117k
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 ...
20
votes
1
answer
33k
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 ...
6
votes
6
answers
12k
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 ...
8
votes
4
answers
27k
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 ...
4
votes
1
answer
819
views
How to open the gnome-terminal within the gnome-terminal without disowning
If I open the gnome-terminal within the gnome-terminal, the newly created terminal automatically gets disowned from the parent.
Some other applications do not.
How to simulate that behavior?
How to ...
3
votes
0
answers
520
views
How to use `gnome-terminal` with new client/server architecture as wrapper?
Anyone knows how to accommodate for new gnome-terminal-server magic?
Before gnome-terminal got its new "client/server" architecture I used to use it as vim wrapper with great success for many years. ...
1
vote
2
answers
4k
views
gnome-terminal do not start
I faced the problem when terminal do not start. I have look at related issue when locale do not supported. I have tried to update it, regenerate it - nothing help. Finally I have found next error ...
82
votes
3
answers
21k
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 ...
59
votes
11
answers
70k
views
How do I clear the Gnome terminal history?
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?
44
votes
3
answers
14k
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?
20
votes
2
answers
25k
views
Terminal - create hyperlinks
I am creating Log-Reports which are viewable through the Web-browser. Is there an easy way to make links clickable in Linux Terminal? (Gnome-Terminal)
I am copying those links and manually open my ...
10
votes
7
answers
27k
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 ...
16
votes
6
answers
15k
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 ...
10
votes
2
answers
12k
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 slowly on my (X)Ubuntu 13.10. I think other Gnome tools are affected too, but I don't use any others.
Now I get a org.freedesktop.DBus.Error....
9
votes
1
answer
6k
views
How do I determine the number of rows and columns in a gnome-terminal window while resizing? [duplicate]
I'm running Fedora 21 which comes with gnome 3.14. In older versions, when I resized a terminal, a little box would appear that showed the dimensions of the terminal (in columns and rows, not pixels; ...
6
votes
2
answers
10k
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
...
14
votes
1
answer
4k
views
Double click selection in Gnome Terminal
Double clicking on a word in gnome terminal selects the whole word. Unfortunately, this selection doesn't include colons such that URLs aren't completely selected, e.g. with
http://foo.example.org/
...
9
votes
2
answers
18k
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 ...
2
votes
1
answer
4k
views
Bash script to start tmux and issue commands
I want to use a nautilus script to open a (gnome-) terminal with a tmux session (or start one) at a specific location and then execute some commands in this terminal (e.g. nvim $file).
I've ...
4
votes
1
answer
3k
views
GNOME 3.14+ launch new gnome-terminal and set title
To the disappointment of many, tab/window title can't be set anymore with --title
I use bash. I have had a few aliases I have used to connect to remote servers with.
alias c:prod='gnome-terminal --...
4
votes
2
answers
2k
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 ...
1
vote
1
answer
129
views
Printing a sequence of square brackets in `gnome-terminal` is very slow
Problem
I coincidentally was trying to print a string to STDOUT in gnome-terminal that contains a lot of square brackets and noticed it took a lot of IO time (~4sec for ~100KB). To confirm that there ...
1
vote
1
answer
238
views
gnome-terminal - Execute command with ability to suspend
I have an application launcher that executes a command inside gnome-terminal with the -- option, but whenever I go into the terminal and try crtl-z to try to suspend the command and move it to the ...
0
votes
1
answer
715
views
Why do only some terminals get a pts
When I try to use write to talk to users logged into an X session results vary depending on which terminal they are using. Gnome terminal can pick up writes, but neither lxterminal nor terminator can. ...
48
votes
5
answers
180k
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 ...
40
votes
8
answers
123k
views
Arch Linux terminal not starting
I just installed Arch Linux following a video tutorial from youtube for the first time. However, when I try starting the GNOME terminal it won't start. It will say Terminal at the top of my screen for ...
12
votes
4
answers
66k
views
Terminal, Prompt changed to "-Bash-4.2" and colors lost
Usually my terminal prompt was
username place$
now it only shows
bash-4.2$
and all the color settings have been lost (on the terminal profile I have the same color scheme, but it just don't show ...
26
votes
2
answers
53k
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 ...
18
votes
7
answers
27k
views
How to configure Nemo's right-click "Open in Terminal" to launch "gnome-terminal"
I realize the default of the Nemo's right-click "Open in Terminal" is to launch "gnome-terminal", however, my installation is opening "xfce4-terminal" instead.
A while back when "gnome-terminal" was ...
34
votes
1
answer
20k
views
terminal hang when lost connection and ssh is on
when I ssh to a server over the internet in a gnome terminal tab, if I lost internet connection, the terminal tab will be hang and not accept any input. Why is it hang?
Is there some way to activate ...
27
votes
3
answers
54k
views
Open Gnome Terminal window and execute 2 commands
I have a script which runs in the background (without terminal windows or TTY) and occasionally does something.
I now want it to do another thing when it does something and it is to open a Gnome ...
15
votes
5
answers
14k
views
How do I select text from terminal by using keyboard only?
I used to select text via mouse click+drag but I want to know if I can do the same thing via the keyboard only?
I am talking about selecting text with the help of the keyboard on gnome-terminal, etc.
8
votes
3
answers
7k
views
How can I remap the shortcut keys for scroll down/up in gnome terminal
According the gnome-terminal usage:
You can also scroll up or down one line at a time by pressing Control+Shift+Up or Control+Shift+Down.
In this document shows: Control + Shift + Up / Down can ...
12
votes
5
answers
32k
views
Using chown $USER:$USER inside bash script
In a small bash script I'm running I am attempting to chown a new directory that is created. I've added:
sudo chown $USER:$USER /var/www/$sitename
sudo chmod 775 /var/www/$sitename
after the line ...
9
votes
4
answers
5k
views
Opening new gnome-terminal (v3.28+) with multiple tabs and different commands
It seems the behavior of gnome-terminal has changed between the version shipped with Ubuntu 14 (v3.6?) and Ubuntu 18 (v3.28).
I have a script that opens a new gnome-terminal with a bunch of tabs ...
5
votes
1
answer
3k
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
2
answers
3k
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 – ...
14
votes
2
answers
9k
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: ...
10
votes
2
answers
4k
views
Changing gnome terminal transparency with a command in Ubuntu?
How can I change the transparency of the Terminal windows in Ubuntu with a command?
I already know about the profile method but want a command so that I can quickly swap between transparent and ...