Questions tagged [gnome-terminal]
GNOME Terminal is the standard terminal emulator for the GNOME desktop environment.
558
questions
0
votes
1
answer
37
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
61
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
132
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
29
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
18
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
64
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
53
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
74
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
56
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
86
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
89
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
56
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
29
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
307
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
190
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
34
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
56
views
How to select URLs in gnome-terminal without using the mouse?
gnome-terminal supports copying and opening URLs (in the default system browser). Unfortunately the feature seems to only work with a mouse, as a keyboard-only user I keep copying the strings to the ...
0
votes
0
answers
54
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
298
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
185
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
1k
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
577
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
272
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
467
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
181
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
536
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
244
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
726
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
573
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
758
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
313
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
61
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
105
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
356
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
183
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
100
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
313
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
5k
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
179
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
560
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
467
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
549
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 ...
2
votes
0
answers
149
views
How to send Alt+1 to CLI when multiple tabs are open in gnome-terminal?
Both ranger and the gnome-terminal use Alt + 1, Alt + 2 etc to switch to the corresponding tab. So if a gnome-terminal window only has one tab and ranger is open, then pressing Alt + 2 will go the ...
1
vote
1
answer
381
views
How can I use the terminal and track what is being changed?
I was wondering if it's possible to use the CLI to track the changes I am making in an app launched through the CLI. For example:
Launch CLI.
Enter gnome-control-center.
Make random changes in the ...
0
votes
1
answer
129
views
curl pipe script forks a new Terminal window
I have a script which unexplainably forks a new Terminal instance on some Linux distributions... I'd rather it doesn't do this. Oddly, when I run the script directly (./install.sh) the additional ...
1
vote
1
answer
356
views
Starting background process from command line (different behavior)
In Ubuntu (21.10), I start a file manager from the command line window (gnome terminal 3.38.1):
nemo .
Sometimes, the command line returns and I can enter more commands.
Sometimes, the command line ...
0
votes
0
answers
74
views
Gnome Terminal, take the whole ghost suggestion?
Version 3.42.2 for GNOME 41. If I type a few letters, it shows a ghost suggestion. How can I take this suggestion and type the whole thing? I have tried some modifier + tab, but none of them worked.
...
0
votes
1
answer
603
views
Changing the preferences of Gnome-terminal globally
Is there any way to change Gnome-terminal settings, such as transparency, globally, so that I won't have to set it again and again after restarting i3-wm?
I'm using Regolith Linux.
0
votes
1
answer
829
views
How to open current path when creating a new tab in gnome terminal when using csh shell?
I'm on CentOS 7.9 (Gnome Terminal 3.28.2) with csh (yeah I know but work requirement) as my default shell. My problem is this: whenever I open a new tab in gnome terminal, the new tab redirects to ~/, ...