public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
@ 2013-06-06 19:21 Fast Turtle
  2013-06-06 20:56 ` Mick
  2013-06-06 21:07 ` Walter Dnes
  0 siblings, 2 replies; 7+ messages in thread
From: Fast Turtle @ 2013-06-06 19:21 UTC (permalink / raw
  To: Gentoo User List

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. 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
  2013-06-06 19:21 [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions Fast Turtle
@ 2013-06-06 20:56 ` Mick
  2013-06-07  1:22   ` Fast Turtle
  2013-06-06 21:07 ` Walter Dnes
  1 sibling, 1 reply; 7+ messages in thread
From: Mick @ 2013-06-06 20:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1492 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
  2013-06-06 19:21 [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions Fast Turtle
  2013-06-06 20:56 ` Mick
@ 2013-06-06 21:07 ` Walter Dnes
  1 sibling, 0 replies; 7+ messages in thread
From: Walter Dnes @ 2013-06-06 21:07 UTC (permalink / raw
  To: gentoo-user

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 <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
  2013-06-06 20:56 ` Mick
@ 2013-06-07  1:22   ` Fast Turtle
  2013-06-07  5:21     ` Fast Turtle
  0 siblings, 1 reply; 7+ messages in thread
From: Fast Turtle @ 2013-06-07  1:22 UTC (permalink / raw
  To: gentoo-user

On Thu, 6 Jun 2013 21:56:05 +0100
Mick <michaelkintzios@gmail.com> wrote:

> 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
 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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
  2013-06-07  1:22   ` Fast Turtle
@ 2013-06-07  5:21     ` Fast Turtle
  2013-06-07  5:49       ` Mick
  0 siblings, 1 reply; 7+ messages in thread
From: Fast Turtle @ 2013-06-07  5:21 UTC (permalink / raw
  To: Gentoo User List

[-- Attachment #1: Type: text/plain, Size: 2233 bytes --]

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.


On Thu, Jun 6, 2013 at 6:22 PM, Fast Turtle <fturtle@gmail.com> wrote:

> On Thu, 6 Jun 2013 21:56:05 +0100
> Mick <michaelkintzios@gmail.com> wrote:
>
> > 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
>  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.
>

[-- Attachment #2: Type: text/html, Size: 2998 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
  2013-06-07  5:21     ` Fast Turtle
@ 2013-06-07  5:49       ` Mick
  2013-06-07 17:12         ` Fast Turtle
  0 siblings, 1 reply; 7+ messages in thread
From: Mick @ 2013-06-07  5:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 743 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
  2013-06-07  5:49       ` Mick
@ 2013-06-07 17:12         ` Fast Turtle
  0 siblings, 0 replies; 7+ messages in thread
From: Fast Turtle @ 2013-06-07 17:12 UTC (permalink / raw
  To: Gentoo User List

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

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.


On Thu, Jun 6, 2013 at 10:49 PM, Mick <michaelkintzios@gmail.com> wrote:

> 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
>

[-- Attachment #2: Type: text/html, Size: 1885 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-07 17:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-06 19:21 [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions Fast Turtle
2013-06-06 20:56 ` Mick
2013-06-07  1:22   ` Fast Turtle
2013-06-07  5:21     ` Fast Turtle
2013-06-07  5:49       ` Mick
2013-06-07 17:12         ` Fast Turtle
2013-06-06 21:07 ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox