Skip to main content
otter-logout opens a power menu for locking the session, logging out, suspending, rebooting, or shutting down. Bind it to a hotkey or the bar menu. It exits when you pick an action or dismiss the menu.

Usage

Bind it to a compositor hotkey, for example Super+Shift+E:

Configuration

Config file: ~/.config/otter-shell/otter-logout.conf
You can change each button’s label, XDG icon name, and shell command. Colors inherit from theme.conf when omitted. Reboot and shutdown are highlighted and require confirmation by default. Set highlight_destructive_actions = false to use normal colors. Set confirm_destructive_actions = false only if you want those actions to execute immediately.

Lua surface

The menu uses native drawing unless it finds logout.lua on the UI script search path. A user script under $XDG_DATA_HOME/otter-shell/ui/ (normally ~/.local/share/otter-shell/ui/) overrides the system script. Edits can reload while the menu is open. A broken script keeps the last good frame or falls back to native drawing. Manage overrides, Native UI, and hot reload in otter-settings UI Scripts. Lua describes the panel; native code still handles input and action execution. See Settings.

Keybindings