Using Xandr

Sam Sharpe lists.redhat at samsharpe.net
Fri Jan 22 23:59:02 UTC 2010


2010/1/22 Jim <mickeyboa at sbcglobal.net>:
> FC12-X86_64/KDE,  noveau
>
> I'm trying to change the Resolution to 1024x768 using xandr but it won't
> work.
> Could someone help me.
>
>  # xrandr
> Screen 0: minimum 320 x 200, current 1600 x 900, maximum 4096 x 4096
> VGA-0 connected 1600x900+0+0 (normal left inverted right x axis y axis)
> 443mm x 249mm
>    1600x900       59.9*+
>    1280x1024      60.0
>    1280x960       60.0
>    1280x800       59.8
>    1152x864       75.0
>    1280x720       60.0
>    1024x768       75.1     70.1     60.0
>    832x624        74.6
>    800x600        72.2     75.0     60.3     56.2
>    640x480        72.8     75.0     66.7     60.0
>    720x400        70.1
> DVI-D-0 disconnected (normal left inverted right x axis y axis)

This looks OK.

> #  xrandr --newmode "1024x768" 63.50  1024 1072 1176 1328  768 771 775
> 798 -hsync +vsync
> X Error of failed request:  BadName (named color or font does not exist)
>   Major opcode of failed request:  148 (RANDR)
>   Minor opcode of failed request:  16 (RRCreateMode)
>   Serial number of failed request:  23
>   Current serial number in output stream:  23
> [root at gray tom]# xrandr --addmode VGA 1024x768
> xrandr: cannot find output "VGA"

Why are you trying to add a mode that already exists in your output above?
Why do you think your output is called "VGA"?

Oh - I see now. You blindly copied that from the manpage.

> [root at gray tom]# xrandr --output VGA --mode 1024x768

Your outputs are "VGA-0" and "DVI-D-0" - try just:

 [root at gray tom]# xrandr --output VGA-0 --mode 1024x768

--
Sam


More information about the users mailing list