GNOME Terminal (often titled only "Terminal") is the default terminal emulator included in Ubuntu.

learn more… | top users | synonyms

74
votes
14answers
60k views

How do I deactivate F1 and F10 keybindings in gnome-terminal?

How can I turn off the F1 (help) and F10 (notifications menu) key bindings? First one I need for screen utility and second to exit mc in console. There are no such key bindings in the Keyboard ...
54
votes
10answers
45k views

How to change Gnome-Terminal title?

I have several instances of terminals running in my working environment, what I would like is to set a specific title for each one, in order to have a clear idea what purpose the specific terminal ...
43
votes
4answers
7k views

How to make selected tab in terminal more prominent

Something about the color scheme changed in 11.04, and now it's very difficult for me to tell which tab is the selected one. On my screen, the colors look more similar the further down I slouch in ...
42
votes
3answers
29k views

Is there a hotkey to switch between tabs in the default terminal app?

Is there a hotkey to switch between tabs in Ubuntu's native terminal app? I'm using the netbook version of ubuntu.
33
votes
7answers
11k views

Repeat a command every x interval of time in terminal?

How can I repeat a command every interval of time , so that it will allow me to run commands for checking or monitoring directories ? There is no need for a script, i need just a simple command ...
33
votes
2answers
29k views

keyboard shortcut for pasting on the Gnome Terminal

We use Ctrl+V to paste stuff from clip board. But this is not working on terminal window. What is the keyboard shortcut to paste on the gnome terminal?
32
votes
5answers
4k views

Shortcut to clear command line terminal [duplicate]

Is there a shortcut to clear the command line when typing in it instead of keeping backspace pressed for a few long seconds? I ask because I regularly use the Tab key to automatically fill in file ...
31
votes
3answers
8k views

How do I set fish as the default shell?

Is there a way to set fish as the default shell in ubuntu netbook remix? I put in my .bashrc to run fish, which works fine, but ubuntu recognizes it as fish running inside bash, which means that when ...
30
votes
3answers
10k views

How to disable the alt-hotkey behavior on gnome terminal?

This is not just gnome terminal, but pretty much all gnome windows: When you hold the "alt" key, you can press the first letter of one of the menu items. This will let you scroll that menu without ...
28
votes
10answers
16k views

Making Ctrl+C copy text in gnome-terminal?

Is it possible for me to make Ctrl+C perform a copy command if there is highlighted text in the terminal? Otherwise, it should retain its normal behavior. (If there is a terminal that can do this ...
28
votes
12answers
33k views

Can not paste into Gnome Terminal from Netbeans

When I copy something from another window then my terminal and want to paste it into my terminal (on the command line) the paste option in Edit is grayed out. Ctrl+V does not work in GNOME Terminal ...
27
votes
2answers
16k views

How to show gnome-terminal menubar?

I accidentally unchecked View -> Show Menubar which hides the menubar for gnome-terminal, and there doesn't appear to be a keyboard shortcut to show the menubar again. How can I make ...
25
votes
4answers
8k views

How to get out of “sudo -s” command in Terminal?

I entered sudo -s command in terminal, and the it changed from shameek@shameek-K55VD:~$ to root@shameek-K55VD:~#. Now when I click on the close terminal window icon it says, "There is still ...
25
votes
2answers
886 views

Write command in one terminal, see result on other one

I want to run a command foo on one terminal and pass the result to another terminal. Is it possible to do this ?
25
votes
7answers
5k views

Some fast way to save and restore tabs of Terminal?

I have a Terminal window with a dozen named tabs open. I would like to save the current configuration and have it restored with names and directories. Is there a way to do this?
24
votes
6answers
10k views

Change default width of gnome-terminal and terminator windows

Only a short question but is it possible to set the default width (and height) of terminal sessions in gnome-terminal and terminator? I find I always resize the window once it pops up so and given ...
23
votes
9answers
8k views

Why does pasting sometimes not work in gnome-terminal?

Ctrl + Shift + C and Ctrl + Shift + V are supposed to replace the normal Ctrl + C and Ctrl + V in gnome-terminal. Sometimes they work, but usually they have no effect. What are some potential ...
21
votes
5answers
5k views

Search function in the terminal?

I have written a program that outputs a lot of text to the terminal. I am looking for certain words in the text to see if I have done it right, but simply reading the text is impossible. Are there ...
21
votes
5answers
1k views

How to view multiple files in single terminal?

Sometimes I may need to access multiple log files for troubleshooting , but I don't want to open them in different terminals. What I want is to open them in same terminal. Is there any way I can ...
21
votes
3answers
5k views

What is the maximum length of command line arguments in gnome-terminal?

What is the maximum length of command line arguments in gnome-terminal? ... and is there a system environment variable which reports this value?
20
votes
9answers
13k views

How to set the terminal to open maximized

I want to tell compiz, metacity, the gnome-terminal or whoever is in charge to open the terminal window maximized by default. How can I do that?
20
votes
3answers
16k views

How to reinstall Terminal?

While fixing package dependencies, the terminal application went missing, and now I cannot locate the application. Is there a way to reinstall the terminal application?
20
votes
3answers
12k views

Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal

The nautilus-open-terminal package adds a menu/right-click option to open a terminal in the current directory. I want to change this from opening gnome-terminal to opening terminator. There is some ...
20
votes
3answers
15k views

Bash history handling with multiple terminals

I use mainly Terminator, and it's usually opened with 3 split terminal windows. I also use Gnome terminal for various reasons. I'm wondering how is bash history handled in this case as I sometimes ...
20
votes
5answers
6k views

Set Ctrl+Alt+T to open a maximized terminal

I use the Ctrl+Alt+T shortcut to open a terminal, but I cannot see how I can get it maximized. When I start it manually, I can simply do a gnome-terminal --maximize, but that does not apply for the ...
20
votes
2answers
2k views

What is the command to minimize the gnome terminal?

How can I minimize the Terminal window using a command? For example: I use the clear command to clear the terminal output, which command can I have to use to minimize the terminal window?
18
votes
10answers
6k views

How to efficiently switch between several terminal windows using the keyboard?

Alt+Tab lets me only switch between windows belonging to different applications. I often use about four terminal bound applications at the same time (e.g. IPython, VIM, fish for system and fish for ...
18
votes
4answers
15k views

How to reset the terminal properties and preferences?

I fooled around with the colors and stuff, in the terminal, and now want to go back to the maroon and white default config of the the terminal. What files do I have to delete?
18
votes
5answers
41k views

How can you quickly get the complete path to a file for use in terminal?

How can you quickly get the complete path to a file for use in terminal?
17
votes
3answers
3k views

Why doesn't “cd” work in a shell script?

What is wrong with this easy script? I just want to write an script which change my directory: A. I put below commands on the file witch its name is pathABC on the /home/alex directory, #!/bin/sh cd ...
17
votes
7answers
3k views

How to show a running clock in terminal before the command prompt

I prefer to use terminal and spend most of the time using it. I am searching a way to see time in terminal while I use it parallel. The time would change automatically when it passes. It would be ...
16
votes
8answers
6k views

Dynamic line wrapping in the GNOME Terminal

How can you get the lines in the GNOME Terminal to wrap dynamically when you resize the window?
16
votes
5answers
20k views

Backspace, Tab, Del and arrow keys not working in terminal (using ssh)

When I ssh into another Ubuntu machine with my account (with sudo permissions), my backspace key generates some awkward symbols on pressing. Also Tab, Del and Arrow keys don't work. On the other ...
16
votes
3answers
3k views

Gnome Terminal tabs ugly and oversized

Both gnome terminal and terminator (which I am using on my laptop these days) can be customised to look very pretty. By using full screen and keeping desktop clutter down to a minimum it's possible to ...
16
votes
5answers
1k views

increase padding in gnome terminal

I'd like to increase the padding in the gnome terminal, because the default has no padding and hurts my eyes. (Padding as in: I want space between the window border and where the text input/output is ...
15
votes
2answers
396 views

How to use commands with parameters that start with a dash “-”?

This may be a simple question, but how do I use files starting with "-" with command line programs? For example, I am trying to use pdfgrep on a file named -2013-01-01.pdf but it complains that ...
15
votes
5answers
14k views

How to start a terminal with certain text already input on the command-line?

Rather than rephrasing my question, let me describe to you the desired user-case: I create a short shell-script to run command "gnome-terminal --someoptionflagname 'my text to be posted'", and ...
15
votes
2answers
8k views

How do I disable the blinking cursor in gnome-terminal?

I could have sworn that there was once a setting for this in the gnome-terminal "Profile". And then in some version of Ubuntu, that setting disappeared, and I had to use System ➜ Preferences ➜ ...
15
votes
5answers
9k views

su command + authentication failure

I am having problems with the su command. I know my password and I am typing it correctly but su indicates authentication failure. So I checked on the internet and then went into recovery mode and ...
14
votes
2answers
832 views

How to make username in terminal smaller?

When you open a terminal it displays the username and the machine name. As an example mine shows: romeo@romeo-Satellite-C660D:~$. It's really annoying because it's kinda big. Can i make this smaller. ...
14
votes
5answers
12k views

A terminal which provides select-to-copy and right-click-to-paste

In putty/cygwin my config is: select in console -> copies to clipboard right click -> pastes from clipboard. Was after a terminal in Linux which might provide me with both of these features? I ...
13
votes
3answers
2k views

How to open an application in terminal and detach it? [duplicate]

I opened Cairo-dock in my terminal with: open cairo-dock and that worked but if I close the terminal it goes with it. How can I keep it open regardless of the terminal?
13
votes
2answers
2k views

Batch rename files to lowercase

Is there a way to rename all files in a directory to lowercase|uppercase? I am looking for a oneliner command. I loved TotalCommander's alt+f7, now I need that functionality in the Terminal
13
votes
2answers
522 views

How to make “Search on Google” available in selected text's context menu in gnome-terminal?

I want to have an option like Search on Google available in selected text's context menu in gnome-terminal. Something similar to the option which is available in selected text's context menu in google ...
13
votes
1answer
535 views

Opening a file from terminal only by typing its name

I know that xdg-open will open from terminal a file in the user's preferred application like this: xdg-open filename But I wonder how can I open a file from the current directory in its default ...
13
votes
3answers
9k views

Gnome-terminal and solarized theme Coloring

I tried to apply solarized color theme to my GNOME terminal, like explained Here. But its all greyed out and not that colorful as expected. See here Any Idea what I can do?
13
votes
1answer
8k views

gnome-terminal keeps the menubar even when the profile is configured to hide it

I am running gnome classic on 11.10 and even though I have configured the gnome-terminal profile to hide the menu bar it shows it. Even when I open the gnome-terminal --hide-menubar it shows the menu ...
13
votes
3answers
3k views

How do I change the line spacing in Terminal?

Is it possible to change the line spacing in Terminal, or is there some other app that allows it? I'm moving from the Mac, and its terminal app has this feature which allows line spacing to be ...
12
votes
3answers
1k views

move forward and backward by one word

In a GNOME terminal, the standard ways of moving forward or backward by one word do not work. In spite of what the documentation says: alt+b : Goes back one word at a time. alt+f : Moves ...
12
votes
8answers
12k views

How to show only hidden files in Terminal?

I have a directory that contains thousands of files, some of them are hidden. The command ls -a list all files, including hidden ones, but I need just to list hidden files. What command should I ...