xrandr: how to tell it that a screen size is supported?

Dotan Cohen dotancohen at gmail.com
Tue Jun 8 10:24:19 UTC 2010


On 8 June 2010 00:47, J <dreadpiratejeff at gmail.com> wrote:
>> I know that! Now, how can I add 1680x1050 as a safe setting?
>
> No need to get snippy ;-) Sorry, I have no way of knowing what you do
> and don't know so instead of guessing, I erred on the side of
> caution... nothing personal, I just can't read minds these days
>

I did not mean to be snippy, sorry. There were actually little smileys
in there, showing that I was smiling when writing that as one would
smile when one finds the keys that he is looking for right there in
his back pocket. See, all those little smileys that some mistake for
pixels?

Seriously, it is hard to convey tone in email and my tone was not
intending to be snippy at all.


>>> The obvious answer to this one is to only boot when the monitor is
>>> connected to the system (e.g. when you have that system switched on
>>> the KVM).
>>>
>>
>> If that were always possible, I would not have posted here!
>
> Again, no need to get snippy.  I just said it was the obvious answer,
> not the only answer.
>

There should have been smileys in there. I realized that you were not
being a smartalek, but just covering the obvious. Again, my tone was
meant to be a friendly one.


> No worries... Honestly, I didn't know there was an example at the end
> until today.  I usually just look at a command synopsis and options...
> Heck, I learned something new myself today! :-)
>

Oh, I go through the man pages a lot! Some are very detailed. Go look
at the sox man page, it is a shining example of everything one needs
to know, and examples! Even standard utilities such as the ls manpage
have some good tips in there.


>> Lets see, if I get this from -q --verbose:
>>
>>  1680x1050 (0x4d)  146.2MHz -HSync +VSync *current +preferred
>>        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock
>>  65.3KHz
>>        v: height 1050 start 1053 end 1059 total 1089           clock
>>  60.0Hz
>>
>> Then would you agree that this would be the preferred config:
>>
>> $ sudo xrandr --newmode "1680x1050" 60.0 1680 1784 1960 2240 1050 1053
>> 1059 1089 -hsync +vsync
>
> I'd say that that looks right to me, but YMMV.  That's probably what I'd try...
>

I just wanted to confirm before blowing out the LCD!


> But read that page NoOp linked to... look at the cvt utility...
>
> Using your resolution:
> bladernr at klaatu:/var/log$ cvt 1680 1050
> # 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
> Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053
> 1059 1089 -hsync +vsync
>
> Keep in mind, that's from my laptop, so it may be slightly different
> on yours (especially the frequency)
>
> But that page is pretty good reading.  I learned something else today :-)
> That page also explains several ways to persistently set that mode so
> hopefully one of those will match your system and you'll be golden.
>

Yes, that was a good read. The Ubuntu documentation is now very good,
I need to go through it and familiarize myself. Thanks, Jeff!


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com




More information about the ubuntu-users mailing list