Created my own first, taken from the posts of the Ubuntu forums (search tag: no xorg.conf)
Then used this how-to to set it up somewhat; I used the custom scripts below.
1. Script to turn on VGA:
#!/bin/bash # ~/Scripts/1024scale.sh # change display settings to clone mode, 1024x768 pix for VGA (projector) and scales it to the resolution of 1024x600 of the internal display xrandr --newmode "1024x768" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync xrandr --addmode VGA1 1024x768 xrandr --fb 1024x768 xrandr --output VGA1 --mode 1024x768 xrandr --fb 1024x768 --output LVDS1 --mode 1024x768 --scale 1x1 --panning 0x0
2. Script to turn off VGA, and revert my laptop's 1280 x 800 resolution:
#!/bin/bash # ~/Scripts/1024off.sh # Sets VGA output to 1024x768 (native resolution for most projectors) and sets internal display to off xrandr --output VGA1 --off xrandr --fb 1280x800 --output LVDS1 --mode 1280x800 --auto
No comments:
Post a Comment