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

learn more… | top users | synonyms

4
votes
4answers
11k views

Using Terminal to open a file within a jar file?

How can I open and see within a file within a jar file from within Terminal? I can use less to print out all the files within the jar file, but how can I open these files?
3
votes
2answers
18k views

Boots up in terminal and startx can't be found

ubuntu 12.04 newest kernel 3.7.1 Ok, I downloaded "Eclipse" in order to do some programming. then I wanted to reinstall it so i " sudo apt-get --purge remove [Ecplise] ". Then I restarted my ...
1
vote
1answer
424 views

Unable to login to bash after editing .bash_profile

I've fiddled around with my .profile and .bash_profile to speed up some stuff: PATH=$PATH:/home/yoshi/android-sdk-linux/platform-tools First I appended the line to my .profile and perfect. Then I've ...
7
votes
2answers
964 views

Gnome3 Terminal restores previous window size on focus loss

Sometimes when I resize a window in gnome 3 and then switch tasks, the window snaps back to it's previous size. How can I make it retain the size that I change it to? For instance, if I drag at the ...
3
votes
1answer
341 views

How can I test if a variable matches another value and move to another function?

I am writing a script where I store a predetermined line of text into a string (we will call abc). I am storing the results from grep -iqs $USER file (we will call def) into another string. How can ...
17
votes
3answers
9k views

Gnome-Terminal reports $TERM to be `xterm`

On a clean install of Ubuntu 12.10, the default gnome-terminal is reporting $TERM to be xterm where it should really be reporting xterm-256color. What is the best way of changing this? I'm avoiding ...
1
vote
1answer
9k views

Start Up Terminal With Command; Then Go To Bash Shell

Via a desktop shortcut, an admin will launch a shell as another user. The user should go into the shell with no elevated privileges, but execute the first command with elevated privileges. In the ...
2
votes
1answer
551 views

How re-map the shortcut key in terminal

According to the Gnome-Termianl Usage, I found that ctrl+shift+up/down can scroll up/down a line in the terminal. Now, I want to re-map the shortcut key, just like: shift+j/k to up/down a line, that'...
2
votes
2answers
131 views

incorrect work gnome terminal

I use at work Ubuntu Desktop 12.04. 80% of the time I spend in the terminal. After switching from the putty on gnome terminal, I was unpleasantly surprised to work with some devices (eg Extereme ...
3
votes
0answers
288 views

12.04 Terminal Tab Color under gnome classic

The tab color for gnome-terminal is different (light color) from the system Ambiance theme. What can I modify in /usr/share/themes/Ambiance/gtk-3.0/gtk-widgets.css in order to get a consistent look ...
2
votes
1answer
168 views

Multiple terminals don't always restore

I generally keep half a dozen terminal windows open. On reboot, usually they are restored to their previous size and position, even if I have closed them all before rebooting. However, sometimes they ...
1
vote
1answer
347 views

how to remove environment variables set for QSTK?

I am new to Ubuntu, and I'm having trouble with the terminal application. Every time I open it this message appears: "bash: /home/xxxxx/.bashrc: line 1: syntax error near unexpected token `(' bash: /...
3
votes
1answer
721 views

Configure Terminal such that it Automatically Leaves a New line after Executing a Command

I would like to configure the terminal so that it would leave a line after running a command. Just to make stuff cleaner. There is no such setting in "profile preferences". I'm running 12.10.
23
votes
5answers
6k 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?
2
votes
4answers
2k views

Terminal: binding hotkeys to textual commands

Is there a way to bind hotkeys to textual commands in the terminal? For example: ctrl+b == git branch <ret>
2
votes
2answers
7k views

Run command in new gnome-terminal and .bashrc

I'm trying to launch one command in a new gnome-terminal window from a shell script, and it seems that my .bashrc file doesn't get sourced when calling gnome-terminal and executing a command: gnome-...
1
vote
1answer
54 views

How can I find out what is locking my home directory?

I've run into an issue lately where my home directory somehow gets read-locked. Any processes trying to read from it, whether it's Nautilus or the terminal become unresponsive for 1-2 minutes, then ...
3
votes
3answers
9k views

How can I create a “built-in” color scheme for GNOME Terminal?

GNOME Terminal has a few built-in color schemes: How can I add more to this list?
1
vote
2answers
289 views

terminal line height for nice “tree” ascii art display

Applications like tree use some special characters to display ascii art. Unfortunately, gnome-terminal has a line height higher than the characters, giving spaces between the lines. See the screenshot:...
0
votes
1answer
378 views

How do I update DrRacket?

I installed DrRacket with the Software Center, but it only installs the verion 5.2.1. I downloaded the installer from the website http://racket-lang.org/download/ I just started using ubuntu... and ...
0
votes
1answer
654 views

unable to add/remove program in Ubuntu 12.04 LTS?

** my problem is as following: unable to add/remove any program using either update-manager or Synaptic Package Manager or terminal update-manager is asking for partial upgrade and while updating ...
3
votes
1answer
1k views

SSH Lost Terminal Colors

I have to computers with exactly the same configuration (same PS1 etc...). When I ssh from A to B the terminal correctly displays PS1 and file type colors (i.e. blue directories, green executables ...
1
vote
1answer
393 views

sudo refuses my password

I've just installed Ubuntu 12.04 and now that I want to install a program through the terminal with a command starting with sudo, the terminal says Sorry, try again. I just don't get it, this is my ...
5
votes
3answers
20k views

“Buffer I/O error on device fd0, logical block 0” error

I am using Ubuntu 12.10, today update notification popped up and I updated the system, then it asked for restart, I was doing some stuff so I restarted after ~30 minutes, after restart, Ubuntu GUI was ...
2
votes
1answer
1k views

how to execute for loop with sed in terminal

I want to execute the for loop with sed command, and is getting an error for the same for i in <comma-separated server name list>;do "command";echo $i;done where command=sed '/^$/d' /home/...
0
votes
1answer
3k views

How to install a wireless driver on my dell mini 9 running ubuntu 12.10 off a usb?

Not sure how to install a driver and which driver to use - or whether I could do something in terminal. I'm pretty sure there's no driver there already but I might be wrong. I'm running a dell mini ...
2
votes
2answers
1k views

How to reset bash keyboard shortcuts?

How can I reset the bash shell's Ctrl + C keyboard shortcut? I changed it a few months ago and can't seem to recover it.
37
votes
9answers
44k 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 ...
2
votes
1answer
523 views

gnome-open window positioning

I've been using Ubuntu since 10.04, and seriously loving life. I'm on 12.04 and it's great. As some super users would know: gnome-open /home/username/somefile.txt will open a window in gnome. Is ...
1
vote
1answer
134 views

Preventing applications from being closed on terminal exit [duplicate]

When I close a terminal it closes all programs opened from it. In other Linux packages such as scientific linux using an ampersand prevents this, e.g., emacs file.txt & However, this is not the ...
4
votes
1answer
246 views

Adding new commands

I have added some new commands to ~/.bash_profile but every time I start a new terminal session, it seems to forget these commands and I have to do . ~/.bash_profile again. Is there a way to avoid ...
8
votes
2answers
3k views

How to use Fixedsys in the Gnome Terminal, or wherever monospaced fonts are required

I think that the Fixedsys font is one of the most legible monospaced fonts for programming. It has zero antialiasing, with vertical lines mostly 2 pixels wide. Close to ideal for current monitor dot ...
3
votes
2answers
2k views

Manually edit terminal command history

My terminal history has hundreds of command, but I just want to keep a few of them Is there a way to manually edit the list of command executed in the terminal?
2
votes
0answers
80 views

Can I set my computer to say ' Shut down ' when I shut it down rather than show GNOME Lines?

I'm running Ubuntu 11.04 and the first time I shut it down it started showing GNOME lines. I didn't change any settings before and it goes on for a reasonable amount of time. I don't want to use ...
1
vote
1answer
5k views

Keyboard shortcut for Terminal doesn't work since updating to 12.10

I have Ctrl+Alt+T assigned as my keyboard shortcut to launch a Terminal window, but it stopped working after upgrading to 12.10. I have verified that it is still set in the Keyboard Shortcuts ...
2
votes
1answer
513 views

gnome-terminal scrollback disappearing

When I enter a newline in the commandline, or a command emits a newline, it makes a line of text at the top disappear, almost as though I had a 30 line scrollback. However, I have an unlimited ...
7
votes
5answers
2k views

Gnome-terminal + Vim and CTRL-Shift mappings

Is it possible to map sequence with CTRL-Shift in gnome-terminal? I'm trying to add mappings: map <C-S-[> gT map <C-S-]> gt And it's not working. How to do that? Somehow I mapped <...
6
votes
2answers
11k views

How to write Bash script What is the command to open a terminal with two different tabed terminals and execute some commands separately tabs?

How to write Bash script to open a terminal with two tabs, and execute commands in both tabs? for instance: tab 1 opens skype tab 2 opens chromium-browser In the end, I want one more thing: write a ...
2
votes
1answer
481 views

I want to delete colors added in Terminal

I added color on the gnome-terminal as in the picture and now I want to delete the custom colors added I want to have the colors as in this picture
0
votes
1answer
60 views

Terminal user/machine information changed?

I'm using 10.04 lucid. I did some change i don't remember in /etc/hosts or hostname file that now when i open terminal it shows none@root I want to change the none to whatever like machine-name? ...
54
votes
3answers
63k views

Keyboard shortcut for pasting on the GNOME Terminal

We use Ctrl+V to paste stuff from clipboard, but this is not working on terminal window. What is the keyboard shortcut to paste on the GNOME terminal?
1
vote
1answer
2k views

How to save terminal configurations?

I open several terminal to use vim to edit several files. When I reboot, I should open again so many terminal and files. How to save the whole state of terminal? Thank you~
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?
1
vote
1answer
836 views

I can't run any command in Terminal

I tried to enter the command nano ~/.bashrc in order to include some path into the .bashrc file in home directory but I'm not able to run any command and I get always the following error: rag@rag-...
8
votes
2answers
5k views

changing system terminal colours?

So I have my computer set up just the way I want, with gnome 3 in my favorite color scheme, and the terminal in a matching background/text color scheme. Even the login screen has my Desktop background....
6
votes
5answers
7k views

Terminal with tmux style screen splitting?

Moving from OS X, loving Ubuntu so far. One thing I'm missing is an iTerm 2 like terminal emulator that allows for easy screen splitting. I could use tmux, but would like to be able to copy and ...
3
votes
0answers
998 views

How to set GNOME Terminal to scroll a fixed number of lines with the mouse wheel?

GNOME Terminal 3.4.1.1 in Ubuntu 12.04 has an IMO weird mouse scroll behavior: A single mouse wheel motion scrolls ceiling($LINES / 10) lines, rather than a set number. That is, if the terminal window ...
2
votes
1answer
572 views

What color format gnome terminal color pallete use?

My question is as per title and more importantly, how to convert regular hex/rgb color format to the one that is used in gnome terminal color pallete (eg #26268B8BD2D2)?
2
votes
2answers
2k views

Open terminal output in sublime2

I want to open the output of terminal commands in sublime2. e.g. when I do $ list , it lists all files/folders in terminal. I want that when I run this command a temporary text file should be created ...
0
votes
2answers
519 views

Terminal Broken

I've been using Ubuntu for about a week now. I logged in today and launched the terminal I got presented a whole list of errors. I've tried to chsh but it won't recognise the command. Nor all other ...