Sunday, August 14, 2011

xrandr

Had quite a bit of trouble trying to dynamically reconfigure my work laptop display with the dual monitor setup on my desk. I could modify xorg.conf appropriately, but everything I did required restarting X.

Turns out the solution is xrandr. I created different xorg configurations with the nvidia-settings application, added these as metamodes in xorg.conf, and now xrandr can dynamically switch between the two. It's simply a matter of calling xrandr -s, which I have mapped to a keyboard shortcut.

No comments:

Post a Comment