Wednesday, December 14, 2011

Putting your monitor in portrait mode

I have a wonderful HP LP2475W monitor with a pivoting standard:
http://ii.alatest.com/product/full/5/8/HP-LP2275-LP2475-0.jpg

I wondered if it was easy to use the portrait mode under Linux.

When using proprietary nvidia drivers it is no problem at all:
1. Add the following line to the Device-section for the graphics-card (in /etc/X11/xorg.conf):

Option "RandRRotation" "on"


2. Use these two commands:
xrandr -o 1 Rotate to portrait
xrandr -o 0 Rotate to landscape


3. Add this to rc.xml keybindings to use Openbox keybindings Super + Left (W+ Left) for Portrait and Super + Right back to Landscape Mode

xterm -e "xrandr -o 0"   Screen in Portait Mode
xterm -e "xrandr -o 1" Screen in Landscape Mode

Thanks to this article: http://symlink.dk/linux/config/pivot/

No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.