[Pkg-acpi-devel] Bug#655394: Bug#655394: [PATCH] Let acpi-support not handle power stuff if gnome3 is handling it already

Matthijs Kooijman matthijs at stdin.nl
Wed Jan 11 15:18:21 UTC 2012


Hi Michael,

> Did you look into PowerDevilRunning() in the same file? This function gets the
> module information from KDE. I guess the Gnome version could work similarly.
Hmm, I was going to look at that function and then got distracted or
something. Stupid I overlooked that.

> > Having said that, I guess this patch is a sufficient solution?
> Actually the dbus version would be preferable if doable.

Here's a new patch, that uses dbus. I've generalized the PowerDevil
function to prevent duplicate code, but I haven't actually been able to
test the code on KDE (but the changes are small enough to not expect
any problems).

I've also not tested this on an older gnome, but I did try running
gnome-settings-daemon without the Power plugin loaded, which works as
expected.

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpi-dbus-check.diff
Type: text/x-diff
Size: 2233 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20120111/47a3a8a3/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20120111/47a3a8a3/attachment.pgp>


More information about the Pkg-acpi-devel mailing list