[SATLUG] Monitor res in Ubuntu 10.04

hc at lookcee.com hc at lookcee.com
Thu Jan 6 23:12:31 CST 2011



Type this into CLI:

xrandr --newmode "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025
1028 1069  -HSync +Vsync
xrandr --addmode VGA1 1280x1024
xrandr --output VGA1 --mode 1024x768
xrandr --output VGA1 --mode 1280x1024

herb at herb-Aelf:~$ xrandr --newmode "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025
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:~$ 1028 1069  -HSync +Vsync
1028: command not found
herb at herb-Aelf:~$ xrandr --addmode VGA1 1280x1024
xrandr: cannot find mode "1280x1024"
herb at herb-Aelf:~$ xrandr --output VGA1 --mode 1024x768
herb at herb-Aelf:~$ xrandr --output VGA1 --mode 1280x1024


I thought that perhaps the commands failed from the line break in the first command so I removed it leaving a single space here is the result

herb at herb-Aelf:~$ xrandr --newmode "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  21
  Current serial number in output stream:  21
herb at herb-Aelf:~$ xrandr --addmode VGA1 1280x1024
xrandr: cannot find mode "1280x1024"
herb at herb-Aelf:~$ xrandr --output VGA1 --mode 1024x768
herb at herb-Aelf:~$ xrandr --output VGA1 --mode 1280x1024xrandr --newmode "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
xrandr: cannot find mode 1280x1024xrandr
herb at herb-Aelf:~$ xrandr --addmode VGA1 1280x1024
xrandr: cannot find mode "1280x1024"
herb at herb-Aelf:~$ xrandr --output VGA1 --mode 1024x768
herb at herb-Aelf:~$ xrandr --output VGA1 --mode 1280x1024

hh




More information about the SATLUG mailing list