<div dir="ltr">Hi Roy,<div><br></div><div>I made the xorg.conf file with exactly those contents and permissions (and now understand the elusive chmod codes!). On rebooting I checked with xrandr and it loaded as 1600x900 resolution, which isn't even listed in xorg.conf, but that may have been the resolution I was using before rebooting.</div><div><br></div><div>Anyway, I set the resolution to 1280x720 (which is what I want) and rebooted and hey presto it stuck. I tested it with a few screen locks by closing the laptop lid, and it seems to preserve my choice, though I do now seem to have a slightly odd issue in that the screen blacks out half way through typing my password, and I have to use the power button to bring the screen back on, but it still has the password half typed. I think I can live with that however.</div><div><br></div><div>So, all good so far, I'll keep an eye on it and revive the thread if it shows signs of freezing up again.</div><br class="gmail-Apple-interchange-newline">Thanks so much for all your help!!<div><br></div><div>Andrew.</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 12, 2016 at 2:07 PM, Edinburgh Linux Users Group <span dir="ltr"><<a href="mailto:edlug@lists.edlug.org.uk" target="_blank">edlug@lists.edlug.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2016.11.12 00:45, Edinburgh Linux Users Group wrote:<br>
> Hi all,<br>
<span class="gmail-m_7829591044481960451gmail-"><br>
><br>
> So, additional info:<br>
><br>
> The desktop environment is Cinnamon<br>
> There is indeed a display settings dialog box which does change the<br>
> settings (but sometimes causes a freeze) but the settings are not<br>
> preserved, which is the only reason I looked into xrandr in the first<br>
> place.<br>
> The screen resolutions I am trying to hit are either 1280x720 or<br>
> 1360x768,<br>
</span>[snip]<br>
<span class="gmail-m_7829591044481960451gmail-"><br>
> On line 181 it says "....switch to mode 1920x1080@60.0..." still as<br>
> part of<br>
> boot (I presume) but I don't know why it picks that.<br>
> Other than that, I'm not sure what I'm looking for.<br>
<br>
</span>That's Xorg starting up and using the automatically detected<br>
1920x1080@60.0 native resolution of the display.<br>
We probably have different views if its a part of the boot process<br>
or not.  I use a console logon and start the desktop myself,<br>
so I don't view Xorg startup as part of boot.  Users with a<br>
graphical log in probably do, since Xorg is required to display the<br>
login screen.<br>
<br>
Reading man intel, the man page for the Intel video driver, makes<br>
it look like the driver doesn't need anything special to make it provide<br>
other resolutions, as long as they are advertised in the EDID data<br>
read from the display. Some drivers list them in the log, some don't<br>
<br>
Lets try the easy bit first.  On its own, it may not be sufficient.<br>
Make a file /etc/X11/xorg.conf with the following content.<br>
<br>
<br>
Section "Screen"<br>
    Identifier  "Screen 1"<br>
    DefaultDepth 24<br>
<br>
    Subsection "Display"<br>
        Depth       24<br>
        Modes        "1280x720" "1360x768" "800x600"<br>
        ViewPort    0 0<br>
    EndSubsection<br>
EndSection<br>
<br>
The file needs to be  -rw-r--r-- 1 root root<br>
<br>
man xorg.conf will make your eyes glaze over but it will explain<br>
what all those lines do.<br>
<br>
This should cause xorg to start in  "1280x720" mode<br>
providing that mode is defined elsewhere.  If not, you can read<br>
all about it in /var/log/Xorg.0.log<br>
It will try all three modes before it gives up and uses the default<br>
1920x1080.<br>
Pastebin the log again so we can see what actually happened.<br>
<br>
If it fails because the modes are not defined, the next step<br>
is to define them.<br>
<br>
Don't be too surprised if you get 800x600. Everything working<br>
in a non default mode is a big step in the right direction.<br>
Making it the right mode is just fine tuning.<br>
<br>
Oh, one odd thing that might happen is that you get a virtual<br>
screen size of 1920x1080 and a viewport within it of one of the<br>
Modes.  The viewport follows the mouse as you approach the<br>
edges of the displayed area. Think of it as looking at a big<br>
scene (the virtual desktop) through a smaller aperture,<br>
(the viewport) which you can slide around.  I've not used<br>
this feature for a long time.<br>
<br>
The<br>
ViewPort    0 0<br>
says to start with the viewport in the top<br>
left of the virtual desktop.<br>
<br>
[snip original material]<br>
<div class="gmail-m_7829591044481960451gmail-HOEnZb"><div class="gmail-m_7829591044481960451gmail-h5"><br>
Regards,<br>
<br>
Roy Bamford<br>
<br>
______________________________<wbr>_________________<br>
EdLUG mailing list<br>
<a href="mailto:EdLUG@lists.edlug.org.uk" target="_blank">EdLUG@lists.edlug.org.uk</a><br>
<a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer" target="_blank">https://lists.edlug.org.uk/mai<wbr>lman/listinfo/edlug</a><br>
</div></div></blockquote></div><br></div></div></div>