Questions tagged [gnome-terminal]
GNOME Terminal is the standard terminal emulator for the GNOME desktop environment.
565
questions
6
votes
2
answers
470
views
Terminal autocomplete (tab) not completing when changing directory up one level (cd ../)
I'm a relative Linux noob: I've worked with the bash shell for quite a while via an Ubuntu install in WSL2 on a Windows 11 machine and recently took the plunge to switch over to Linux 100%. My ...
0
votes
0
answers
7
views
Terminator: How to close a specific layout?
About Terminator
If it is running and considering the following:
Right Click
Layouts...
default
Alpha
Beta
Where Alpha and Beta are customs layouts as follows:
Alpha 5 has windows
Beta 10 ...
25
votes
3
answers
5k
views
Is it still unsafe to cat an arbitrary file?
I read this post today and the answers claimed that certain escape sequences could be dangerous in some terminals, this post also has people saying that it can even be unsafe to simply view log files. ...
-4
votes
2
answers
172
views
How can I find out what the most lightweight terminal emulator is?
I am trying to reduce the disk space by my system, by removing packages I don't or rarely use, as well as the RAM needed for my programs and background tasks. I need the terminal mostly for displaying ...
2
votes
1
answer
68
views
Grep return No such File, after comand substituion
I'm trying to use grep in a Bash script and assign the result to a variable:
RESUlT=$(grep -R -I --exclude-dir=addons "^[^#]*print(" )
But it returns
bash: Map/Places/place.gd:: No such ...
1
vote
2
answers
177
views
Can't open gnome-terminal on fedora 40
When I open (gnome) terminal, nothing happens, no error no nothing. I've tried uninstalling it and rebooting followed by a reinstall and all the different combinations of that.
I'm able to install and ...
-1
votes
1
answer
56
views
How to modify terminal in ubuntu
Okay so I tried searching around but couldn't find the answer, probably because I might be dumb. I'm trying to use this terminal theme with vim: https://github.com/sonph/onehalf
To install the vim ...
0
votes
0
answers
54
views
.cshrc setting LANG=C prevents Fedora 39 gnome terminal from opening a window?
I just installed Fedora 39 and installed tcsh. After chsh I can reboot, and clicking the terminal launch icon, I get a terminal window immediately, running tcsh. Good.
Now I install my old .cshrc ...
0
votes
1
answer
40
views
Is it possible to add terminal command exit status to Gnome top bar?
Is there any Gnome extension (v45+) that displays the error/success status of a command running in a terminal application after it completes?
What I am looking for is a persistent icon/message/widget ...
2
votes
0
answers
77
views
gsetttings not working from inside bashrc
In my ~/.bashrc
Terminal() {
TerminalDarkProfile="b1dcc9dd-5262-4d8d-a863-c897e6d979b9"
TerminalLightProfile="3dd28c15-6ba4-4ba0-8289-ab023e6c88fc"
Gsetting="org....
2
votes
1
answer
409
views
Why is a filename surrounded by double quotes with single quotes around a character when displayed in terminal?
Why would a file show up surrounded by double quotes with a character surrounded by single quotes within it?
"insight_automation.log'.'2024-03-13"
I am using Ubuntu Server 22.04.3 LTS. A ...
0
votes
2
answers
120
views
How do I run gnome-terminal passing in arguments to a command and keeping the command window open and interactive
This works with xterm (see https://unix.stackexchange.com/a/739977/119816)
xterm -e "echo hello; bash"
but doesn't with gnome-terminal. What is the equivalent way of doing this with gnome-...
0
votes
0
answers
30
views
How to keep Gnome Terminal from moving to another monitor?
I have two 4k monitors side by side and multiple instances of Gnome Terminal with tabs in them positioned on the left and right halves of those monitors.
When I create a new tab inside one of the ...
0
votes
0
answers
86
views
"Run dialog" BOX is not recognizing custom commands
I completely switched to linux a week ago, I modified my windows to run commands on "Execute" box (WIN + R) and thats VERY handy, for such things like open folders in specific locations, ...
0
votes
0
answers
146
views
gnome-terminal: run a custom command without opening the terminal window
I am trying to use alacritty instead of the default gnome-terminal. When I specify it in "Profiles->Custom command" it does start, however the gnome-terminal also opens its own window in ...
1
vote
1
answer
169
views
Opening a terminal from Python regardless of the Distro
I'm developing a multiplatform Django project that opens a new terminal and automatically enters a Docker container, leveraging docker exec. Since this application must be OS agnostic, it is able to ...
0
votes
0
answers
60
views
How to retrieve last command in Terminal that was run from Bash script?
My bash script runs several commands in separate terminal tabs using gnome-terminal such as:
gnome-terminal --tab --title "Simulator" -- bash -c "bazel run //package/simulator -- '...
1
vote
1
answer
173
views
how to open multiple tabs, from the command line, in gnome-terminal v3.44.0 (ubuntu 22.04), while running one custom command on each tab?
how to open multiple tabs, from the command line, in gnome-terminal v3.44.0 (ubuntu 22.04), while running one custom command on each tab?
every other question/answer I found have answers about using -...
0
votes
0
answers
139
views
How to execute multi commands from one gnome-terminal?
I'm trying to execute multi commands in gnome-terminal?
I came across an example as the below,
sudo gnome-terminal --window --wait --tab --active --geometry=120X60 \
--title="$1" --...
0
votes
0
answers
59
views
Styling Gnome Terminal Window
We're running Rocky 8 Gnome Classic desktop. After a recent update the Gnome terminal window switched from a light gray to a very dark gray frame and title bar which is hard to distinguish from our ...
0
votes
1
answer
33
views
Can I make a GUI Terminal use basic screen/tmux keyboard shortcuts
I am (for an experiment) trying to use the tabs inside GNOME terminal, rather than using tmux.
My instrinct still goes to Ctrl+A-c for open new tab, etc.
Is there a way to configure GNOME terminal or ...
1
vote
2
answers
604
views
Gnome-terminal slow start for first instance on arch
I am using the Awesome window manager with Arch, kernel 6.5.5.
When I start gnome-terminal for the first time and every other time where I don't already have an instance of gnome-terminal running, it ...
0
votes
1
answer
298
views
Why does zsh open at root directory "/"?
I'm using gnome-terminal with zsh on NixOs.
A fresh terminal window opens in the root directory "/". This is eventhough $HOME is correctly set to /home/user.
Next tabs opened in the same ...
0
votes
0
answers
38
views
Linux Mint 20.2 unable to configure tmux with color terminal
I am having a problem configuring tmux to display a color prompt. By default I am using:
Gnome-terminal 3.36.2
tmux 3.0a
This is my ~/.tmux.conf
set -g default-terminal "screen-256color"
set ...
0
votes
0
answers
58
views
How can Linux "at" be used to open a gnome-terminal window?
Using "at" to execute a shell command that writes to a file works. Using it to open a gnome-terminal does not work.
OS: Ubuntu 20.04
A file containing a command to write the date to a file ...
0
votes
0
answers
356
views
Run a docker container in a new interactive terminal with sshpass!
I'm trying to run a Docker container in a new interactive terminal with sshpass. I've found that:
gnome-terminal --tab -- sh -c \
"sshpass -p "password" ssh name@ip -t 'bash -ic docker ...
1
vote
0
answers
219
views
Terminus (or any other bitmap font) blurry on HiDPI
I'm using an UHD screen and have everything set to be 2x scaled (Cinnamon DE, Arch Linux).
I would like to use a bitmap font that is not anti-aliased, i. e. pixelated, for my terminal emulator (gnome-...
1
vote
1
answer
2k
views
Fedora's Gnome Terminal's Monospace font changed?
I was running Fedora 34 until now. Fedora 38 came out and I moved to that. I'm using MATE with Gnome Terminal. The font is set to Monospace 13 in both systems. Yet there's a difference in the font. ...
2
votes
1
answer
808
views
Direct output from gnome-terminal to text file
Hi I am trying to direct output of my script to a file
My script is
gnome-terminal -- ./program +config
I have consulted some post and have tried
gnome-terminal -- "./program +config 2>&...
1
vote
2
answers
302
views
Linux: Is it possible to have TTY messsages in terminal emulator?
I use LinuxMint21, and I go in TTY only when I have an issue with my X session.
Today, I went to a TTY, and I saw messages about sysrqd, partially disabled (was not expected), and I have some upgrade ...
1
vote
1
answer
629
views
Open gnome terminal and execute user-defined zsh command
I want a command that opens a terminal and executes a function that is defined in my aliases.zsh. The function is defined like so:
my-function() {
wget some stuff
do some other stuff
}
I tried ...
2
votes
1
answer
246
views
How to detach a session in Gnome terminal with keyboard?
With the mouse, terminal tabs can be detached by highlighting a tab, right-clicking and selecting the said option. I'm more or less a keyboard-only user and thus this feature is inaccessible to me at ...
1
vote
1
answer
679
views
Change Default Directory in Gnome Bash Terminal
I use the bash terminal on Ubuntu Ubuntu 20.04.5 LTS, with the GNOME terminal emulator. When using the terminal, this is the current (default) behavior:
When I open a new terminal session, it starts ...
0
votes
0
answers
290
views
Startup script for gnome-terminal doesn't change tab title nor executes commands
I'd like to automate the setup of my dev environment. I had to fallback from guake to gnome-terminal since guake (dropdown behavior was incredible) has issues with Wayland. I'm on Manjaro with gnome ...
3
votes
1
answer
964
views
How do I scroll back in a ubuntu live server in UTM on Mac?
I'm using Ubuntu live server through UTM on my Mac. As I listed the processes using ps command I was not able to scroll up. I have not installed the GUI since I wanted to get in touch with the ...
0
votes
2
answers
709
views
Terminal Profiles not being loaded
Eve though in dconf the profiles i installed are shown
> dconf list /org/gnome/terminal/legacy/profiles:/
:3fab5042-3b59-44c2-b86e-df287109b3d7/
:93be6823-4719-4dea-be06-ebf0ae9091d8/
:Aci/
:Wild-...
0
votes
2
answers
983
views
gnome-terminal how to send commands
For an application, I need to open a new terminal window and later execute some commands in that.
I tried the command
gnome-terminal
And it works properly, it open a new terminal, but when i want to ...
0
votes
1
answer
458
views
Time it takes to open a new terminal window
I just checked my timings: it takes about 0.41-0.45 seconds to open a new gnome-terminal window and about 0.55-0.65 seconds to open kitty. And it does bother me a bit that it takes so much time to ...
0
votes
0
answers
66
views
How can I set the starting folder for new shells using gnome-terminal when launching from xfe?
I like to use xfe because it's quick and I make use of the 3 panes. I'm using ubuntu and I like using gnome-terminal but I can't get xfe to launch gnome-terminal with the bash shell in the same folder ...
0
votes
1
answer
117
views
Why doesn't strace -f work on GNOME Terminal?
I tried running the command
strace -f gnome-terminal --wait |& grep write
and then in the terminal window that opened, I typed ls and pressed enter.
I expected to see write syscalls corresponding ...
3
votes
1
answer
395
views
How can I configure GNOME Terminal to launch new tabs with the same SSH host and directory as the current tab?
I source vte.sh in my .bashrc. One thing this does is it causes Bash to echo "\033]7;file://$HOSTNAME$PWD\007" as part of PROMPT_COMMAND. This uses the escape sequence "OSC 7" to ...
2
votes
1
answer
199
views
Can I get the output of a command into the current command line in bash so I can edit it?
I know I can use $() or assign the output of a command to a variable and then use that. But can I paste the output of a command onto the current command-line so that I can edit it?
If I have a mouse, ...
0
votes
0
answers
129
views
Automatically enter command on next line in GNOME Terminal
Often when I'm deep in a folder structure a have to enter the command far to the right.
I was wondering if there was a setting to always enter the command on the next line.
Similar to this but without ...
1
vote
2
answers
382
views
Rename terminal title && run application using alias
Trying to create a command that rename terminal title and run a application, I'm adding the commands inside .bash_aliases file. The rename command I'm using is: PS1='\[\e]0;test\a\]${debian_chroot:+($...
4
votes
3
answers
6k
views
Change border color around window (edit GTK theme)
I am using a fairly recent version of Cinnamon (5.4.12), with desktop theme Adwaita-dark (and Adwaita sometimes).
When I start a gnome-terminal window, it has a very thin (1px?) white border all ...
0
votes
1
answer
215
views
How to create a keyboard shortcut for playing youtube videos with mpv?
I'm using Pop OS. I've aliased the command mpv $(xclip -o) & exit to pp so I can play youtube links copied to my clipboard with mpv player in lesser keystrokes in the terminal.
I realised I may ...
0
votes
1
answer
743
views
Disable shortcut 'ctrl+L' which clears the terminal
In Gnome Terminal (Version 3.44.1 for GNOME 42), the shortcut ctrl+L clears the terminal (similar to the clear command). There does not appear to be an entry for this in the shortcut preferences. How ...
2
votes
1
answer
545
views
Customize bash prompt without plugins
I am customizing my bash prompt in order to make it look a little bit fancier. Here is what I did (in the ~/.bashrc file, Ubuntu 20.04).
# Customizing prompt
t1_bg="\[$(tput setab 31)\]"
...
0
votes
1
answer
1k
views
how to open multiple new tabs in qterminal with a bash script in debian 11 lxqt
I am trying to create a bash script that will set up my all development stuff in an instant.
What I want the script to do: open 5 different tabs in one window.
clear terminal and start firefox-esr.
...
2
votes
0
answers
609
views
Set different color schemes for different applications in GNOME Terminal?
In the GNOME Terminal, the default scheme for text and background colors is the system theme, which on Red Hat seems to be just a slightly darker variant of the built-in scheme Tango dark. This works ...