[Intel-gfx] Changing the screen resolution permanently

Felix Miata mrmazda at earthlink.net
Fri Sep 18 11:38:25 PDT 2015


Engin FIRAT composed on 2015-09-18 20:07 (UTC+0300):

> In my system there are two monitors and these monitors are fed by mirrored
> displays. To get such a configuration I have created a script that
> dynamically adjusts the system by using xrandr. The script is attached as
> changeres.sh. Everything works well. However I've note that the system
> startup time is increased by ~15 seconds and I do not want such a case. To
> handle this problem, I think that I need to adjust the screen resolution
> permanently with a xorg.conf file. However I cannot create one that adjusts
> the monitors as expected. xorg.conf file is also attached to this post.

> Details of the system:
> Processor: Intel Atom E3845
> OS: Lubuntu 14.04.1
> Driver: Installed via intel-graphics-installer 1.0.7

> I have tried to create a xorg.conf file with the command X -configure,
> however the created file is for only one monitors since the system uses
> only the first monitor at its default configuration (ie. no xrandr setting)

> Could you please help me to create a correct xorg.conf file.

See if this provides enough skeleton to get you going.
http://fm.no-ip.com/Share/Linux/xorg.conf-inteldual03

Note that for your needs, each Section "Monitor" in it is overkill. It should
be sufficient to include in each only an identifier and a position option.
For 1280x1024 displays, everything else should either be unnecessary, or
auto-generate via EDID.

Note too that it intentionally contains no modelines. At least 99.9999% of
the time, the system is smart enough to auto-generate whatever modeline is
applicable to the appropriate mode, so don't waste your time looking for or
including any modelines unless your Commander and Operator 1280x1024 displays
have already proven themselves incapable of allowing appropriate auto-generation.

Note that Kubuntu has a built-in utility called kscreen that autostarts
unless you explicitly override it. Were you to add KDE to your Lubuntu, you
might find Kscreen overriding your custom configuration:
https://bugs.kde.org/show_bug.cgi?id=317929
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


More information about the Intel-gfx mailing list