<div dir="ltr"><div><div>Thanks Nick, I'll try these suggestions out tonight.<br><br></div>Cheers,<br><br></div>Kevin.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2017 at 14:00, Nick Bannon <span dir="ltr"><<a href="mailto:nick@ucc.gu.uwa.edu.au" target="_blank">nick@ucc.gu.uwa.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Sep 07, 2017 at 04:50:08PM +0800, Kevin Shackleton wrote:<br>
[...]<br>
<span class="">> However, when I open a terminal, the screen switches to 1680 * 1050<br>
> resolution, as though that's a setting in .bashrc or similar.<br>
<br>
</span>I don't know how it would have gotten in there... but if something<br>
indirectly runs xrandr(1) as part of your shell startup, that could do it?<br>
<br>
The startup files that bash could use are in:<br>
man bash | less +/^INVOCATION<br>
<br>
You could confirm if /usr/bin/xrandr gets called with execsnoop(8)<br>
(Debian/Ubuntu package perf-tools-unstable ; or as found from:<br>
<a href="https://github.com/brendangregg/perf-tools" rel="noreferrer" target="_blank">https://github.com/<wbr>brendangregg/perf-tools</a><br>
or:<br>
<a href="http://www.brendangregg.com/ebpf.html" rel="noreferrer" target="_blank">http://www.brendangregg.com/<wbr>ebpf.html</a><br>
<a href="https://github.com/iovisor/bcc" rel="noreferrer" target="_blank">https://github.com/iovisor/bcc</a><br>
)<br>
<br>
It's possible that the RandR code is being called from elsewhere,<br>
e.g. via DBUS calls, which could be spotted with dbus-monitor ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Nick.<br>
<br>
--<br>
   Nick Bannon   | "I made this letter longer than usual because<br>
<a href="mailto:nick-sig@rcpt.to">nick-sig@rcpt.to</a> | I lack the time to make it shorter." - Pascal<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
PLUG discussion list: <a href="mailto:plug@plug.org.au">plug@plug.org.au</a><br>
<a href="http://lists.plug.org.au/mailman/listinfo/plug" rel="noreferrer" target="_blank">http://lists.plug.org.au/<wbr>mailman/listinfo/plug</a><br>
Committee e-mail: <a href="mailto:committee@plug.org.au">committee@plug.org.au</a><br>
PLUG Membership: <a href="http://www.plug.org.au/membership" rel="noreferrer" target="_blank">http://www.plug.org.au/<wbr>membership</a><br>
</div></div></blockquote></div><br></div>