-=| 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: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to