Questions tagged [gnome-terminal]

The default GNOME desktop terminal emulator, allowing users to execute commands using a real UNIX shell while remaining on their graphical desktop.

511 questions
408
votes
12 answers

Clear a terminal screen for real

Using the clear command on the terminal only fools the user into thinking the screen has been cleared...you can still see output from the previous commands when you scroll using the mouse. This makes life difficult when you are drowning in a tsunami…
Autodidact
  • 25,926
  • 15
  • 63
  • 81
74
votes
9 answers

How to copy the GNU Screen copy buffer to the clipboard?

When using GNU Screen we can work with scrollback buffer also known as "copy mode" using the Ctrl+a+[ command. In there we can copy text to the copy buffer by pressing space selecting the text and pressing space again. Is there some way to copy…
Samuel G. P.
  • 2,786
  • 2
  • 25
  • 35
67
votes
2 answers

Linux Terminal: typing feedback gone, line breaks not displayed

From time to time I have to run a command-line tool (a Python script) whose output seems to break my terminal. After the execution is finished, the typing feedback is gone (I can't see what I'm typing), and also line breaks are not displayed. This…
E.Z.
  • 5,663
  • 7
  • 38
  • 60
32
votes
5 answers

Change gnome-terminal title to reflect the current directory?

I want to change the title of the gnome-terminal window to reflect the current directory. Is there a way to do that? A script may be? The "change terminal title" threads did not help much. Manually when we use the command: gnome-terminal…
okkhoy
  • 1,148
  • 2
  • 12
  • 25
22
votes
4 answers

Prevent Gnome Terminal From Exiting After Execution

How do you prevent gnome-terminal from exiting after its given command has exited? I'm calling gnome-terminal from a cronjob, in order to create a terminal accessible to the user. The terminal is initially given a specific program to run.…
Cerin
  • 50,711
  • 81
  • 269
  • 459
22
votes
5 answers

How to determine a terminal's background color?

I'd like to know if there is any way to determine a terminal's background color ? In my case, using gnome-terminal. It might matter, since it's entirety up to the terminal application to draw the background of its windows, which may even be…
Romuald Brunet
  • 4,605
  • 2
  • 32
  • 32
21
votes
1 answer

How to do multiple arguments with Python Popen?

I am trying to make a PyGtk Gui, that has a button. When the user presses this button, gnome-terminal prompts the user to write their password. Then it will clone this Git repository for gedit JQuery snippets. And then, it copies the js.xml file to…
Voidcode
  • 1,169
  • 1
  • 16
  • 20
17
votes
3 answers

history -a vs -w in BASH. How to replace/append and ignore/erase duplicates?

I'm writing my PROMPT_COMMAND="history -a;$PROMPT_COMMAND" but I still get some duplicates from different terminal sessions. It seems I still will get some duplicates but I get less using the command PROMPT_COMMAND="history -w;$PROMPT_COMMAND". I…
J Spen
  • 2,434
  • 4
  • 21
  • 36
17
votes
4 answers

How can I open Google Chrome from the terminal with the URL "localhost:3000"?

Whenever I try to open Google Chrome with the URL "localhost:3000" it messes up and simply opens a blank tab with no URL. After some testing I've figures out it is the ":" messing it up. This works: $ google-chrome www.gmail.com but this does not…
Zack
  • 784
  • 1
  • 8
  • 17
17
votes
7 answers

How to display tabs as 4 spaces in gnome-terminal

Actually gnome-terminal display tabs as 8 spaces, and this is very annoying when you cat files or view diffs, is there some way to change this permanently?
Htechno
  • 5,025
  • 3
  • 24
  • 37
17
votes
1 answer

How to fix Home and End in Vim?

I'm using vim in gnome-terminal (2.26.0): although I use 95% of the time "$" to navigate to the EOL and "0" for the opposite, every now and then I hit "Home" or "End". When I use Home, the text I have in the current line is moved on line down,…
Mariano
  • 660
  • 6
  • 12
14
votes
5 answers

Decrease the tabs bar height in gnome terminal

I recently installed Lubuntu 16.04 with gnome-terminal. I like gnome-terminal to consume less space on monitor. But latest version comes with two annoying buttons at the right top corner which makes no sense to me. Because, user who prefer terminals…
14
votes
4 answers

How to change the background color of gnome-terminal?

How to change the background color? I selected Profile > Background > solid color, but where can I select the color?
ziiweb
  • 28,757
  • 70
  • 168
  • 290
13
votes
2 answers

how to open a gnome terminal to execute a command with gnome-terminal, constantly?

I have a sh file which includes those lines: gnome-terminal\ --tab\ --title="ElasticSearch"\ --working-directory="/home/username/program/bin"\ -e "bash -c './somecommand'"\ when I run it, a gnome terminal will open and run a command…
lei liu
  • 2,395
  • 1
  • 12
  • 18
13
votes
3 answers

Error in linux console : Couldn't get a file descriptor referring to the console

When I start Terminal the first 2 messages that i see it is : Couldn't get a file descriptor referring to the console Couldn't get a file descriptor referring to the console and then prompt from console , and nothing another , also this problem…
gyok
  • 319
  • 1
  • 2
  • 11
1
2 3
34 35