[Debian-eeepc-devel] Bug#500191: Bug#500191: eeepc-acpi-scripts: VGA toggle does nothing
John Goerzen
jgoerzen at complete.org
Thu Sep 25 21:39:17 UTC 2008
Damyan Ivanov wrote:
> -=| 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.
>
That does appear to fix it.
-- John
More information about the Debian-eeepc-devel
mailing list