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
5
votes
0 answers
gnome-terminal works only with sudo
I know that the following issue will probably demand from you to invest more time than other issues in order to fix it, but if it's interesting you, please do it. It might be useful for you too :)
I tried to configure a nice 'application' called…
Nick
- 487
- 4
- 8
- 20
5
votes
2 answers
How to disable vim mouse wheel?
I want to know how to disable mouse wheel, however I found this and this question and I have tried put them to my .vimrc:
set mouse=""
map
map
map
map …
Casimir Crystal
- 18,651
- 14
- 55
- 76
5
votes
1 answer
Strange locale issue on arch
Recently my gnome-terminal stopped working. After starting it using xterm I saw the following:
(process:3975): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Error constructing proxy for…
Tomasz Rakowski
- 942
- 1
- 11
- 25
5
votes
2 answers
How to open new tabs in gnome-terminal from script
I know I can right-click > open tab to open a new tab in gnome-terminal, but how can I do the same from a script? If i use 'gnome-terminal --tab-with-profile=...' it opens a new window.
I need this to be able to open multiple ssh sessions, in tabs,…
Dokbua
- 172
- 10
5
votes
2 answers
gnome-terminal font resize (zoom in, zoom out), but adjust terminal height and width contrariwise for getting a "lock in" of window dimensions
I like the zoom keys (control-+ and control--) a lot in Ubuntu 13.04's gnome-terminal, but the when zooming in, the terminal screen gets wider, too (and the opposite when zooming out)
Is there a way to keep the window's pixel dimensions…
Hartmut Pfarr
- 3,994
- 4
- 32
- 38
5
votes
3 answers
gnome-terminal new tab with alias as command to execute
I've created an alias in .bashrc file as follows
alias myproject = 'cd ~/Desktop/myproject'
After saving the file when I restart my terminal, typing in myproject takes me to the project directory but when I try to use the alias as a command…
Mudassir Ali
- 7,053
- 3
- 28
- 58
5
votes
1 answer
How to open new terminal through C program in linux
I have written client-sever code where I have many connections, let say each node represents different process on same machine. And to do that I have obviously use fork().
But now problem is that all results get displayed on same terminal.
I want to…
suraj_fale
- 908
- 2
- 20
- 50
5
votes
0 answers
How to modify zoom level of gnome-terminal programatically?
One can modify the zoom level in the gnome-terminal by pressing C-+/-. I would like to modify the zoom level automatically in response to window size change (number of columns). Alternatively, are there terminals which support that? I am using a…
luntain
- 4,410
- 6
- 33
- 47
4
votes
2 answers
logging to file gnome-terminal output
I have a bash script where I use
gnome-terminal -e /folder/script1 &
gnome-terminal -e /folder/script2 &
to open two new terminals and carry out two parallel jobs.
I want to know if it is possible to log the output of these scripts by using…
Kynikos
- 69
- 1
- 4
4
votes
2 answers
kill process do not kill the subprocess and do not close a terminal window
I am working on UBUNTU and I have file main.py with a code inside:
#!/usr/bin/env python3
# coding=utf-8
import os
import time
from subprocess import Popen, PIPE, call, signal
base_path = os.path.abspath('')
path_to_file = base_path +…
luki
- 83
- 5
4
votes
5 answers
Opening multiple tabs in gnome terminal with complex commands from a cycle
I have a command that needs to be called like this:
command "complex argument"
If I want to run gnome-terminal passing it this argument, it goes like this:
gnome-terminal -e 'command "complex argument"'
I want to open multiple tabs in the…
petersohn
- 10,129
- 11
- 54
- 87
4
votes
0 answers
What is the GNOME_TERMINAL_SCREEN environment variable?
I've recently installed Ubuntu 20.4 LTS on one of my computers. This release of Ubuntu uses the gnome desktop manager (3.36.3) with gnome-terminal (3.36.2) by default.
In each terminal window that I open, the GNOME_TERMINAL_SCREEN environment…
Die in Sente
- 8,904
- 2
- 33
- 38
4
votes
4 answers
Import conda error traceback upon opening terminal
The below lines of code show up every time I open my terminal.
Traceback (most recent call last):
File "", line 3, in
ImportError: No module named conda
I am worried I have possibly corrupted my (base) conda environment but I…
PoorProgrammer
- 329
- 2
- 10
4
votes
1 answer
How to prevent inputs being flushed into output?
I'm on Ubuntu. When I run ghci on Terminal and do this:
Prelude Control.Monad System.IO> forever $ getChar >>= print
The result is something like this:
a'a'
b'b'
C'C'
%'%'
\'\\'
1'1'
''\''
"'"'
^X'\CAN'
^?'\DEL'
^CInterrupted.
That is, the…
Dannyu NDos
- 1,889
- 11
- 28
4
votes
2 answers
ANSI escape code weird behavior at end of line
Steps to reproduce
Consider the following shell command:
echo -e "\e[41mTest\nTest2\e[0mTest3"
It prints Test and in the next line Test2 with a red background (using an ANSI escape code). Test2 is followed directly by Test3 which is…
Scindix
- 1,022
- 12
- 27