nvidia switch output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-96 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Lenovo T61 laptops with Nvidia Quadro 140 NVS Laptops and (k)ubuntu 8.04:
FN+F7 for switching video output (dvi <-> lcd) does not work. annoying for
people like me who use a docing station 50% of the time.
the old work around:
start nvidia-settings, click on displays, click detect displays, click the disabled
display, click configure, click on twinview, click ok, click on the old enabled
display, click configure, click on disable, click ok, click disable, click apply,
wait for the video output to switch, click appy, click quit, click quit.
well, that is too many clicks. I wrote a tiny C program to switch video output
using the nvidia control api. can you add this somewhere to ubuntu? maybe
to the nvidia driver? (or some extra package?)
bonus if you can configure fn+f7 to run this program :)
the ACPI key for the video button is:
ibm/hotkey HKEY 00000080 00001007
so if you install this application as /root/bin/ switch- display, you need to edit events/ ibm-videobtn and set action= /root/bin/ switch- display
/etc/acpi/
restart acpid using "/etc/init.d/acpid restart" (or reboot) and you should have a working
way to switch video output.