<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[CrunchBang Linux Forums - New Logout Script with Hibernate & Suspend Options]]></title>
	<link rel="self" href="http://www.crunchbanglinux.org/forums/feed/atom/topic/148/"/>
	<updated>2011-05-28T17:53:34Z</updated>
	<generator>PunBB</generator>
	<id>http://crunchbanglinux.org/forums/topic/148/new-logout-script-with-hibernate-suspend-options/</id>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/124996/#p124996"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Bump, same error as donricouga.</p><p>My suspend is working from the power manager, just not from the Exit menu</p>]]></content>
			<author>
				<name><![CDATA[reformat]]></name>
				<uri>http://crunchbanglinux.org/forums/user/10494/</uri>
			</author>
			<updated>2011-05-28T17:53:34Z</updated>
			<id>http://crunchbanglinux.org/forums/post/124996/#p124996</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/109825/#p109825"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>mine isn&#039;t working either. I tried to install oblogout &quot;sudo apt-get install oblogout&quot; but i get</p><br /><p>E: Unable to locate package oblogout</p><p>Where did it go?</p>]]></content>
			<author>
				<name><![CDATA[donricouga]]></name>
				<uri>http://crunchbanglinux.org/forums/user/8622/</uri>
			</author>
			<updated>2011-02-28T18:36:55Z</updated>
			<id>http://crunchbanglinux.org/forums/post/109825/#p109825</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/54353/#p54353"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Sorry - no change - hibernate &amp; suspend still non functional ..</p>]]></content>
			<author>
				<name><![CDATA[tonyoptical]]></name>
				<uri>http://crunchbanglinux.org/forums/user/3160/</uri>
			</author>
			<updated>2010-02-06T21:22:47Z</updated>
			<id>http://crunchbanglinux.org/forums/post/54353/#p54353</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/54329/#p54329"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>tonyoptical wrote:</cite><blockquote><p>Hi</p><p>Tested the new script on my FSC S7110. Neither the hibernate nor the suspend button cause any action.<br />The dialogue windows just sits there - shutdown &amp; reboot &amp; logoff work same like before.</p><p>Regards</p></blockquote></div><p>If the script doesn&#039;t work, you need to install oblogout &quot;sudo apt-get install oblogout&quot;. That was discussed before.</p>]]></content>
			<author>
				<name><![CDATA[Nico3d3]]></name>
				<uri>http://crunchbanglinux.org/forums/user/4753/</uri>
			</author>
			<updated>2010-02-06T19:01:38Z</updated>
			<id>http://crunchbanglinux.org/forums/post/54329/#p54329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/54261/#p54261"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Hi</p><p>Tested the new script on my FSC S7110. Neither the hibernate nor the suspend button cause any action.<br />The dialogue windows just sits there - shutdown &amp; reboot &amp; logoff work same like before.</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[tonyoptical]]></name>
				<uri>http://crunchbanglinux.org/forums/user/3160/</uri>
			</author>
			<updated>2010-02-06T07:52:14Z</updated>
			<id>http://crunchbanglinux.org/forums/post/54261/#p54261</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/54206/#p54206"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Thanks, I already adjusted these parameters but it didn&#039;t help at all. It&#039;s as if Linux did not detect the closure of the lid.</p>]]></content>
			<author>
				<name><![CDATA[Nico3d3]]></name>
				<uri>http://crunchbanglinux.org/forums/user/4753/</uri>
			</author>
			<updated>2010-02-05T21:22:34Z</updated>
			<id>http://crunchbanglinux.org/forums/post/54206/#p54206</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/54202/#p54202"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>^ You should be able to set this in Preferences &gt;&gt; Screensaver &amp; Power Management.</p>]]></content>
			<author>
				<name><![CDATA[pvsage]]></name>
				<email><![CDATA[pvsage@email.com]]></email>
				<uri>http://crunchbanglinux.org/forums/user/3596/</uri>
			</author>
			<updated>2010-02-05T21:05:57Z</updated>
			<id>http://crunchbanglinux.org/forums/post/54202/#p54202</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/54198/#p54198"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>I needed to install oblogout in order to get the suspend button to work. However the laptop does not suspend itself when I close the lid. Usually, it goes to sleep as soon as I close it but I lost this function when I installed crunchbang. Does anyone know how to get it back? I have a HP/Compaq NC8000</p>]]></content>
			<author>
				<name><![CDATA[Nico3d3]]></name>
				<uri>http://crunchbanglinux.org/forums/user/4753/</uri>
			</author>
			<updated>2010-02-05T20:35:14Z</updated>
			<id>http://crunchbanglinux.org/forums/post/54198/#p54198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/52673/#p52673"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>corenominal wrote:</cite><blockquote><p>The new script can be installed with the following terminal command:</p><div class="codebox"><pre><code>sudo apt-get update &amp;&amp; sudo apt-get install openbox-logout-script</code></pre></div></blockquote></div><p> I tried installing via terminal and received the following error </p><div class="quotebox"><blockquote><p>Couldn&#039;t find package openbox-logout-script</p></blockquote></div><p> Maybe I&#039;m missing a needed repository? <a href="http://crunchbanglinux.org/pastebin/478">My sources.list</a> Thanks.</p><p><strong>[SOLVED]:</strong><a href="http://crunchbanglinux.org/forums/post/41863/#p41863">Found it</a></p>]]></content>
			<author>
				<name><![CDATA[nabilalk]]></name>
				<uri>http://crunchbanglinux.org/forums/user/656/</uri>
			</author>
			<updated>2010-01-25T22:41:48Z</updated>
			<id>http://crunchbanglinux.org/forums/post/52673/#p52673</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/50032/#p50032"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>corenominal wrote:</cite><blockquote><div class="quotebox"><cite>rho wrote:</cite><blockquote><p>How do I make oblogout command show the seven options - cancel, hibernate, suspend, logout, reboot, shutdown, lock?</p></blockquote></div><p>Here is the original file with all options...</p></blockquote></div><p>I added switch (change user) button:</p><div class="codebox"><pre><code>[looks]
opacity = 70
bgcolor = black
buttontheme = foom-small
buttons = cancel, logout, switch, lock, suspend, hibernate, restart, shutdown

[shortcuts]
cancel = Escape
shutdown = S
restart = R
suspend = U
logout = L
lock = K
hibernate = H
switch = W</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Mguel]]></name>
				<uri>http://crunchbanglinux.org/forums/user/4416/</uri>
			</author>
			<updated>2010-01-01T13:25:10Z</updated>
			<id>http://crunchbanglinux.org/forums/post/50032/#p50032</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/50031/#p50031"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>Finally I edited /usr/share/pyshared/oblogout/oblogout.py and replaced:</p><div class="codebox"><pre><code>        elif (data == &#039;hibernate&#039;):
            self.window.hide()
            os.system(&#039;gnome-screensaver-command -l&#039;)
            try:
                self.dbus_powermanagement.Hiberate() 
            except:
                pass        
            self.quit()</code></pre></div><p> with<br /></p><div class="codebox"><pre><code>        elif (data == &#039;hibernate&#039;):
            self.window.hide()
            os.system(&#039;sleep 1s &amp;&amp; gnome-power-cmd hibernate&#039;)
            self.quit()</code></pre></div><p>And now hibernate button on oblogout is working fine also. Probably is not something safe and efective for all the systems, buy I wanted to mention it in case other has the same issues as I did.</p><p>Cheers,<br />Mguel</p><p>PS: not sure if the one second delay is necessary but I kept the same command used by openbox-logout</p>]]></content>
			<author>
				<name><![CDATA[Mguel]]></name>
				<uri>http://crunchbanglinux.org/forums/user/4416/</uri>
			</author>
			<updated>2010-01-01T13:20:13Z</updated>
			<id>http://crunchbanglinux.org/forums/post/50031/#p50031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/50030/#p50030"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<p>With openbox-logout I got error:<br />sh: gnome-power-cmd.sh: not found</p><p>I edited /usr/bin/openbox-logout and replaced &quot;gnome-power-cmd.sh&quot; with&nbsp; &quot;gnome-power-cmd&quot; on Hibernate and Suspend, and both work ok now :D.</p><p>Installed also oblogout, and suspend works ok, but hibernate only locks the screen... what command uses oblogout to hibernate? Maybe I could edit that... but on /usr/bin/oblogout there are not visible (by me) direct commands for the different button actions... Maybe other file to edit the commands? I would like to fix it since I prefer the looks of oblogout ;)</p><p>Cheers,<br />Mguel</p><p>PS: Using from a couple of days ago CrunchBang (9.04), and liking it a lot (even though my desktop is capable of a heavier systems... I used Kubuntu previously)</p>]]></content>
			<author>
				<name><![CDATA[Mguel]]></name>
				<uri>http://crunchbanglinux.org/forums/user/4416/</uri>
			</author>
			<updated>2010-01-01T13:00:07Z</updated>
			<id>http://crunchbanglinux.org/forums/post/50030/#p50030</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/49927/#p49927"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rasmith3530 wrote:</cite><blockquote><p>Now if I could only figure out how to make it suspend when I close the lid!</p></blockquote></div><p>On terminal or alt+F2 run gnome-screensaver-preferences, then power management on the bottom and change the close lid behavior to the one you want.</p>]]></content>
			<author>
				<name><![CDATA[slapfish]]></name>
				<uri>http://crunchbanglinux.org/forums/user/3642/</uri>
			</author>
			<updated>2009-12-31T02:42:50Z</updated>
			<id>http://crunchbanglinux.org/forums/post/49927/#p49927</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/49869/#p49869"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Pirolocito wrote:</cite><blockquote><p>I made suspend other way.....</p><p>just &quot;<strong>gksudo gedit /usr/bin/openbox-logout</strong>&quot;</p><p>and make other button.....</p></blockquote></div><p>Thank you ever so much Pirolocito! This worked like a charm on my little Asus Eee 900/16 netbook running #!CrunchBang 9.04.01. Now if I could only figure out how to make it suspend when I close the lid!</p>]]></content>
			<author>
				<name><![CDATA[rasmith3530]]></name>
				<uri>http://crunchbanglinux.org/forums/user/411/</uri>
			</author>
			<updated>2009-12-30T09:40:54Z</updated>
			<id>http://crunchbanglinux.org/forums/post/49869/#p49869</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Logout Script with Hibernate & Suspend Options]]></title>
			<link rel="alternate" href="http://crunchbanglinux.org/forums/post/46820/#p46820"/>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 178 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Pirolocito wrote:</cite><blockquote><p>I made suspend other way.....</p><p>just &quot;<strong>gksudo gedit /usr/bin/openbox-logout</strong>&quot;</p><p>and make other button.....</p></blockquote></div><br /><p>Thank you Pirolocito!!! this works like a charm in my acer aspire 5635wlmi... :D</p>]]></content>
			<author>
				<name><![CDATA[slapfish]]></name>
				<uri>http://crunchbanglinux.org/forums/user/3642/</uri>
			</author>
			<updated>2009-11-27T21:42:33Z</updated>
			<id>http://crunchbanglinux.org/forums/post/46820/#p46820</id>
		</entry>
</feed>

