“UbuntuHelp:GnomeTerminal”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/GnomeTerminal}} | {{From|https://help.ubuntu.com/community/GnomeTerminal}} | ||
{{Languages|UbuntuHelp:GnomeTerminal}} | {{Languages|UbuntuHelp:GnomeTerminal}} | ||
− | Parent: [[UbuntuHelp: | + | Parent: [[UbuntuHelp:Applications|Applications]] |
+ | <code><nowiki>gnome-terminal</nowiki></code> is the GNOME 2 terminal emulator application, and is installed by default on all Ubuntu Desktop versions (e.g. not Ubuntu Server). | ||
== Terminal == | == Terminal == | ||
− | The terminal gives you access to programs that don't have a graphical user interface (GUI) | + | 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 == | == Screenshot == | ||
− | https://help.ubuntu.com/community/GnomeTerminal?action=AttachFile&do=get&target= | + | === gnome-terminal === |
− | == | + | https://help.ubuntu.com/community/GnomeTerminal?action=AttachFile&do=get&target=gnome-terminal.png |
− | + | === xterm === | |
+ | Also worth showing is a more generic alternative to the Gnome terminal. <code><nowiki>xterm</nowiki></code>, a program which is also installed by default, is a more universal terminal emulator, without as many frills as <code><nowiki>gnome-terminal</nowiki></code>. Xterm is the X terminal emulator. | ||
+ | https://help.ubuntu.com/community/GnomeTerminal?action=AttachFile&do=get&target=xterm.png | ||
+ | == Using == | ||
+ | See some of the following pages: | ||
+ | * [[UbuntuHelp:UsingTheTerminal|UsingTheTerminal]] | ||
+ | * [[UbuntuHelp:CommandlineHowto|CommandlineHowto]] | ||
+ | * [[UbuntuHelp:AdvancedCommandlineHowto|AdvancedCommandlineHowto]] | ||
+ | * [http://linuxcommand.org/] | ||
== Change the default Terminal window size == | == Change the default Terminal window size == | ||
− | The default size of the Terminal window is | + | The default size of the Terminal window is 80 columns wide and 24 rows high. To alter this, edit the file <code><nowiki>/usr/share/vte/termcap/xterm</nowiki></code>. You can use the following command: |
− | + | <pre><nowiki> | |
+ | gksudo gedit /usr/share/vte/termcap/xterm | ||
+ | </nowiki></pre> | ||
Just a few lines from the top will be the line reading: | Just a few lines from the top will be the line reading: | ||
+ | <pre><nowiki> | ||
:co#80:it#8:li#24:\ | :co#80:it#8:li#24:\ | ||
+ | </nowiki></pre> | ||
Change the number right after co# to change the width. | Change the number right after co# to change the width. | ||
Change the number right after li# to change the height. | Change the number right after li# to change the height. | ||
== Hints and Tips == | == Hints and Tips == | ||
− | Use the 'sudo' command prior to any other terminal command in order to run it as a superuser. | + | Use the 'sudo' command prior to any other terminal command in order to run it as a superuser. See [[UbuntuHelp:RootSudo|RootSudo]]. |
− | Additionally, just typing in | + | Additionally, just typing in <code><nowiki>sudo !!</nowiki></code> will run the previous command as superuser. |
− | + | To auto-complete a command, press Tab. Example: | |
− | + | <pre><nowiki> | |
+ | gnome-ter<TAB> | ||
+ | </nowiki></pre> | ||
+ | auto-completes to: | ||
+ | <pre><nowiki> | ||
+ | gnome-terminal | ||
+ | </nowiki></pre> | ||
---- | ---- | ||
− | [[category: | + | [[category:CategoryCommandLine]] |
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月12日 (二) 16:59的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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
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.
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