Questions tagged [gnome-terminal]

GNOME Terminal is the standard terminal emulator for the GNOME desktop environment.

Filter by
Sorted by
Tagged with
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 ...
1 vote
0 answers
34 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 ...
1 vote
0 answers
35 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 ...
3 votes
4 answers
5k views

Command for launch a new terminal, or a new tab if exists

I have a keyboard shortcut that is mapped to running the command gnome-terminal (I'm on Fedora 27). I wish that this key, would open a new terminal if no terminal is open, but open a new tab on the ...
3 votes
1 answer
1k views

How to find gnome-terminal currently used profile with cmd line?

I'm using Ubuntu 16.04 and I want to be able to tell which profile is used by a given terminal emulator. Just the name would be enough. It's trivial to find with GUI : just right click in the ...
1 vote
1 answer
23 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
23 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 ...
5 votes
1 answer
1k views

Compton dimming inactive doesn't work with terminal

Running i3 on ubuntu, with compton (all recent installations). I want to use compton to dim inactive windows. It is currently mostly working using inactive-dim = 0.2 just fine. The problem is that ...
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 ...
1 vote
1 answer
30 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
2 answers
2k views

Execute script in new gnome-terminal loading bashrc

I have a script in a gnome-terminal shell and I would like to open a new terminal, load the bashrc configuration, execute a new script and avoid the closure of the new terminal window. I have tried ...
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 ...
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 ...
4 votes
1 answer
1k views

set tab color in a tabbed terminal emulator

I would like to set in my terminal emulator (i.e. gnome-terminal) the color of the tabs like in the osx's terminal emulator. Is there this feature in any of the linux terminal emulator plethora? EDIT:...
0 votes
0 answers
16 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
0 answers
12 views

Configure xbindkeys to SIGINT?

The end goal is to be able to press ALT+c in gnome-terminal and interrupt a running process. I was hoping I could simply reconfigure stty but super key notation for stty implies this is not possible. ...
0 votes
2 answers
338 views

Replace gnome-terminal with konsole in Linux Mint

I installed konsole and uninstalled gnome-terminal by doing: sudo apt install -y konsole sudo apt-get purge --auto-remove gnome-terminal And then tried: sudo update-alternatives --config x-terminal-...
0 votes
1 answer
77 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.
1 vote
6 answers
49k views

What is the command to start chromium browser from the terminal?

How can I run applications from terminal? For some applications I can find the path/name using which or whatis: which python or whatis mathematica or whatis math, but I can't run them by typing ...
2 votes
1 answer
76 views

In ZSH @ symbol appears during autocompletion of cd command

I use ZSH and after I type cd command and press Tab I get '@' symbol after some particular entries Why is it so?
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 ...
0 votes
0 answers
65 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 ~/, ...
2 votes
1 answer
2k views

gnome-terminal NOT working after Kali Linux system update

After doing a full Kali linux update using the following command line : apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get autoclean -y && apt-...
2 votes
0 answers
38 views

Viewing large (4M) files produced by the script command

vim, less, more, top all hate files produced by the script command. script doesn't produce a text file. It produces a binary file full of terminal control info based on everything that happened in the ...
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.
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 ...
1 vote
1 answer
34 views

Why does Ctrl+"special character" on my Hungarian keyboard translate to corresponding English layout keys?

I have a Hungarian keyboard and in the terminal pressing Ctrl and any of öüóéá will produce the character that would be there on the English layout, so 0-=;' respectively in both kitty and gnome-...
1 vote
1 answer
24 views

Obtain prompt right away after "reset and clear" in GNOME Terminal

I do run reset quite frequently while using GNOME Terminal. I've been trying to find a way to do (exactly) that using a shortcut. Reset and Clear (Ctrl + K) "resets" the terminal in a ...
25 votes
7 answers
35k views

Terminal - copy from CLI without using mouse

While firing commands in CLI, I want to copy the command I just fired or anything I wrote in terminal and paste it somewhere else without using mouse. Like in following picture, I want to copy the ...
0 votes
1 answer
351 views

Commands don't turn blue/green in terminal

Recently i switched from kali live to a external drive and installed kali with the installer. I updated everything but since the switch my terminal commands do not turn blue anymore. I have searched ...
0 votes
0 answers
17 views

Unexpended script termination on `(` if started via "Run in terminal". What are differences of running script from GUI that way from "ordinary" ways?

Due to syntax error (omitting $ before (( for those curious) I discovered that the line of code containing ( results in abrupt script termination when script is run via "Run in terminal" in ...
0 votes
1 answer
108 views

How to change the color of this selected text of the gnome terminal?

I'm trying to change the color of "[shark@Archshark ~]$" to blue in the terminal but It seems that I can't change it, please help.
6 votes
3 answers
9k views

automatically copy the selected content to clipboard

In one of my friend's system I have seen a very interesting feature. Whenever he selects a text/command from the terminal, the selected portion of text gets copied to clipboard automatically (without ...
1 vote
1 answer
1k views

new tab in bash on Arch Linux starts at home directory

On my Arch box, when I hit Ctrl+Alt+T bash opens a new tab in the Terminal's window. The pwd of this new tab is the current user's home directory. On my Ubuntu box at work however, the pwd of the new ...
5 votes
5 answers
4k views

How to fix shell prompt ( ps1 ) odd escape sequences after remote login from iTerm2

I am observing the below strange prompt after login to my remote machine from ubuntu 14.04. This only happens while I'm using the ubuntu gui terminal and not via putty. Any suggestion to fix it?
0 votes
1 answer
43 views

Gnome Left Menu Gone

Months ago I changed kernels temporarily from 3.10.0-1160.11.1.el7.x86_64 to 5.8.0-1.el7.elrepo.x86_64 then I reverted back to 3.10.0-1160.11.1.el7.x86_64 within a few hours. Once I loaded up 3.10.0-...
0 votes
0 answers
63 views

With bash, create a hyperlink that opens with phpstorm

I have: a bash script running in terminal that gives me a list of files from my local computer phpstorm properly configured, so that I can open a file in phpstorm by typing "phpstorm /path/to/...
5 votes
3 answers
3k views

xclip works differently in interactive and non-interactive shells

While investigating a problem described in a question at stackoverflow I simplified it down to a test case demonstrating that in non-interactive mode bash seems to clear the X system clipboard before ...
0 votes
0 answers
45 views

Creating a PTY and launching a terminal window attached to it?

Similar to this question, but not exactly, I am looking to have the ability for my process to launch a terminal emulator (say, gnome-terminal), and have said emulator attach to the PTY created by my ...
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 ...
21 votes
3 answers
13k views

Pass F10 to the application in Gnome-terminal [duplicate]

I'm running old Debian machine: Distributor ID: Debian Description: Debian GNU/Linux 5.0.2 (lenny) Release: 5.0.2 Codename: lenny I open terminal and run Midnight Commander in it. Now I need ...
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 ...
0 votes
1 answer
144 views

How to dynamically switch terminal colors for all open terminals?

I use gnome-terminal on Ubuntu / Fedora. For color schemes I use base16-shell, along with its corresponding settings for my editor vi. I have configured my .bashrc to set the base16 theme on start up. ...
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
0 answers
33 views

Why does gnome-terminal lag when using brackets or parentheses? [duplicate]

Whenever there are many brackets drawn in the gnome-terminal window, things start to lag pretty badly. This effect is especially apparent, when the brackets don't have anything in between them, which ...
-1 votes
1 answer
139 views

how to display current X-Y position of window in gnome-terminal

For input into gnome-terminal --geometry. I would like to customize the gnome-terminal position upon opening it.
0 votes
0 answers
166 views

Load multiple terminals and activate python virtual environments

I'm working on something that requires me to run a few terminals, each with their own python virtual environment. This takes some time to open manually, so I would like to automate this setup by ...
0 votes
0 answers
25 views

Horizontal Display on Gnome

I'm stuck trying to find a way to get the login screen to display horizintally upon bootup. I'd prefer the login page on the monitor on the left but whatever. Any ideas here? I'm using Gnome
0 votes
0 answers
281 views

gnome shell[31567]: clutter_actor_set_size: assertion 'CLUTTER_IS_ACTOR (self)' failed [duplicate]

Trying to start firewalld but getting this gnome error. I restarted gnome and gnome is active. i am using CentOS7. I searched Google but wasn't much on this error. gnome shell[31567]: ...
4 votes
1 answer
3k views

Vim powerline with broken encoding

I trying to learn using vim, I am enjoining a lot, but I copied the vimrc from github and I would like to understand what is causing the break of powerline encoding. . In the vimrc file I have: set ...

1
2 3 4 5
11