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

learn more… | top users | synonyms

67
votes
14answers
51k 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 ...
40
votes
10answers
32k 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 ...
32
votes
4answers
5k 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 ...
29
votes
2answers
21k 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.
26
votes
9answers
11k 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 ...
26
votes
3answers
7k 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 ...
24
votes
4answers
4k 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 ...
23
votes
3answers
5k 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 ...
23
votes
6answers
8k 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 ...
22
votes
9answers
7k 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 ...
20
votes
5answers
3k 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 ...
20
votes
3answers
9k 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
2answers
1k 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?
19
votes
5answers
797 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 ...
19
votes
5answers
5k 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 ...
18
votes
5answers
2k 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?
18
votes
3answers
4k 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?
18
votes
3answers
3k views

Switch terminal output language from native language to english

How can I switch the terminal output language from my native language to English, so I can post my Ask Ubuntu question with English terminal output (error messages)?
17
votes
3answers
10k 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 ...
17
votes
2answers
11k 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 ...
16
votes
4answers
11k 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?
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
897 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
9answers
10k 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?
15
votes
6answers
86k views

How to remove all files from a directory?

The closest I've gotten is # rm /path/to/directory/*.* but that doesn't work for files that don't have an extension...
15
votes
4answers
5k 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
358 views

How to use commands on files which have “-” at the start of their names?

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 ...
14
votes
2answers
723 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
31k 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?
13
votes
9answers
2k 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 ...
13
votes
2answers
831 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
5answers
12k 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 ...
13
votes
2answers
384 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
6answers
10k 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 ...
12
votes
8answers
4k 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?
12
votes
3answers
4k views

How do I change the transparency level of gnome-terminal?

I want to increase or decrease the transparency of gnome-terminal in Unity.
12
votes
3answers
9k 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 ...
12
votes
6answers
693 views

How can I grep through tab completion possibilities?

When I press tab in a console I get this output Display all 2957 possibilities? (y or n) Is there any way to use grep on these 2957 possibilities? I would like to search for all commands with ...
12
votes
2answers
314 views

How do I reset the colors of my terminal?

Help! Somehow my terminal looks like this: It's nearly impossible to read the text. How can I fix it without exiting the terminal?
12
votes
3answers
2k 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 ...
11
votes
3answers
716 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 ...
11
votes
5answers
2k views

Remove ugly fat bazel from gnome-terminal with multiple-tabs

When I start gnome-terminal it looks quite pleasant but when I open another tab it's borders turns ugly: How can I preserve thin bezel while using multiple tabs?
11
votes
1answer
485 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 ...
11
votes
1answer
11k views

Configure gnome-terminal to start bash as a login shell, doesn't read .bashrc

I'm trying to integrate RVM with gnome-terminal. Per default, gnome-terminal does not start bash as a login shell. I enabled run command as a login shell as suggested in this answer about the same ...
11
votes
2answers
6k 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 ➜ ...
11
votes
2answers
756 views

Can I create a separate bash history file for each terminal profile?

I use a bash script to start gnome-terminal with multiple tabs, each tab using a different profile, working directory, and in some cases executing a command within the tab. In this situation, I'd ...
11
votes
2answers
2k views

gnome-terminal tabs are very dark, difficult to tell which tab is in use

Here are two applications that use tabs: gedit and gnome-terminal gedit: It is relatively easy to see which document is being edited terminal: It is difficult to tell whether I am using the left or ...
11
votes
4answers
4k views

Automatically change Terminal colors on remote connection?

Is there a way to automatically apply a terminal profile when connected to a remote machine via SSH? I'd like more obvious visual cues that I'm connected to a remote machine than the user/host ...
10
votes
3answers
978 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?
10
votes
2answers
1k 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 ...