个人工具

“UbuntuHelp:GnomeTerminal”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示2个用户的9个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/GnomeTerminal}}
 
{{From|https://help.ubuntu.com/community/GnomeTerminal}}
 
{{Languages|UbuntuHelp:GnomeTerminal}}
 
{{Languages|UbuntuHelp:GnomeTerminal}}
Parent: [[UbuntuHelp:Software]]
+
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), that do, and a whole host of commands.  Getting to know what you can do via the terminal can be one of the most enjoyable things about using Ubuntu.  Features include tabbed 'terminating'.
+
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.
Menu: Accessories > Terminal
+
To access the Gnome terminal, navigate the Gnome menu: '''Applications -> Accessories -> Terminal'''.
 
== Screenshot ==
 
== Screenshot ==
https://help.ubuntu.com/community/[[UbuntuHelp:GnomeTerminal|GnomeTerminal]]??action=AttachFile&do=get&target=scrn-terminal.png
+
=== gnome-terminal ===
== Installation ==
+
https://help.ubuntu.com/community/GnomeTerminal?action=AttachFile&do=get&target=gnome-terminal.png
* Part of the default Ubuntu installation
+
=== 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 ==
 +
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:
 +
<pre><nowiki>
 +
:co#80:it#8:li#24:\
 +
</nowiki></pre>
 +
Change the number right after co# to change the width.
 +
Change the number right after li# to change the height.
 
== Hints and Tips ==
 
== Hints and Tips ==
== Other applications you may wish to look at ==
+
Use the 'sudo' command prior to any other terminal command in order to run it as a superuser.  See [[UbuntuHelp:RootSudo|RootSudo]].
== Further Reading ==
+
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:CategoryDocumentation]]
+
[[category:CategoryCommandLine]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 22:31的最新版本

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