On Thu, Jun 06, 2013 at 12:21:34PM -0700, Fast Turtle wrote
> Several questions/issues here
> 
> Fluxbox
> 
> I want to add the option to shutdown - reboot - sleep to the fluxbox
> menu similar to how KDE offered them using powerdevil
> 
> Anyone with working entries want to post em?
> 
> Using Gkrellm and anyone have suggestions for a plug-in that offers
> the shutdown - reboot - sleep options (used to be one but?)

  An ICEWM user here...
* "emerge sys-power/hibernate-script" and set it up (I use the suspend
  to disk option)

* In /etc/sudoers.d/001 I have the lines...
waltdnes  i660 = (root) NOPASSWD: /sbin/poweroff
waltdnes  i660 = (root) NOPASSWD: /usr/sbin/hibernate

* In ~/bin I have script "hb" which consists of
#!/bin/bash
sync
sleep 15
sudo /usr/sbin/hibernate

  I prefer to type "hb" from an xterm.  You could set up a button to
execute the command...

sudo /usr/sbin/hibernate

...if you want to go the "menu" route.  Similar comments for poweroff.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to