From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GOHhq-0004LE-KU for garchives@archives.gentoo.org; Fri, 15 Sep 2006 17:42:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8FHfjRT012285; Fri, 15 Sep 2006 17:41:45 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8FHbSO3031565 for ; Fri, 15 Sep 2006 17:37:29 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4C25364600 for ; Fri, 15 Sep 2006 17:37:28 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12739-10 for ; Fri, 15 Sep 2006 17:37:21 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id D070B64729 for ; Fri, 15 Sep 2006 17:37:20 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GOHc7-0002vo-3h for gentoo-user@gentoo.org; Fri, 15 Sep 2006 19:36:31 +0200 Received: from mue-88-130-121-119.dsl.tropolys.de ([88.130.121.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Sep 2006 19:36:31 +0200 Received: from listen by mue-88-130-121-119.dsl.tropolys.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Sep 2006 19:36:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Alexander Skwar Subject: [gentoo-user] Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend? Date: Fri, 15 Sep 2006 19:35:58 +0200 Organization: =?UTF-8?B?4p2NLsK3LuKdjQ==?= Message-ID: <1360045.rvUz1BsyBC@m-id.message-center.info> References: <1229866.ZmcgCAkQhz@m-id.message-center.info> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mue-88-130-121-119.dsl.tropolys.de User-Agent: KNode/0.10.2 Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.57 required=5.5 tests=[AWL=0.029, BAYES_00=-2.599] X-Spam-Score: -2.57 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k8FHfjRh012285 X-Archives-Salt: 594ef8a5-a6bc-4b94-91b1-c98d3b690d1c X-Archives-Hash: 8e17b0909cd092d423c64cc314a13195 =C2=B7 Robert Cernansky : > On Thu, 14 Sep 2006 23:19:17 +0200 Alexander Skwar wrote: >=20 >> That dialog has a lot more options than the dialog shown in Gentoo. >> In Gentoo, I do not have "Ruhezustand" (Hibernate) and the dialog >> looks a lot simpler. >>=20 >> What do I have to do, to get the Ubuntu gnome logout dialog in >> Gentoo as well? >=20 > To add hibernate option you have to set SuspendCommand variable in > /etc/X11/gdm.conf. However I found out that if I set this to hibernate > script, it is not executed. >=20 > SuspendCommand=3D/usr/sbin/hibernate >=20 > I'm trying to get it work but I do not get any error message or error > log. I found an old thread of mine on the gnome-power-management list. See http://thread.gmane.org/gmane.comp.gnome.powermanager.devel/115= 6/focus=3D1156 Esp. http://permalink.gmane.org/gmane.comp.gnome.powermanager.devel/1163 is of interest: > Unless it changed recently (post 0.57) the answer as to what gets execu= ted can be had by the following commands. The first one will tell you how= to interpret the second. >=20 > hal-get-property --udi /org/freedesktop/Hal/devices/computer \ > --key org.freedesktop.Hal.Device.SystemPowerManagement.method_names >=20 > hal-get-property --udi /org/freedesktop/Hal/devices/computer \ > --key org.freedesktop.Hal.Device.SystemPowerManagement.method_execpat= hs >=20 >=20 > On my system (FC5) those produce the following. >=20 > Suspend Hibernate Shutdown Reboot SetPowerSave >=20 >=20 >=20 > hal-system-power-suspend hal-system-power-hibernate hal-system-power-sh= utdown hal-system-power-reboot hal-system-power-set-power-save >=20 >=20 > Ubuntu doesn't have such files. So, something different must happen= , > when those buttons are pressed. Is there a documentation reg. g-p-m= ? > If so - where? >=20 > on FC5 those files live in /usr/share/hal/scripts >=20 >=20 > Andrew >=20 >=20 >=20 >=20 Alexander Skwar --=20 Das Merkmal eines kleinen Menschen ist, da=C3=9F er hochm=C3=BCtig wird, = wenn er merkt, da=C3=9F man ihn braucht. -- Friedl Beutelrock --=20 gentoo-user@gentoo.org mailing list