How to *disable* suspend/hibernate?
Manuel.Spam at nurfuerspam.de
Tue Dec 21 13:10:58 PST 2010
I want HAL to report suspend/hibernate to be *not* supported to get KDE remove
the buttons for those "standby modes" from the K-Menu.
Just uninstalling pm-utils doesn't do the trick, as you don't check the return
value or the error code of g_spawn_command_line_sync in your code:
So I uninstalled pm-utils and symlinked between /bin/false and
/usr/bin/pm-is-supported which finally does the trick.
Is there a better/more friendly way to do this?
Thanks in advance
More information about the hal