# Sessões de Ambiente de Trabalho

Este capítulo apresenta a informação de que necessita para iniciar uma sessão, geri-la e terminá-la no MATE.

## Iniciar uma Sessão

A session is the period of time you spend using MATE, between logging in and logging out. During a session, you use your applications, print, browse the web, and so on.

Introduzir o seu utilizador e senha inicia a sua sessão no MATE. O ecrã de início de sessão é a sua porta de entrada no Ambiente de Trabalho MATE: é onde introduz o seu utilizador, senha e selecciona opções tais como o idioma em que deseja utilizar o MATE durante a sua sessão.

Normally, logging out ends the session, but you can choose to save the state of your session and restore it next time you use MATE: see .

### Iniciar uma sessão no MATE

Para iniciar uma sessão, realize os seguintes passos:

1. On the login screen, click on the Session icon. Choose the MATE Desktop from the list of available desktop environments. Most users will not need to perform this step, as MATE is usually the default desktop environment already.

2. Introduza o seu nome de utilizador no campo Utilizador, depois prima Return.

3. Introduza a sua senha no campo Senha, depois prima Return.

When you log in successfully, MATE will take a short amount of time to start up. When it is ready, you will see the Desktop and you can begin using your computer.

The first time you log in, the session manager starts a new session. If you have logged in before and saved the settings for the previous session when you logged out, then the session manager restores your previous session.

Caso deseje desligar ou reiniciar o sistema antes de iniciar uma sessão, clique no ícone Sistema no ecrã inicial. É apresentado um diálogo. Seleccione a opção desejada e clique OK.

Your system distributor or vendor may have altered the login screen so that it no longer has a System icon. In this case, the option to shut down the computer may be found by clicking the Other icon, or by clicking a separate Shut Down button.

sessions logging in
logging in to session
start session

### Utilizar um Idioma Diferente

Para iniciar uma sessão utilizando um idioma diferente, realize as seguintes acções.

1. No ecrã inicial, clique no ícone Idioma. Seleccione o idioma que deseja a partir da lista de idiomas disponíveis.

2. Introduza o seu nome de utilizador no campo Utilizador, depois prima Return.

3. Introduza a sua senha no campo Senha, depois prima Return.

When you log in to a session in a different language, you are changing the language for the user interface but are not changing the keyboard layout. To choose a different keyboard layout, use the Keyboard Indicator applet.

Your system distributor or vendor may have altered the login screen so that it no longer has a Language icon. In this case, the option to change the session's language may be found by clicking the Other icon.

sessions different language, logging in
language, logging in in different
logging in to session in different language
sessions starting

## Trancar o Seu Ecrã

Lock screen icon.

Locking your screen prevents access to your applications and information, allowing you to leave your computer unattended. While your screen is locked, the screensaver runs.

Para trancar o ecrã, realize uma das seguintes acções:

- Seleccione Sistema Trancar Ecrã.

- Se o botão Trancar Ecrã estiver presente num painel, clique no botão Trancar Ecrã

  The Lock Screen button is not present on the panels by default. To add it, see .

Para destrancar o ecrã, mova o rato ou prima uma tecla, introduza a sua senha no diálogo de ecrã trancado, depois prima Return.

If another user wants to use the computer while it is locked, they can move the mouse or press a key and then click Switch User. The login screen will be displayed and they can log in using their user account. They will not be able to access any of your applications or information. When they log out, the screen will be locked again and you can access your session by unlocking the screen.

You can leave a message for a user who has locked their screen. Move the mouse or press any key and then click Leave Message. Type your message into the box and press Save. Your message will be displayed when the user unlocks their screen.

sessions locking screen
locking screen
Lock button

## Setting Programs to Start Automatically When You Log In

You can choose for certain programs to be started automatically when you log in to a session. For example, you might want a web browser to be started as soon as you log in. Programs which start automatically when you log in are called startup programs. Startup programs are automatically saved and safely closed by the session manager when you log out, and are restarted when you log in.

The Sessions preference tool allows you to define which programs are started automatically when you log in. It has two tabs, the Startup Programs tab and the Options tab.

### Startup Programs Tab

You can use the Startup Programs tab to add, modify, and remove startup programs.

A list of startup programs is displayed on this tab. The list shows a short description of each program, along with a checkbox which denotes whether the startup program is enabled or not. Programs which are not enabled will not be started automatically when you log in.

#### Enabling/Disabling Startup Programs

To enable a program to start up automatically, check the checkbox corresponding to that program.

To disable a program from starting automatically, uncheck the checkbox.

#### Adding A New Startup Program

To add a new startup program, perform the following steps:

- Click Add. This will open the Add Startup Program dialog box.

- Use the Name text box to specify a name for the new startup program.

- Use the Command text box to specify the command which will invoke the application. For example, the command `pluma` will start the Pluma Text Editor. If you do not know the exact command, click Browse to choose the path of the command.

- Enter a description of the application in the Comments text box. You will see this as the description of the program in the list of startup programs.

- Click Add. The application will be added to the list of startup programs with its checkbox in the checked (enabled) state.

#### Removing A Startup Program

To remove a startup program, select it from the list of startup programs and click Remove.

#### Editing A Startup Program

To edit an existing startup program, select it from the list of startup programs and click Edit. A dialog will appear which allows you to edit the properties of the program. See for more information on the options available in this dialog.

### Session Options Tab

The session manager can remember which applications you have running when you log out and can automatically restart them when you log in again. If you would like this to happen every time you log out, check Automatically remember running applications when logging out. If you would like this to happen only once, click Remember Currently Running Application before logging out.

preference tools Sessions
sessions startup

## Terminar a Sessão

Após terminar a utilização do seu computador, pode seleccionar uma das seguintes opções:

- Log out, leaving the computer ready for another user to begin working with it. To log out of MATE, choose System Log Out username .

- Shut down your computer and switch off the power. To shut down, choose System Shut Down and click Shut Down on the dialog that appears.

- Depending on your computer's configuration, you can also Hibernate your computer. During hibernation, less power is used, but all of the applications and documents that you have open are preserved and will still be open when you resume from hibernation. You can resume from hibernation by moving your mouse or pressing a key.

Some vendors and distributors allow you to hibernate your computer in two ways, often called Hibernate and Suspend. Both of these will preserve your open files and applications, but one will switch off the power to your computer while the other will leave the computer running in a state that uses less power.

Quando termina uma sessão, aplicações com trabalho por gravar irão avisá-lo. Pode seleccionar gravar o seu trabalho ou cancelar o comando de terminar sessão ou desligar.

Antes de terminar uma sessão, poderá desejar gravar as suas configurações actuais para que mais tarde possa restaurar a sessão. Na ferramenta de preferências Sessões, pode seleccionar uma opção para gravar automaticamente as configurações da sua sessão actual.

sessions ending
sessions logging out
logging out
quit
shutdown