Scripts:

dualHeadOn:
#!/bin/sh
xrandr --output LVDS1 --off #           - off notebook's LCD
xrandr --output VGA1 --off #            - off VGA
xrandr --output DVI1 --auto #           - on DVI
xrandr --output DVI1 --pos 0x0 #        - set DVI's Crtc
xrandr --output VGA1 --auto #           - on VGA
xrandr --output VGA1 --pos 1280x0 #     - set VGA's Crtc

dualHeadOff:
#!/bin/sh
xrandr --output DVI1 --off #            - off external DVI
xrandr --output VGA1 --off #            - off external VGA
xrandr --output LVDS1 --auto #          - on internal LCD

-- 
Strange interaction xrandr and KDE4
https://bugs.launchpad.net/bugs/519575
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to x11-xserver-utils in ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to