[Ilugc] .a-tip-a-day (xrandr - set X resolution and orientation)

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Mon Sep 28 05:30:40 2009

We are revisiting this utility since I got to know its power only recently.

Silly me!

$ xrandr -o left

$ xrandr -o right

$ xrandr -o inverted

$ xrandr -o normal

Try all this. It is great fun!

$ xrandr -s 1024x768

will set the 1024x768 pixels mode. You set the refresh rate with the -r switch.

In my case I can get the 1280x1024 mode, but then the refresh rate is very poor.

So I switched back.

For higher modes you get lower refresh rates since there are
limitations in the graphics
memory of the graphics card.

Of course you guys must be knowing the Alt Ctl + and Alt Ctrl -
keystrokes for switching
between modes. And you can kill X by Alt Ctrl Backspace. If you are
running a display
manager this will only restart X.

Remember xrandr is a X extension. You should have it loaded for all
this to work.

In general all my tips may necessitate installation of some package.
You have to take
care of that.

Since there is no universal way to install packages and you cannot
install all packages from
source I will leave that out. You have to figure out.

If you are using Debian, of course things are very simple. ;)

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com

Other related posts:

  • » [Ilugc] .a-tip-a-day (xrandr - set X resolution and orientation) - Girish Venkatachalam