个人工具

UbuntuHelp:GnomeTerminal

来自Ubuntu中文

跳转至: 导航, 搜索

Parent: Applications gnome-terminal is the GNOME 2 terminal emulator application, and is installed by default on all Ubuntu Desktop versions (e.g. not Ubuntu Server).

Terminal

The terminal gives you access to all programs on the system, even those that don't have a graphical user interface (GUI). Getting to know what you can do via the terminal can be one of the most enjoyable things about using Ubuntu. To access the Gnome terminal, navigate the Gnome menu: Applications -> Accessories -> Terminal.

Screenshot

gnome-terminal

GnomeTerminal?action=AttachFile&do=get&target=gnome-terminal.png

xterm

Also worth showing is a more generic alternative to the Gnome terminal. xterm, a program which is also installed by default, is a more universal terminal emulator, without as many frills as gnome-terminal. Xterm is the X terminal emulator. GnomeTerminal?action=AttachFile&do=get&target=xterm.png

Using

See some of the following pages:

Change the default Terminal window size

The default size of the Terminal window is 80 columns wide and 24 rows high. To alter this, edit the file /usr/share/vte/termcap/xterm. You can use the following command:

gksudo gedit /usr/share/vte/termcap/xterm

Just a few lines from the top will be the line reading:

:co#80:it#8:li#24:\

Change the number right after co# to change the width. Change the number right after li# to change the height.

Hints and Tips

Use the 'sudo' command prior to any other terminal command in order to run it as a superuser. See RootSudo. Additionally, just typing in sudo !! will run the previous command as superuser. To auto-complete a command, press Tab. Example:

gnome-ter<TAB>

auto-completes to:

gnome-terminal