The default GNOME desktop terminal emulator, allowing users to execute commands using a real UNIX shell while remaining on their graphical desktop.
Questions tagged [gnome-terminal]
511 questions
12
votes
3 answers
Vim background color doesn't render properly in GNOME terminal
I'm guessing lots of people get this problem, but I can't seem to find any other threads/questions about it anywhere. I guess it's difficult to capture in keywords.
Basically, Vim doesn't draw the background color when scrolling up in places where…
![](../../users/profiles/1048668.webp)
voltrevo
- 8,223
- 3
- 23
- 25
11
votes
4 answers
How to remember multiple tabs' session in terminal? (Alike FF session manager)
how does one "undo close-tab" in terminal? And quite related to it, is it possible to remember a session of tabs in terminal?
I mean (alike Firefox) if I close all tabs in a particular terminal window, how do I open with same the next day?
Its…
![](../../users/profiles/759632.webp)
kvaibhav
- 143
- 1
- 7
11
votes
2 answers
Ubuntu terminal starts with the Anaconda base environment (how to correct that?)
I have downloaded and installed the Anaconda distribution for Ubuntu (18.04) from [https://www.anaconda.com/distribution/#download-section] conform instructions some weeks ago. Everything worked fine.
Today I updated the packages in the Gnome…
![](../../users/profiles/7475838.webp)
Rene
- 2,434
- 1
- 11
- 32
11
votes
1 answer
How do I get Ctrl-Backspace to delete a word in vim within gnome-terminal?
I'd like Ctrl-Backspace to delete the current word in vim insert mode. From within xterm I can pull this off via
:inoremap
but in gnome-terminal I cannot figure out a way to make it happen.
When in vim insert mode, if I type control-v…
![](../../users/profiles/4105.webp)
Michael Gundlach
- 94,522
- 11
- 34
- 39
11
votes
2 answers
How to change VIM cursor shape while in different modes in Gnome Terminal
I would like to change VIM's (not gVIM's) cursor depending on what mode I am currently in. I would like:
Normal & Visual modes = block cursor
Insert & Command modes = I beam cursor
I tried adding the following code to .vimrc but it did not work.…
user883807
10
votes
1 answer
Annoying padding between tmux bar and bottom of terminal window when maximised
I am using tmux inside of a gnome-terminal.
When I first open a window (with the default size being 80x24) the tmux bar sits snugly at the bottom of the window. When I maximise the terminal window, however, an annoyingly large gap appears underneath…
![](../../users/profiles/6161841.webp)
HighDensityAwesome
- 103
- 1
- 6
9
votes
1 answer
Get the actual geometry of a gnome-terminal
in X I know you can get the geometry of a window with xwininfo.
Unfortunately, if i retrieve such geometry from a gnome-terminal and use that to start another one with gnome-terminal --geometry ..., the two windows' top and left don't match.
Indeed,…
![](../../users/profiles/440172.webp)
etuardu
- 4,301
- 3
- 41
- 53
9
votes
1 answer
Open a terminal via gnome-terminal then execute command, error : "failed to execute child process""
Via a bash command, I want open a terminal and, from the new terminal, execute a simple bash command.
I tried:
gnome-terminal -- "/bin/bash -c ls"
But I got this error:
I don't understand the error and I cannot find an example anywhere for…
![](../../users/profiles/2137454.webp)
matthieu lopez
- 1,558
- 4
- 24
- 61
9
votes
4 answers
How to change gnome-terminal title in Ubuntu 10
I've tried setting my PROMPT_COMMAND variable:
PROMPT_COMMAND='echo -ne "\033]0;"myWindowTitle"\007"'
but something changes my tab (or the whole terminal title) to 'user@hostname:/current/path', thus
PROMPT_COMMAND='echo -ne…
![](../../users/profiles/435682.webp)
installero
- 7,023
- 3
- 29
- 30
9
votes
2 answers
zsh tab completion bug on ubuntu
I'm getting a really annoying bug here:
% git s becomes
% git sgit s
send-email -- send collection of patches as emails
send-pack -- push objects over git protocol to another repository
...
It just duplicates the command. If I…
![](../../users/profiles/949806.webp)
BPm
- 2,586
- 8
- 31
- 46
8
votes
1 answer
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 setup to different directories for my development, and…
![](../../users/profiles/5155476.webp)
codesniffer
- 733
- 5
- 15
8
votes
1 answer
Rails console on linux always shows \r at end of every line
A standard rails console on a long running rails project has always worked fine on macOS. Recently switched to Ubuntu 18.04, and the rails console in bash and gnome-terminal will always append a \r at the end of every line like so:
Loading…
![](../../users/profiles/9837294.webp)
P. Q.
- 191
- 5
8
votes
4 answers
SED: copy lines from a file to specific line in another file
I can do this using the following example. The 1st command will output the lines 16...80 from file1 to patch, while the 2nd will insert the contents of patch after line 18 to file2:
sed -n 16,80p file1>patch
sed -i 18rpatch file2
However, I would…
![](../../users/profiles/1527118.webp)
mYself
- 161
- 1
- 1
- 10
8
votes
4 answers
curl command not executing via shell script in bash
I'm learning shell scripting! for the same I've tried downloading the facebook page using curl on ubuntu terminal.
t.sh content
vi@vi-Dell-7537(Desktop) $ cat t.sh
curlCmd="curl \"https://www.facebook.com/vivekkumar27june88\""
echo…
![](../../users/profiles/571156.webp)
Vivek Kumar
- 4,054
- 6
- 38
- 78
8
votes
3 answers
Control + space vim key binding in normal mode does not work
I want to map control+space to :bnext in order to forward switch in normal mode. So I added following to my .vimrc:
nnoremap :bn
For backward search following
nnoremap :bp
However, this solution does…
![](../../users/profiles/2500806.webp)
Khamidulla
- 2,797
- 5
- 28
- 56