[Debian-eeepc-devel] [eeepc-acpi-scripts PATCH] Allow X detection without an existing console/terminal session

Darren Salt linux at youmustbejoking.demon.co.uk
Fri Oct 24 11:35:43 UTC 2008


I find that either the first method in detect_x_display() for finding a
logged-in user succeeds or the second method also fails. This patch replaces
the second method: rather than extract all logged-in users, look for a
process which is using a console and has certain environment variables which
then are used for OSD purposes. (The OSD will also work if a login manager is
currently in control.)

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Use more efficient products. Use less.          BE MORE ENERGY EFFICIENT.

A pound of puppies; a college of cardinals; a bowl of weevils.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-detect.patch
Type: application/octet-stream
Size: 1016 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20081024/e430b951/attachment-0001.obj 


More information about the Debian-eeepc-devel mailing list