[Debian-eeepc-devel] Bug#500191: Bug#500191: eeepc-acpi-scripts: VGA toggle does nothing

Damyan Ivanov dmn at debian.org
Thu Sep 25 21:13:59 UTC 2008

-=| John Goerzen, Thu, Sep 25, 2008 at 03:48:11PM -0500 |=-
> Package: eeepc-acpi-scripts
> Version: 1.0.7
> Severity: normal
> I can manually su to root and run /etc/acpi/actions/vga-toggle.sh, and
> it works, but Fn-F5 doesn't.
> Some debugging showed that this is because xrandr is failing when
> called that way, because DISPLAY is not set.  That makes sense; where
> would it be set when acpid calls it?  Adding export DISPLAY=:0.0
> didn't help, though; probably XAUTH issue?

Hm. Can you try if sourcing /usr/share/eeepc-acpi-scripts/functions.sh 
and calling detect_x_display in vga-toggle.sh makes any difference?  
detect_x_display should do the DISPLAY/xauth magic.

dam            JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080926/88120fc9/attachment.pgp 

More information about the Debian-eeepc-devel mailing list