LinuxCommandLibrary

i3exit

script that provides system power management and session control for the i3

TLDR

Log out of i3

$ i3exit logout
copy
Lock the screen
$ i3exit lock
copy
Suspend the system
$ i3exit suspend
copy
Hibernate the system
$ i3exit hibernate
copy
Reboot the system
$ i3exit reboot
copy
Shut down the system
$ i3exit shutdown
copy
Switch user (return to login screen)
$ i3exit switch_user
copy

SYNOPSIS

i3exit command

DESCRIPTION

i3exit is a script that provides system power management and session control for the i3 window manager. It wraps common actions like locking, suspending, hibernating, and logging out into a single command.
The script is typically bound to keyboard shortcuts or used in i3 mode menus, providing consistent behavior for power management operations regardless of the underlying display manager or systemd configuration.

PARAMETERS

logout

Exit i3 and return to display manager
lock
Lock the screen
suspend
Suspend the system to RAM
hibernate
Hibernate the system to disk
reboot
Reboot the system
shutdown
Power off the system
switch_user
Return to login screen for user switching

CAVEATS

Requires appropriate permissions for power management operations. Behavior may vary depending on the display manager and systemd configuration. Some commands may require polkit authentication.

HISTORY

i3exit was developed for Manjaro Linux's i3 edition to provide a convenient power management interface for i3 users. It abstracts the differences between various power management backends.

SEE ALSO

i3(1), systemctl(1), loginctl(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community