← 返回命令列表

Linux command

i3exit 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Log out

i3exit logout

Lock

i3exit lock

Suspend

i3exit suspend

Hibernate

i3exit hibernate

Reboot

i3exit reboot

Shut down

i3exit shutdown

Switch user

i3exit switch_user

说明

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.

参数

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

FAQ

What is the i3exit command used for?

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.

How do I run a basic i3exit example?

Run `i3exit logout` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does logout do in i3exit?

Exit i3 and return to display manager