[Pkg-acpi-devel] Bug#665987: Bug#665987: acpi-supoort: Please make consolekit optional

Michael Meskes meskes at debian.org
Wed Mar 28 15:26:06 UTC 2012


On Wed, Mar 28, 2012 at 04:45:06PM +0200, Guillem Jover wrote:
> From this reply it's not really clear why, so maybe the attached patch
> can change your mind? consolekit it not usable anyway with things like

Well, you didn't give any reason for why it should be demoted so I didn't feel
like giving one either. :)

> startx or when the system is not running an X session, for example.

Now that is a serious problem IMO and definitely needs attention. Upstream
changed to ck-list-sessions because it seems to be the only tool working with
lightdm: https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/933626

> ++if which ck-list-sessions >/dev/null; then
> ++	LISTSESSIONS=ck-list-sessions
> ++else
> ++	LISTSESSIONS=:
> ++fi

This won't work well I think. But how about falling back to the old way of
using pinky if ck-list-sessions is not available?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL





More information about the Pkg-acpi-devel mailing list