xfce shutdown on FreeBSD with hal

Warren Block wblock at wonkity.com
Tue May 4 18:48:35 CEST 2010


Just subscribed and saw the "Problem solved" thread from a couple of 
weeks ago.  That was about enabling hal shutdown on FreeBSD.  So...

To enable hal shutdown with xfce4 on FreeBSD, rules are added to 
/usr/local/etc/PolicyKit/PolicyKit.conf.  These lines have to go inside 
the main <config> </config> section:

     <match action="org.freedesktop.hal.power-management.shutdown">
         <return result="yes"/>
     </match>
     <match action="org.freedesktop.hal.power-management.reboot">
         <return result="yes"/>
     </match>

Tested, works here on at least three computers using FreeBSD 8 and xfce 
4.6.

-Warren Block * Rapid City, South Dakota USA



More information about the Xfce mailing list