Uso
Anterior |  | Próximo

## Uso

### Abrir e pechar terminais

Para abrir unha nova ventá de terminal:

  Seleccione Ficheiro → Abrir Terminal (ou prema co botón dereito na ventá de terminal e seleccione Abrir Terminal).

  A nova terminal herda o directorio de traballo da súa terminal nai.

Para pechar unha ventá de terminal:

  Seleccione Ficheiro → Pechar ventá.

  This action closes the terminal and terminates any subprocesses that you opened from the terminal. If you close the last terminal window, the Terminal application exits.

Para engadir unha nova terminal con lapelas a unha ventá:

  Choose File → Open Tab (or right-click the terminal window and choose Open Tab).

  The new terminal inherits the working directory from the previously active terminal.

### Modificar unha ventá de terminal

Para agochar a barra de menú:

  Choose View → Show Menubar (or right-click the terminal window and choose Show Menubar).

Mostrar unha barra de menú oculta:

  Right-click the terminal window and choose Show Menubar from the popup menu.

Mostrar ou ocultar as barras de ferramentas:

  Choose View → Show Toolbars.

Personalizar as barras de ferramentas:

  Be sure to show the toolbars first; then choose Edit → Toolbars....

Mostrar ou ocultar as decoracións das ventás:

  Choose View → Show Window Borders.

Pasar a pantalla completa unha ventá da terminal

  Seleccione View → Pantalla completa na barra de menú (ou prema co botón dereito na ventá da terminal e seleccione Pantalla completa).

Para cambiar a aparencia da ventá da terminal:

  See « Preferencias » for information about the options that you choose in the Terminal Preferences dialog to change the appearance and behaviour of the terminal windows. For example, you can change the background color or the location of the scrollbar.

### To work with the contents of terminal windows

To scroll through previous commands and output:

  Realice unha das seguintes accións:

  - Use the scrollbar, which is usually displayed on the right side of each terminal window.

  - Press the Shift+Page Up, Shift+Page Down, Shift+Up, Shift+Down, Shift+Home, or Shift+End keys.

  - Use the middle wheel button on your mouse if applicable

  Terminal mimics the FreeBSD console when Scroll Lock is pressed. When scroll lock is active, ordinary input and output from the shell is suspended and you can scroll through the history with Shift+Page Up and Shift+Page Down or using the optional scrollbar. Press Ctrl+S to activate the scroll lock and Ctrl+Q to disable it afterwards.

  The number of lines that you can scroll back in the terminal window is determined by the Scrollback setting in the General section of the Terminal Preferences dialog.

Seleccionar e copiar texto:

  Pode seleccionar texto de calquera das seguintes formas:

  - Para seleccionar un carácter de cada vez, prema no primeiro carácter que desexa seleccionar e arrastre o rato ata o último carácter que desexa seleccionar.

  - Para seleccionar unha palabra de cada vez, faga dobre clic na primeira palabra que desexa seleccionar e arrastre o rato ata a última palabra que desexa seleccionar.

  - To select a line at a time, triple-click on the first line that you want to select and drag the mouse to the last line that you want to select.

  These actions select all text between the first and last items. For all text selections, Terminal copies the selected text into the clipboard when you release the mouse button. To explicitly copy the selected text, choose Edit → Copy.

Pegar texto nunha terminal:

  If you previously copied text to the clipboard, you can paste the text into a terminal by performing one of the following actions:

  - To paste text that you copied by selection only, middle-click at the command prompt. If you do not have a middle mouse button, refer to the X Server documentation for information about how to emulate the middle mouse button. This is equivalent to using the Paste Selection item from Edit menu.

  - To paste text that you explicitly copied, choose Edit → Paste.

Para arrastrar un nome de ficheiro a unha ventá de terminal:

  Pode arrastrar un nome de ficheiro a unha terminal dende outra aplicación coma un xestor de ficheiros ou un navegador web. A terminal mostrará a ruta e o nome completo do URI.

To access a hyperlink:

  To access a Uniform Resource Locator (URL) that is displayed in a terminal window, perform the following steps:

  1. Mover o rato sobre o URL ata que aparece subliñado.

  2. Premer co botón dereito no URL para abrir o menú contextual.

  3. Seleccione Abrir ligazón no menú contextual para iniciar o seu Navegador Web preferido e mostrar o ficheiro situado no URL.

Escribir unha mensaxe de correo electrónico:

  Para escribirlle unha mensaxe a un enderezo de correo-e que se mostra na ventá da terminal, realice o seguinte:

  1. Mova o rato por riba do enderezo de correo-e ata que o enderezo apareza subraiado.

  2. Prema co botón dereito no enderezo de correo-e para abrir o menú contextual.

  3. Choose Compose Email from the context menu to compose an email in your preferred Mail Reader.

### Cambiar o título da terminal

Para cambiarlle o título á terminal que se mostra actualmente, faga o seguinte:

1. Choose Terminal → Set Title... or double-click the the terminal tab header.

2. Introduza o novo título na caixa de texto Título. Terminal aplicará o cambio inmediatamente.

3. Prema no botón Pechar ou prema a tecla Intro para pechar o diálogo Definir o título.

To reset the terminal title to its default behavior, perform the same three steps as described above, but enter an empty title.

### Recuperar a terminal

This section provides some advice if you have problems with terminals.

Restaurar o estado da terminal:

  Choose Terminal → Reset.

To reset the terminal and clear the terminal screen:

  Choose Terminal → Reset and Clear.

You can also use the shell commands `reset` and `clear` to recover your terminal.

### Personalizar as barras de ferramentas

As already mentioned, Terminal includes support for customizable toolbars. The toolbars are disabled by default, you will have to explicitly enable it. Choose View → Show Toolbars from the menubar to display the toolbars in the current window. If you want to permanently use the toolbars, see « Aparencia ».

Once the toolbars are shown, choose Edit → Toolbars... from the menubar or right-click one of the toolbars and choose Customize Toolbar... from the context menu. This opens the Toolbar Editor window, which allows you to customize the toolbars in the current terminal window.

Just drag an item from the Toolbar Editor window and drop it on a toolbar to add that item to the specific toolbar or drag an item from a toolbar to the Toolbar Editor to remove it from the toolbar. You can add additional toolbars by clicking the button Add a new toolbar and remove toolbars by right-clicking the toolbar and selecting Remove Toolbar from the context menu. You can also choose a different style for a toolbar from the context menu.

### Cambiar de codificación

Terminal itself does not (yet) include builtin support for switching encodings on the fly in a terminal session. But since Terminal implements an UTF-8 mode, you can use the Luit application to switch between different character encodings within a terminal session.

Anterior |  | Próximo
Getting started | Inicio | Preferencias