[opensuse] 10.2/KDE logout - removing Suspend button?
Greetings. How does one remove the suspend button from the KDE logout dialog under SUSE Linux 10.2? Best regards :o) Johnny :o) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 14 January 2007 11:28, Johnny Ernst Nielsen said:
Greetings.
How does one remove the suspend button from the KDE logout dialog under SUSE Linux 10.2?
KDE shows all the suspend modes allowed in the system settings, so disallow them: YaST->System->Power Management->Suspend Permissions... and uncheck everything. The logout dialog will no longer show suspend option, the K Menu needs a relogin or "dcop kicker Panel restart" if you're impatient. HTH :0) Will -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 14 January 2007 11:28, Johnny Ernst Nielsen said:
How does one remove the suspend button from the KDE logout dialog under SUSE Linux 10.2?
Tirsdag 16 januar 2007 11:33 kvad Will Stephenson:
KDE shows all the suspend modes allowed in the system settings, so disallow them:
YaST->System->Power Management->Suspend Permissions... and uncheck everything.
I can not uncheck the middle option. It is greyed out. ?
The logout dialog will no longer show suspend option, the K Menu needs a relogin or "dcop kicker Panel restart" if you're impatient.
Thank you Will, but that only works for ordinary users, and only in the logout box presented when the user is already logged in. The suspend button is still there when root wants to log out. And it is still there for everyone at the login screen (System -> Shut down) I have found out how to remove it from root, by editing some PolicyKit files. But how do I remove it from the login screen? Best regards :o) Johnny :o) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mandag 22 januar 2007 08:47 kvad Johnny Ernst Nielsen:
[...] it is still there for everyone at the login screen (System -> Shut down)
Searching for the solution to another problem, I stumbled upon this one. One has to edit /opt/kde3/share/config/kdm/kdmrc and uncomment the line "#AllowSuspend=All" and change "All" to "None" So the full soution is: Edit the following files: /etc/PolicyKit/privilege.d/hal-power-hibernate.privilege /etc/PolicyKit/privilege.d/hal-power-standby.privilege /etc/PolicyKit/privilege.d/hal-power-suspend.privilege In all three cases set SufficientPrivileges= and Allow= to nothing Edit /opt/kde3/share/config/kdm/kdmrc Uncomment the line "#AllowSuspend=All" and change "All" to "None" This will remove the suspend button from all logout boxes everywhere for all users. Best regards :o) Johnny :o) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Johnny Ernst Nielsen
-
Will Stephenson