Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions

34 views
Skip to first unread message

Fast Turtle

unread,
Jun 6, 2013, 3:30:02 PM6/6/13
to
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?)

Last is Fbpanel

Tested it and although it's nice and offers the options, I can't modify the blasted menu as needed (where is it hiding the menu config?) and the power options all reference sudo (gnomes method) and I'd rather use either the same method kde did with same features (lock/logout shutdown/reboot sleep) so anyone with working configs?

One thing I don't like about fbpanel is it's hiding of the fluxbox taskbar/tray (Yep flux now has a tray) so I'm not even sure I'll keep the thing installed but I'm willing to give it a try if I can edit/tweak the menu and such since it may prove usable in fvwm as I'm testing that.

Mick

unread,
Jun 6, 2013, 5:00:03 PM6/6/13
to
On Thursday 06 Jun 2013 20:21:34 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

If I can try to answer one of them, this is what used to work fine for me (I
don't really use fluxbox anymore, but have it there as a back up when
enlightenement screws up ;-) )

[exec] (Hibernate) {sudo /usr/sbin/hibernate}


> 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?)
>
> Last is Fbpanel
>
> Tested it and although it's nice and offers the options, I can't modify the
> blasted menu as needed (where is it hiding the menu config?) and the power
> options all reference sudo (gnomes method) and I'd rather use either the
> same method kde did with same features (lock/logout shutdown/reboot sleep)
> so anyone with working configs?
>
> One thing I don't like about fbpanel is it's hiding of the fluxbox
> taskbar/tray (Yep flux now has a tray) so I'm not even sure I'll keep the
> thing installed but I'm willing to give it a try if I can edit/tweak the
> menu and such since it may prove usable in fvwm as I'm testing that.

From what I recall Fluxbox had a tool tray for years, but I never used
fbpanel. Instead Ctrl+scroll got me around my 4 desktops.
--
Regards,
Mick
signature.asc

Walter Dnes

unread,
Jun 6, 2013, 5:10:02 PM6/6/13
to
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 <walt...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Fast Turtle

unread,
Jun 6, 2013, 9:30:02 PM6/6/13
to
Thanks for the feedback Mick but I'm going a different route.

Had to install the pm-utils package as that includes the suspend feature I want and have added my user to the shutdown group - easier then sudo and doesn't require a pw then.

Fast Turtle

unread,
Jun 7, 2013, 1:30:02 AM6/7/13
to
Turns out there's no shutdown group on my system now so it must be added when kde is installed with powerdevil - oh well. Guess I'll have to either create it or go the sudo route since I'm more concerned with what works.

Mick

unread,
Jun 7, 2013, 2:00:02 AM6/7/13
to
On Friday 07 Jun 2013 06:21:00 Fast Turtle wrote:
> Turns out there's no shutdown group on my system now so it must be added
> when kde is installed with powerdevil - oh well. Guess I'll have to either
> create it or go the sudo route since I'm more concerned with what works.

These are my relevant entries in /etc/sudoers to avoid entering a passwd:

ME BOX1 = NOPASSWD: /sbin/shutdown -h now
ME BOX1 = NOPASSWD: /sbin/shutdown -r now
ME BOX1 = NOPASSWD: /usr/sbin/hibernate

after I have defined as:

Host_Alias BOX1 = <domain_name> <--could also use IP address here <--
User_Alias ME = <my_username>


PS. Don't forget to use visudo to edit your sudoers file.
--
Regards,
Mick
signature.asc

Fast Turtle

unread,
Jun 7, 2013, 1:20:01 PM6/7/13
to
Took me a while to figure out what sudo was complaining about - my shutdown line includes a 15 second delay  /sbin/shutdown -h 15 needed to be t=15. Once I solved that, it quit complaining.

I'd though to simply take advantage of the already available line for the wheel group being allowed to execute any command w/o a pw but thought thrice about it and went the individual command route. Will be testing quite soon now that I've got the sleep command working.
0 new messages