[Pkg-acpi-devel] Bug#603796: acpi-support: getXconsole depends on Xserver running as X and not Xorg
Luca Niccoli
lultimouomo at gmail.com
Wed Nov 17 14:57:23 UTC 2010
retitle 603796 power-funcs makes incorrect assumptions about Xorg
thank you
Actually, there's also the problem that getXuser assumes XAUTHORITY is
placed in the user home; this is false with gdm3.
The attached patch (that includes and supersedes the previous one)
parses the environment of the processes that belong to the user, until
it finds an XAUTHORITY definition.
It's not pretty, but way better than assuming and I can't find an other way.
Cheers,
Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power-funcs.patch
Type: text/x-diff
Size: 840 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20101117/a30ba1ac/attachment.patch>
More information about the Pkg-acpi-devel
mailing list