Il gruppo Sessione vi fornisce la possibilità di controllare varie cose che accadono dalla partenza della vostra sessione Gnome. Questi comprendono opzioni di sessione, partenza automatica dei programmi all'avvio e suggerimenti all'avvio.
I suggerimenti sono brevi messaggi mostrati quando fate login; essi contengono aiuti sull'uso di Gnome e altre piccole informazioni che vi possono essere utili. Questa capplet vi permette di configurare questi suggerimenti.
L'opzione Abilita i suggerimenti al login vi permette di abilitare e disabilitare i suggerimenti
L'opzione Mostra i suggerimenti normali mostrerà un gruppo di aiuti su come usare Gnome. Questa è una buona scelta per nuovi utenti.
L'opzione Mostra i fortune invece che i suggerimenti vi permette di usare l'applicazione fortune che mostra vari detti e "fortunes". Fate riferimento alla documentazione di fortune per la configurazione.
La checkbox Mostra il messaggio del giorno invece dei suggerimenti vi mostrerà il messaggio del giorno al posto dei suggerimenti. La casella di testo Nome del file per i messaggi del giorno vi permette di selezionare il file di testo che sarà utilizzato come messaggio. Questa è una buona scelta per amministratori di sistema che vogliono informare gli utenti con notizie giornaliere.
Figura 13. La Capplet Suggerimenti
The Session Options and Startup Programs capplet allows you to control what programs are started at login time. Gnome has the concept of session management. In simple terms, it means that you can save your "session" (that is, information about currently working applications, their status and position on the screen) at any stage, and at your next login the same applications will reappear on your screen in the same positions, allowing you to continue your work. Note, however, this only works for Gnome compliant applications.
Gnome also provides another way of starting applications at login. You can explicitly specify one or more commands to run, and Gnome will execute them at login in addition to the applications from your saved session. This works for all kinds of applications, whether Gnome compliant or not.
Session Options and Startup Programs capplet allows you to configure all of these options, as described below.
Figura 14. Session Options Capplet
This option controls whether the splash screen should be shown at startup. It does nothing useful, but is an eye candy, so why not?
If this option is enabled, a confirmation dialog will appear at logout. Among other things, this dialog provides checkbox Save current setup (unless you have set the checkbox Automatically save session, see below). If you check this box, the current session will be saved and will be restored at your next login. Otherwise, the previous saved session will be used.
This option determines whether your current session will be automatically saved at logout time or not. Note that you can also manually save your session at any time by selecting Settings->Session->Save Current Session from the Main Menu.
This section allows you to configure more complicated features of session management. These features are currently being developed and should be used by advanced users only.
Gnome allows you to define several sessions. For example, you could have session Work in which you are using office applications such as Gnumeric spreadsheet, and another session Net in which you have Netscape, X-Chat (IRC chat client) and Evolution mail client open. This way, you can keep the setups (i.e., information about open applications and their position on screen) for work and for net surfing separate, making it easy to switch from one to another. Unfortunately, at the moment the only way to switch from one session to another is by using command gnome-session --choose-session=SESSIONNAME. In the future, an easier way of switching will be provided.
In this part of Session Properties capplet you can explicitly specify under which session name you current setup should be saved, but a save won't occur until you specifically do so. Here, you can also create new sessions, edit and delete existing sessions.
To add a new session, press the Add button and enter in a new session name. This name must be different from existing session names.
To edit an existing session name, highlight the session name you wish to edit, press the Edit button and edit the existing session name. The new name must be different from existing session names.
To delete an existing session name, highlight the session name you wish to delete, press the Delete button.
Figura 15. Startup Programs Capplet
Non-session managed startup programs — In this section, you can explicitly specify the commands that should be executed during login. This is mostly used for programs that are not Gnome-compatible. For Gnome applications, it is easier just to leave them running and then save your session at logout — this will ensure that they will be restarted at your next login.
To add a new command, press Add button and enter the command to run in the appearing dialog window. For example, if you want Netscape to start every time you login, just enter netscape in the Startup command field.
You can also specify priority, which determines the order in which the programs will be started: programs with lower values are started before the ones with higher values. The default value is 50, which means that the program will be started after all core Gnome components. Unless you know what you are doing, it is better to use this default value.
You can also edit or remove previously entered programs using Edit... and Remove... buttons.
Browse currently running programs — This button will launch Session properties dialog which shows the state of your current Gnome session — in other words, which programs are currently running, their status, priorities, and more. It can also be used to remove one of the core Gnome programs, such as Panel, from your session, thus making sure that it won't be started next time you login.
Figura 16. Session Properties Manager