Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
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 michaelkintz...@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
[gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
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.
Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
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 Description: This is a digitally signed message part.
Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
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
Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
On Thu, 6 Jun 2013 21:56:05 +0100 Mick michaelkintz...@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.
Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
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 ftur...@gmail.com wrote: On Thu, 6 Jun 2013 21:56:05 +0100 Mick michaelkintz...@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.
Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
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 Description: This is a digitally signed message part.