[ltp] xrandr output switching and debian (see bug #456778)

Csillag Tamas linux-thinkpad@linux-thinkpad.org
Tue, 29 Jan 2008 10:27:04 +0100


hi,

I am using Debian unstable on my Thinkpad X40.

I remember that I was able to switch to the external VGA output with the
right Fn+Hotkey combination.

That functionality is gone. I was using: reboot the machine with the VGA
connected as a workaround (it is very inconvinient). Then I discovered
xrandr on debian wiki http://wiki.debian.org/XStrikeForce/HowToRandR12.
Now with simple commands I can switch outputs:

autodetect and use all outputs with their defaults:
xrandr --auto

switch off VGA output:
xrandr --output VGA --off

switch off internal display output:
xrandr --output LVDS --off

It would be nice to use the acpi hotkeys for this. I already filed a
bug: http://bugs.debian.org/456778 But quite frankly I do not know how
to do it properly on distribution wide, where multiple outputs: SVIDEO
VGA are available.

So if you have an idea on this please tell me and if we reach the
conclusion I will forward it to the debian bts.

Thanks in advance!

Regards,
  cstamas
-- 
CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas

Put your hand on a hot stove for a minute, and it seems like an hour.
Sit with a pretty girl for an hour, and it seems like a minute.
That's relativity.                                   -- Albert Einstein