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

learn more… | top users | synonyms

20
votes
6answers
26k 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 ...
95
votes
14answers
82k 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 ...
21
votes
4answers
35k 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?
36
votes
12answers
44k 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 2....
95
votes
9answers
93k 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 ...
44
votes
11answers
33k 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 ...
67
votes
8answers
89k 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 ...
4
votes
1answer
7k views

Run simple bash script to start applications at login

I want to run a simple bash script automatically when I log in. For example #!/bin/bash echo "start spotify" gnome-terminal -e spotify --title spotify When I run this command, one gnome-terminal ...
23
votes
6answers
3k views

Is it possible to open a terminal in the current directory?

I am new to Ubuntu, and was wondering whether it is posible to open a terminal with a path matching your current location in the file manager? In Windows it was very easy, but how do you do it in ...
28
votes
9answers
24k 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?
26
votes
3answers
35k 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 ...
3
votes
2answers
419 views

Terminal Short-cut ctrl + alt + T, 2 terminals, different size

In Ubuntu, you can change the default size of the terminal using (edit>profile preferences) to change the size. How can you use the shortcut for bringing up terminal ctrl+alt+T to create two terminals ...
25
votes
6answers
39k views

Is there an alternative to gnome-terminal?

Are there any terminals that can serve as an alternative to gnome-terminal. Do these alternatives have other/extra features ?
35
votes
8answers
21k views

What terminal emulators are available for heavy terminal users?

I spend a lot of time at the command-line during the workday and at home too since I run Ubuntu exclusively. I've been using the default gnome terminal but I've reached a point where I'd really like ...
32
votes
3answers
20k 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 ...
26
votes
3answers
14k 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
6answers
11k views

Command-line to switch between profiles in gnome-terminal

I created a new profile for gnome-terminal and I can switch between "Implicit" profile and the new created profile as you can see in the below image: Now I wonder how can I switch between profiles ...
28
votes
2answers
4k 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 ?
20
votes
3answers
32k views

How do you set the title of the active gnome-terminal from the command line? [duplicate]

Is there a way to set the gnome-terminal title from within the terminal itself without having to right click on the tab. Something like: active-terminal --title "Foo" There was a related question ...
20
votes
4answers
4k views

Gnome-terminal tabs: no contrast between active and inactive tabs

In Ubuntu 13.04, I often have multiple tabs open in gnome-terminal. The problem is that, while I can set the title of each tab, it is very hard to tell which tab is active -- the color and rendering ...
44
votes
4answers
17k 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 ...
44
votes
4answers
30k 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 ...
25
votes
10answers
4k views

How to display more than 1 terminal simultaneously

Sometimes when I work I use more than one terminal and I find it inconvenient to switch between them when all of them were invoked using Ctrl+Alt+T. I wonder if there is any program or terminal that ...
12
votes
3answers
2k views

In Ubuntu, is there any terminal that allows for the position of the cursor to be moved with the mouse?

For example, if I find I miss one letter in a long command, currently I need to press ← to move the cursor, which is slow. Why can't we use mouse to put the cursor in the place we want?
26
votes
5answers
79k 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
3answers
1k views

Focus existing terminal with `Ctrl-Alt-T` shortcut

I tend to use the terminal a lot, So I wondering if there is a way I can make Ctrl+Alt+T focus the existing terminal if there is one, otherwise create a new terminal?
10
votes
4answers
252 views

Shell with better editing capabilities

Shells (at least what I know) have really bad command editing capabilities. For example: I can't point the cursor to any point of the command. I can't select and backspace/delete/replace text in ...
4
votes
2answers
5k views

Did they just remove the Background settings for Terminal?

About 10 minutes ago I set up my basic Terminal app to be semi-transparent and was really happy with the result. Now, some updates ran and the whole "Background" tab is gone from Terminal settings. ...
14
votes
3answers
8k 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?
9
votes
1answer
1k views

How can I send commands to specific terminal windows?

I'd like to write a script for opening multiple programs (servers) simultanously in separate terminals - doesn't matter which one - and assign different commands to different terminals with commands "...
2
votes
4answers
3k views

Use Shift+Insert to paste from clipboard in gnome-terminal?

I would like to press Shift+Insert and have that execute a paste from the clipboard (the thing that Ctrl+C copies to) inside of gnome-terminal. In 13.10, Shift+Insert pastes from the selection ...
5
votes
2answers
3k views

keyboard shortcut gnome-terminal (ctrl-tab) and (ctrl-shift-tab) in 12.04?

Keyboard shortcuts in gnome-terminal (Ctrl+Tab and Ctrl+Shift+Tab) in 12.04 don't seem to be working. Is there a setting that I dont know of?
27
votes
8answers
58k 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 hand,...
20
votes
7answers
15k 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 ...
35
votes
9answers
43k 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 ...
24
votes
8answers
10k 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?
15
votes
4answers
24k 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 ...
13
votes
4answers
51k views

Run command on another(new) terminal window

How to run any command in another terminal window? Example: I opened one terminal window and if I run command like apropos editor, then it run and out-puts on that window. But I want to run same ...
24
votes
2answers
4k 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?
7
votes
4answers
11k views

Terminal command autocomplete

I'm currently trying to switch from OpenSUSE to Ubuntu as my main OS. While most of opensuse features is there in ubuntu, there is one feature that doesn't. In Opensuse, I can always use Ctrl+Up to ...
22
votes
3answers
44k 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?
13
votes
1answer
6k views

How to stop the terminal from wrapping lines

Is there a way to tell the terminal not to wrap long lines. I wish to see a line in the same space without wrapping to the next one. I do not care if I can not see the end of the line just as long as ...
11
votes
1answer
1k views

Is there a good mono-spaced font for Devanagari script in the Terminal?

All the terminal fonts I have tried result in inaccurate rendering of the Devanagari sript (and/or Roman script) in the Terminal In the Devanagari script, a vowel binds itself to a preceding ...
6
votes
1answer
3k views

how to get output of a script/program into a file?

I am compiling a program using make and want the output of make to be written to a file. I have tried using > operator like make > build_log.txt and using tee command like make | tee build_log....
5
votes
2answers
11k views

Pausing a long running program in the terminal?

Is there a keyboard key combination that I can use to pause a program running in the terminal? In case it matters, I don't intend to run anything else inside that terminal while the program is paused. ...
20
votes
6answers
21k 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 ...
18
votes
2answers
73k views

Command to open new terminal window from the current terminal?

I installed xdotool by running sudo apt-get install xdotool and throw xdotool key ctrl+alt+t command to open a new terminal window from the current one.But it was not working. What was the command ...
9
votes
3answers
6k views

Gnome-terminal doesn't refresh

Gnome-terminal works just fine when I am running Unity, but when I run Gnome shell, terminals don't work properly and have to be constantly refreshed. This is particularly annoying when using "vi" to ...
8
votes
1answer
531 views

Keyboard shortcut to focus on (idle) terminal

I would like to know, if there is possible to use keyboard shortcut to focus on first idle (non working) terminal window in unity (13.10)? Something like Ctr+Alt+T, but before opening the new instance ...
7
votes
5answers
2k views

How do you make your terminal play a sound or offer a notification when it has finished executing its command? [duplicate]

I do sudo apt-get update from time to time, and find it frustrating to have to check when it is done doing its thing. Is there anyway I can get it to offer a notification popup or play a sound when it ...