Xfce session should check if the system can_suspend and can_hibernate properties from HAL before adding the shutdown widgets to the shutdown dialog box, these services aren't available always, as an example, if one installs Xfce 4.6 on a virtual machine the suspend option won't be available, back to Slackware 12.0 (i guess) both options were not compiled in the kernel, so i believe it is a good enhancement to add such thing.
Agreed. Very annoying that xfce4-session-logout shows two large buttons which never can or will be used...
XFCE should also check PolicyKit to see if the user has the right to shut down, hibernate, suspend, or reboot the system, and omit any buttons for which the user lacks rights. Currently, all my XFCE thin client users have "shut down" and "reboot" buttons that (a) would act on the server not the client were they enabled, and (b) are disabled by PolicyKit, so they just report an error to the user instead.
We're not adding PK support for a while. I'm told that PK is getting a rewrite with a new API "soon." I'm not going to waste my time with the current API if that's the case.
Ok, svn trunk now checks HAL properties to see if suspend and hibernate are supported.
(In reply to comment #4) > Ok, svn trunk now checks HAL properties to see if suspend and hibernate are > supported. I will check it out this evening in my Virtual box Xfce installation (no suspend support). Thanks.