From 1b545997adf46e5961ab896f92dece2ee02aee36 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 11 Jan 2011 10:09:42 +0000 Subject: console-kit: Console Kit support is dependent on DBUS and is thus optional. Therefore, we must reflect this in the default.pa. Several users have reported an error with consolekit when starting a self-built PA due to the default config not working properly. This works around the issue but we should include a warning on configure about the lack of DBUS and udev support as this is a common mistake. --- src/daemon/default.pa.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/daemon') diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in index f9b9eadd..ace0f09e 100755 --- a/src/daemon/default.pa.in +++ b/src/daemon/default.pa.in @@ -111,7 +111,9 @@ load-module module-suspend-on-idle ### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. +.ifexists module-console-kit@PA_SOEXT@ load-module module-console-kit +.endif ### Enable positioned event sounds load-module module-position-event-sounds -- cgit