Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
Date: Thu, 06 Jun 2013 21:08:01
Message-Id: 20130606210748.GA30187@waltdnes.org
In Reply to: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions by Fast Turtle
1 On Thu, Jun 06, 2013 at 12:21:34PM -0700, Fast Turtle wrote
2 > Several questions/issues here
3 >
4 > Fluxbox
5 >
6 > I want to add the option to shutdown - reboot - sleep to the fluxbox
7 > menu similar to how KDE offered them using powerdevil
8 >
9 > Anyone with working entries want to post em?
10 >
11 > Using Gkrellm and anyone have suggestions for a plug-in that offers
12 > the shutdown - reboot - sleep options (used to be one but?)
13
14 An ICEWM user here...
15 * "emerge sys-power/hibernate-script" and set it up (I use the suspend
16 to disk option)
17
18 * In /etc/sudoers.d/001 I have the lines...
19 waltdnes i660 = (root) NOPASSWD: /sbin/poweroff
20 waltdnes i660 = (root) NOPASSWD: /usr/sbin/hibernate
21
22 * In ~/bin I have script "hb" which consists of
23 #!/bin/bash
24 sync
25 sleep 15
26 sudo /usr/sbin/hibernate
27
28 I prefer to type "hb" from an xterm. You could set up a button to
29 execute the command...
30
31 sudo /usr/sbin/hibernate
32
33 ...if you want to go the "menu" route. Similar comments for poweroff.
34
35 --
36 Walter Dnes <waltdnes@××××××××.org>
37 I don't run "desktop environments"; I run useful applications