Comment 4 for bug 263887

Revision history for this message
Andreas Jellinghaus (tolonuga) wrote :

this switches the video output, but doesn't change resolution, frequencies etc. so far.
need to figure out how nvidia-settings does that (and how "auto" resolution works there).
converted the tool to a patch and send it to the nvidia-settings developers and asked
for help there.

also DISPLAY and XAUTHORITY needs to be set so acpid can start some process accessing
X. e.g. "XAUTHORITY=`ls /var/run/xauth/*` DISPLAY=:0 /root/bin/switch-video" might work.