Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

In a dual-monitor configuration (I happen to employing NVIDIA, but not sure it matters), want to both:

  1. display each monitor vertically, in "portrait" mode (rotated, with xrandr(1)),
  2. and make mouse movement/transition span horizontally between the monitors.

By "default" in vertically-rotated config, the mouse spans between monitors only from bottom of one monitor and top of the other. Extremely annoying, almost unusable.

share|improve this question

2 Answers 2

I have a monitor on a rotating mount and in prior versions of Ubuntu I would call xrandr -o right and the screen with turn to portrait; in 12.04, the screen rotates, but only for a fraction of a second and then resets, and xrandr reports the screen is now set to 'normal' again. What am I doing wrong? It is an nvidia card, and the screen config will let me rotate the screen (but that is awkward) although nvidia-settings also immediately resets back to normal when changed to a rotated view.

share|improve this answer
up vote 1 down vote accepted

Make one monitor be "above" (or "below") the other in nvidia-settings "X Server Display Configuration", as opposed to being "the right/left of" the other.

My head still explodes trying to figure out why, but I just think of it as a "relative" thing. Works for me in Ubuntu 12.04. Had to add xrandr -o left to session startup to get my display rotate to work across X-server restarts (reboots, re-logins, etc).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.