[SATLUG] Monitor res in Ubuntu 10.04

hc at lookcee.com hc at lookcee.com
Thu Jan 6 20:20:33 CST 2011



-----Original Message-----
From: "James Sundell" <zenbound at gmail.com>
Sent: Thursday, January 6, 2011 16:20
To: "The San Antonio Linux User's Group Mailing List" <satlug at satlug.org>
Subject: Re: [SATLUG] Monitor res in Ubuntu 10.04

Good Question. You need to figure out the name of your monitor using xrandr.

type xrandr into the terminal all by itself, it should print out something
like this

jmsn at dell:~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2048 x 2048
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1360x768       59.8
   1024x768       60.0*
   800x600        60.3     56.2
   848x480        60.0
   640x480        59.9     59.9

My monitor is named VGA1. next we use xrandr to addmode and setmode to our
desired resolution (be sure it works though, it will try whatever numbers
you plug in)

Using #VGA# to represent the code and your previously stated resolutions
this is how I would plug in the code manually.

xrandr --addmode #VGA# 1280x1024

xrandr --newmode "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025
1028 1069  -HSync +Vsync

xrandr --output #VGA# --mode 1280x1024

... and that should do it. if this fixes your problem, we can help you edit
the startup scripts to take care of the resolution automatically. If not, we
should take a look at files that we sudo'ed/changed while troubleshooting.

Please Cross-reference these two links for further reading on how to use
xrandr.

https://wiki.ubuntu.com/X/Config/Resolution#Adding%20undetected%20resolutions

http://www.ubuntugeek.com/how-to-adjust-screen-resolution-on-ubuntu.html


Good Luck!
Jameson




Jameson, Thanks. I ran xrandr and got the same res and sys/pref/monitor displays. It does not show the 1280x1024 speced in the mfg Native res.

herb at herb-Aelf:~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
  1360x768       59.8  
  1024x768       60.0*
  800x600        60.3     56.2  
  848x480        60.0  
  640x480        59.9     59.9  

herb at herb-Aelf:~$ xrandr --addmode #VGA# 1280x1024
usage: xrandr [options]
 where options are:
 -display <display> or -d <display>
 -help
 -o <normal,inverted,left,right,0,1,2,3>
           or --orientation <normal,inverted,left,right,0,1,2,3>
 -q        or --query
 -s <size>/<width>x<height> or --size <size>/<width>x<height>
 -r <rate> or --rate <rate> or --refresh <rate>
 -v        or --version
 -x        (reflect in x)
 -y        (reflect in y)
 --screen <screen>
 --verbose
 --dryrun
 --nograb
 --prop or --properties
 --fb <width>x<height>
 --fbmm <width>x<height>
 --dpi <dpi>/<output>
 --output <output>
     --auto
     --mode <mode>
     --preferred
     --pos <x>x<y>
     --rate <rate> or --refresh <rate>
     --reflect normal,x,y,xy
     --rotate normal,inverted,left,right
     --left-of <output>
     --right-of <output>
     --above <output>
     --below <output>
     --same-as <output>
     --set <property> <value>
     --scale <x>x<y>
     --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>
     --off
     --crtc <crtc>
     --panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]
     --gamma <r>:<g>:<b>
     --primary
 --noprimary
 --newmode <name> <clock MHz>
           <hdisp> <hsync-start> <hsync-end> <htotal>
           <vdisp> <vsync-start> <vsync-end> <vtotal>
           [+HSync] [-HSync] [+VSync] [-VSync]
 --rmmode <name>
 --addmode <output> <name>
 --delmode <output> <name>
herb at herb-Aelf:~$
herb at herb-Aelf:~$ xrandr --newmode "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
herb at herb-Aelf:~$
******

Following that last command nothing happened res stayed same. ??? Apparently that did not work so I then I attempted to follow the wiki link u sent


******************
(You can direct xrandr to set a different resolution like this:

 $ xrandr --output LVDS --mode 1024X768

 $ xrandr --output VGA1 --mode 1024X768

The refresh rate may also be changed, either at the same time or independently:

 $ xrandr --output LVDS --mode 1024X768 --rate 75

 $ xrandr --output VGA1 --mode 1024X768 --rate 60

Note that changes you make using xrandr only last through the current session. xrandr has a lot more capabilities - see man xrandr for details. )

******
I entered
herb at herb-Aelf:~$ xrandr --output LVDS --mode 1280X1024 --rate 75
warning: output LVDS not found; ignoring.
**********

I stopped here not knowing what to do.
hh



More information about the SATLUG mailing list