Hi,

I wanted to know how to use keybinding to call 
sudo /usr/sbin/pm-hibernate. Note that I have permission to do this without 
password through the sudoers file and the hibernate works as advertised on the 
command line.

But, I would like to use Ctrl-F12 to invoke this more easily.

I put in the following in my .config/openbox/lxde-rc.xml


    <keybind key="C-F12">
      <action name="Execute">
        <command>sudo /usr/sbin/pm-hibernate</command>
      </action>
    </keybind>

What am I doing wrong?

I also tried to use xlock -mode blank (basically replaced "sudo 
/usr/sbin/pm-hibernate" with "xlock -mode blank" in the above) with the same 
keybinding and it worked fine, i.e. locked the screen. 

Any help/suggestions? I am using Fedora 13 and the LXDE spin.

Best wishes,
Trotter


      

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to