How to make primary display rotate

Asked by John Hart

I see that the rotation of a second monitor is supported in the 8.04LTS Xorg 7.3, but nothing is mentioned about rotating the primary monitor. I have a 22-inch monitor that is made to rotate 90 degrees (from horizontal wide to vertical tall). This is so that documents (like our current paper size of 8.5 X 11) can be entirely shown.

How does one get the primary monitor image to rotate?

The System>Preferences>Screen Resolution pull down does not allow changes except resolution.

I am using 8.04LTS an AMD Athlon 64 2X CPU, PNY nvidia 7300GT GPU.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Selene ToyKeeper (toykeeper) said :
#1

I do this on my system with a couple of small scripts:

  ~/bin/xportrait:
    xrandr --output VGA --rotate left

  ~/bin/xlandscape:
    xrandr --output VGA --rotate normal

You may need to change the "VGA" part, perhaps to DVI-0 or similar. However, the rest should be the same.

I know this solution isn't part of a GUI, but I find it easier to type than click when the monitor is rotated anyway.

Does this help?

Can you help with this problem?

Provide an answer of your own, or ask John Hart for more information if necessary.

To post a message you must log in.