Registered Member
|
Hello!
Is it possible to Disable the "Hibernate" button, on the shutdown menu (the one who displayed when you're pressing Ctrl-Alt-Del). Hibernation here, doesn't work, so if the button activated by mistake, it just crashes the system. Is it possible to prevent the "Hibernate" option, from displayed there? TIA. |
Registered Member
|
Haven't used the default for ages. I use a little zenity script which you can set the way you want. https://imgur.com/a/4SurFOs
1) make the script 2) make the desktop file that points to the script.
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered Member
|
How to do so probably depends on your distro, but if you disable hibernation itself, the option should disappear in Plasma. For Kubuntu and similar *buntu systems, the hibernation option does no appear unless one manually enables this, as Ubuntu disables it as a default. Once set up, the option appears in Plasma. it *should* go away if hibernation is turned off.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Thanks a lot friends!!!
I'll try both options. |
Registered Member
|
If you'd wanna try that zenity thingie..you'll need zenity first of course. Small package, always handie for something.
This is the zenity script. Uum...yeah, you might wanna change some text in there. #!/bin/bash shot_type=$(zenity --list --radiolist --height=200 \ --column "Select" --column "One of these..." --width=250 \ TRUE "Logout !" \ FALSE "**** reboot !" \ FALSE "Shutdown Goddammit !" \ --separator=":"); case $shot_type in "Logout !") loginctl terminate-user john ;; "**** reboot !") systemctl reboot ;; "Shutdown Goddammit !") systemctl poweroff ;; *) esac And this is the desktop file for it. Change paths and all that of course. [Desktop Entry] Comment= Exec=/home/john/Scripts/Logout.sh GenericName=logout Icon=system-shutdown-symbolic Name=Logout! NoDisplay=false Path[$e]= StartupNotify=true Terminal=0 TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username=
This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]