i3exit is a command line utility that allows users to exit the i3 window manager and return to the default graphical user interface (GUI) or command line interface (CLI) of the Linux or Unix system.
The i3exit command can be used in a number of ways to exit i3 and return to the system’s GUI or CLI. One common way is to use the i3exit command with the “logout” option, which will log the user out of their current session and return them to the login screen. Another option is to use the i3exit command with the “reboot” or “poweroff” options, which will reboot or shut down the system, respectively.
In addition, users can also use i3exit command with the “suspend” option, which will put the system into a suspended state, allowing the user to quickly resume their session when they return to the computer. i3exit is a very useful command for users who frequently switch between different window managers or desktop environments and want a quick way to exit i3 and return to the system’s default GUI or CLI.
i3exit Command Examples
1. Log out of i3:
# i3exit logout
2. Lock i3:
# i3exit lock
3. Shut down the system:
# i3exit shutdown
4. Suspend the system:
# i3exit suspend
5. Switch to the login screen to log in as a different user:
# i3exit switch_user
6. Hibernate the system:
# i3exit hibernate
7. Reboot the system:
# i3exit reboot