Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #26077

Conditional resolution change

Path csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Folderol <general@musically.me.uk>
Newsgroups comp.sys.raspberry-pi
Subject Conditional resolution change
Date Wed, 27 Jan 2021 15:58:37 +0000
Organization A noiseless patient Spider
Lines 28
Message-ID <20210127155837.17ed2e75@devuan> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Injection-Info reader02.eternal-september.org; posting-host="d3a290bde493594eedebcdbdf66c3de9"; logging-data="21078"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yvINVd82HBApSc4uC9jqXarAinwSV9v8="
Cancel-Lock sha1:SGr6gLgRPvtBSPIh8/ZqdQF01rU=
X-Newsreader Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
Xref csiph.com comp.sys.raspberry-pi:26077

Show key headers only | View raw


I have two (apparently) identical 7in monitors. xrandr shows exactly the same
range of resolution, yet one always opens at the second to highest mode, and
the other at the lowest one.

As far as I can tell there are no internal switches or links in the monitors,
and I can instruct the one that opens low rest to change to the higher one,
where it behaves without issues.

What I would like to be able to do is somewhere early on check to see if the
monitor reports the low res value as default, and if so switch to the higher
one.

An added complication is that the entire setup will be used by non-techy
people, who may want to run with a full size monitor instead, so I don't want
to force the resolution, if that monitor has an even higher resolution as its
default.

so basically

	if (res < nnn)
		res = xxx;

Any suggestions on the best way to do this?


-- 
W J G

Back to comp.sys.raspberry-pi | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Conditional resolution change Folderol <general@musically.me.uk> - 2021-01-27 15:58 +0000
  Re: Conditional resolution change A. Dumas <alexandre@dumas.fr.invalid> - 2021-01-27 18:31 +0000
    Re: Conditional resolution change Folderol <general@musically.me.uk> - 2021-01-27 18:42 +0000

csiph-web