Manipulate monitor displays easily with the xrandr extension

This week’s techmail is Manipulate monitor displays easily with the xrandr extension which talks about how to automatically resize, re-orientate, and reconfigure your monitors using xrandr. xrandr is really cool and shines especially bright when used with laptops and dual-head displays. It certainly makes docking my laptop much simpler, and is really easy to use.

3 Comments

  1. Leif
    Posted January 25, 2010 at 10:23 am | Permalink

    In the article “The monitors may be reversed at the gdm login screen, …”

    I have this problem too, is there a way to change the gdm monitor layout?

    On this same topic of gdm layouts, my biggest problem with gdm is that it thinks my secondary monitor ist the one where my login prompt/window should go on. If I happen not to have that secondary monitor powered on, too bad, it still puts the login window there so on my primary monitor I’m stuck looking at a blue fedora wallpaper.

  2. Posted January 25, 2010 at 10:34 am | Permalink

    Yeah, I’m not sure how to fix that in gdm. Mine is backwards, and it has strange behaviour. Sometimes I get the login screen on both monitors (i.e. a mirrored mode) and sometimes only the external monitor (which is the left-most monitor, but gdm treats it like the right-most monitor). I have yet to figure out how to fix it in gdm.

  3. jose
    Posted August 2, 2010 at 4:08 am | Permalink

    here’s a possible workaround:

    cat /etc/rc.local
    #!/bin/bash
    export DISPLAY=:0
    while ! pgrep gdm-simple-gree &>/dev/null ; do
    sleep 2
    done
    sleep 2
    xdotool mousemove x y
    xdotool type ‘ ‘
    exit 0

    don’t forget to tweak x y variables to point to the correct position (monitor). obviously it works only on a fresh system restart (not when the gdm is started later on)

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*