Topic: Xrandr quick scripts
I hook my laptop to my tv an a quite regular basis. I store all recorded tv episodes and such on my desktop and I use sshfs to view them on the tv via this connection. I find grandr a little odd to understand so I just put together to very short scripts that give me what I want.
#!/bin/bash
xrandr --output VGA1 --auto --right-of LVDS1 &
exit
This adds VGA as an extended desktop to the right of LVD.
This handles both resolutions very well and once you set up the wallpapers with the seperate options for both in nitrogen, nitro will store that config in a file and will automatically reapply the settings when you reconnect.
#!/bin/bash
xrandr --output VGA1 --off &
exit
That restores to the original single monitor settings.
That is much simpler than fussing with grandr every time I have to hook it up so my daughter can watch cinderella or sleeping beauty.
Last edited by monkeybritt (2010-01-12 05:05:01)
i am constantly learning.