<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Add Shutdown / Reboot Functionality to Fluxbox Window Manager for X</title>
	<atom:link href="http://www.thegeekstuff.com/2010/01/how-to-add-shutdown-reboot-functionality-to-fluxbox-window-manager-for-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2010/01/how-to-add-shutdown-reboot-functionality-to-fluxbox-window-manager-for-x/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:04:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: smith matsiko</title>
		<link>http://www.thegeekstuff.com/2010/01/how-to-add-shutdown-reboot-functionality-to-fluxbox-window-manager-for-x/comment-page-1/#comment-132179</link>
		<dc:creator>smith matsiko</dc:creator>
		<pubDate>Fri, 14 Oct 2011 13:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=3458#comment-132179</guid>
		<description>I had the same challenge, this is how i simplified it quickly..
First add the user to SudoUsers: 
as root edit the file; #visudo
Add the following(substitute %users with the user)
%users ALL= NOPASSWD: /sbin/shutdown
%users ALL= NOPASSWD: /sbin/reboot

Now edit ~/.fluxbox/menu(this is a symbolic link to /etc/X11/fluxbox/fluxbox-menu) 
I prefer editing /etc/X11/fluxbox/fluxbox-menu
Append this line in the menu position of your choice between [begin] (fluxbox) and [end]
[exec] (Shutdown) {sudo /sbin/shutdown -hP now}

Enjoy..</description>
		<content:encoded><![CDATA[<p>I had the same challenge, this is how i simplified it quickly..<br />
First add the user to SudoUsers:<br />
as root edit the file; #visudo<br />
Add the following(substitute %users with the user)<br />
%users ALL= NOPASSWD: /sbin/shutdown<br />
%users ALL= NOPASSWD: /sbin/reboot</p>
<p>Now edit ~/.fluxbox/menu(this is a symbolic link to /etc/X11/fluxbox/fluxbox-menu)<br />
I prefer editing /etc/X11/fluxbox/fluxbox-menu<br />
Append this line in the menu position of your choice between [begin] (fluxbox) and [end]<br />
[exec] (Shutdown) {sudo /sbin/shutdown -hP now}</p>
<p>Enjoy..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fishcooker</title>
		<link>http://www.thegeekstuff.com/2010/01/how-to-add-shutdown-reboot-functionality-to-fluxbox-window-manager-for-x/comment-page-1/#comment-48671</link>
		<dc:creator>fishcooker</dc:creator>
		<pubDate>Tue, 01 Jun 2010 05:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=3458#comment-48671</guid>
		<description>change xmessage with zenity for more eye-candy</description>
		<content:encoded><![CDATA[<p>change xmessage with zenity for more eye-candy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 16:02:06 -->
