Quote:
Originally Posted by JZL240I-U
Brute Force: "ACPI=no" in the kernel line of menu.lst. Warning: That will probably influence the temperature watching facilities of modern machines as well.
|
I was negligent in not mentioning that I have tried acpi=no. It removes the 'Suspend to RAM' option but the 'Suspend to Disk' option remains. The 'Suspend to Disk' option also remains if I remove the resume= from the kernel options.
Also uTsing acpi=off is not acceptable because it means the machine no longer powers down when told to shutdown.
Quote:
|
There should be the possibility to disable things or even edit the menu of KDE. You'll have to dig in the control center for that. I seem to remember that there is a separate editing program, can't remember the name right now.
|
Yeah one could argue that there should be a configuration option to remove those items but if there is it seems to be very very well hidden. For editing the Kickoff menu there's kmenuedit but that only allows editing of the applications section.
I have now found a solution. There's a script
/usr/bin/pm-is-supported
which can be used to determine the suspend capabilities of the machine and KDE 4 evidently uses that to determine whether to show the Suspend options. I say this not because I found it documented anywhere but due to result of experimentation. I replaced pm-is-supported with a script which just does
rebooted the machine and found the Suspend options are no longer listed in Kickoff. This works on openSUSE 11.1 and Kubuntu 8.10. (Though with Kubuntu I've only tested on a virtual machine on which 'Suspend to RAM' was never listed as 'pm-is-supported --hibernate' exits with 1.) It's a hack but it's one I can live either as it's easy to implement. If anyone has any suggestions on a more elegant method of archiving goal it would be interesting to hear.