# Session Management

## Desktop Session

In this &systemsettings; module you can configure &plasma;'s session manager and logout settings.

Session management refers to &plasma;'s ability to save the state of applications and windows when you log out of &plasma; and restore them when you log back in.

### General

Ask for confirmation: on shutdown, restart, and logout

- If this setting is turned on, the logout confirmation screen will be shown when you log out, shut down, or restart. When the setting is turned off, your computer will log out, shut down, etc. immediately after clicking the respective button.

### On login, launch apps that were open

You may choose one of three options on what should happen when you log into &plasma;:

On last logout

- If this option is checked, &plasma; will save your current session's state when you logout. &plasma; will restore your session on the next login, so you can continue to work with a desktop just like you left it.

When session was manually saved

- Instead of restoring &plasma; to the state it was when you logged out last, it will be restored to a specific state that you have saved manually.

  A Save Session button will appear in the Application Launcher menu and &plasma; search. When you click it, &plasma; will remember the apps that are open and restore them on the next login. Click it again to replace the set of remembered apps.

Start with an empty session

- If you choose this option, &plasma; will never restore sessions that it has saved.

Finally, you can enter a colon (`:`) or comma (`,`) separated list of applications that should be excluded from sessions, and therefore will not be started when restoring a session. For example `xterm:konsole` or `xterm,konsole`.

### Firmware

After next restart: Enter UEFI setup screen

- If this option is enabled, the next time you restart your computer, it will enter the firmware setup mode (BIOS/UEFI). This may be easier than trying to enter the firmware setup by quickly pressing special keys during boot.