<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://tanguy.ortolo.eu/blog/feed/rss/commentaires/" />
	<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli</link>
	<language>en</language>
	<description>a blog about Debian and self-hosting</description>
	<lastBuildDate>Wed, 06 Mar 2013 22:18:00 +0000</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by Anonymous @ wednesday 06 march 2013, 22:18</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362608318-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362608318-1</guid>
		<description>&amp;gt; Maybe adding a zzz script (with getopts) that can deal with /sys/power and all that (please no dbus) would be an idea indeed?

Part of doing the right thing in all environments includes integrating with environments that require UPower or similar DBus interfaces.</description>
		<pubDate>Wed, 06 Mar 2013 22:18:00 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
	</item>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by mirabilos @ wednesday 06 march 2013, 12:12</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362571970-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362571970-1</guid>
		<description>JoeyH, in MirBSD, we have the zzz(8) utility – https://www.mirbsd.org/htman/i386/man8/zzz.htm – for that (it’ll only send it to sleep as that’s all APM can do, though). Maybe adding a zzz script (with getopts) that can deal with /sys/power and all that (please no dbus) would be an idea indeed?</description>
		<pubDate>Wed, 06 Mar 2013 12:12:00 +0000</pubDate>
		<dc:creator>mirabilos</dc:creator>
	</item>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by Philipp Kern @ wednesday 06 march 2013, 09:21</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362561671-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362561671-1</guid>
		<description>Hm, thanks. It&amp;#039;s incredible how long it takes. Also I get a org.freedesktop.DBus.Error.NoReply back, even though the laptop did in fact suspend.

So what I currently use is &amp;quot;i3lock &amp;amp;&amp;amp; sudo /usr/sbin/pm-suspend&amp;quot;, which is much quicker. But I&amp;#039;m still annoyed that Fn-F4 only works sometimes. With gnome-screensaver in the background it&amp;#039;s activated by upower, which is nice. The i3 author refused to implement that dbus call into i3lock, though, claiming that it&amp;#039;s not a standard. *sigh*</description>
		<pubDate>Wed, 06 Mar 2013 09:21:00 +0000</pubDate>
		<dc:creator>Philipp Kern</dc:creator>
	</item>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by Anonymous @ tuesday 05 march 2013, 20:58</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362517096-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362517096-1</guid>
		<description>The three instances of upower on the dbus command line, despite appearances, refer to three different things: an identifier for the upower service on the bus, a path to an object, and a method to execute on that object.</description>
		<pubDate>Tue, 05 Mar 2013 20:58:00 +0000</pubDate>
		<dc:creator>Anonymous</dc:creator>
	</item>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by Manuel Pégourié-Gonnard @ tuesday 05 march 2013, 17:53</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362505994-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362505994-1</guid>
		<description>I&amp;#039;ve been using the commands s2ram, s2disk and s2both from uswsusp (with sudo) for quite some time now, without any problem.</description>
		<pubDate>Tue, 05 Mar 2013 17:53:00 +0000</pubDate>
		<dc:creator>Manuel Pégourié-Gonnard</dc:creator>
	</item>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by Paul Menzel @ tuesday 05 march 2013, 17:27</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362504478-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362504478-1</guid>
		<description>@Tanguy: What about `echo mem | sudo tee /sys/power/state` to make it “sudoable”?</description>
		<pubDate>Tue, 05 Mar 2013 17:27:00 +0000</pubDate>
		<dc:creator>Paul Menzel</dc:creator>
	</item>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by Tanguy @ tuesday 05 march 2013, 16:50</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362502234-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362502234-1</guid>
		<description>@Pev, @foo: Writing to /sys/power/state works fine, but it is not sudoable. For that, pm-utils is more appropriate.

@gregoa : Yes, this is an appropriate alternative, with either sudo or setuid permissions and execution limited to a specific group like powerdev.</description>
		<pubDate>Tue, 05 Mar 2013 16:50:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
	<item>
		<title>Suspend your computer from a non-mainstream desktop environment - Written by Joey Hess @ tuesday 05 march 2013, 16:22</title> 
		<link>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362500520-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article97/suspend-cli/#c1362500520-1</guid>
		<description>Every so often I want to go to bed before my laptop is done with some long-running task, but have it suspend later so as not to eat power all night long. Without fail when this happens, I am already tired and invariably cannot remember what the right command line is to use this time. It seems this comes up infrequently enough that the command has often changed since last time...

It seems to me that a distribution like Debian should be able to decide on a command name that makes sense, make it easy to discover with searches like man -k sleep (which comes up empty currently), and arrange for whatever the &amp;quot;right&amp;quot; command is to always be run by that command. 

This is an integration problem, it&amp;#039;s what distributions are supposed to be good at.</description>
		<pubDate>Tue, 05 Mar 2013 16:22:00 +0000</pubDate>
		<dc:creator>Joey Hess</dc:creator>
	</item>
		<title>Tanguy Ortolo - Suspend your computer from a non-mainstream desktop environment - Comments</title> 
</channel>
</rss>