Last active
June 28, 2023 12:17
-
-
Save wrzlbrmft/58bd36fa0afa30715459 to your computer and use it in GitHub Desktop.
Hide Hibernate, Suspend, etc. option from the XFCE shutdown dialog.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as normal user | |
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false' | |
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false' | |
xfconf-query -c xfce4-session -np '/shutdown/ShowHybridSleep' -t 'bool' -s 'false' | |
xfconf-query -c xfce4-session -np '/shutdown/ShowSwitchUser' -t 'bool' -s 'false' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment