<?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: Fluxbox startup and shutdown script</title>
	<atom:link href="http://blog.sinequanon.net/2008/09/fluxbox-startup-and-shutdown-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sinequanon.net/2008/09/fluxbox-startup-and-shutdown-script/</link>
	<description></description>
	<lastBuildDate>Fri, 14 Oct 2011 13:57:34 +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://blog.sinequanon.net/2008/09/fluxbox-startup-and-shutdown-script/comment-page-1/#comment-189</link>
		<dc:creator>smith matsiko</dc:creator>
		<pubDate>Fri, 14 Oct 2011 13:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sinequanon.net/?p=28#comment-189</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

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}</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</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>
]]></content:encoded>
	</item>
</channel>
</rss>

