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. -- nvidia switch output https://bugs.launchpad.net/bugs/263887 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs