Re: display screen resolution - was: font size

Alan Corey via mc <[email protected]> Thu, 8 Jan 2026 22:16:34 -0500
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <CAOh3dDYo-qJeo+i8mLycoJ752VzPQ6028fGNi5uN8aHw0PGVEg@mail.gmail.com>
--===============4369777027769739342==
Content-Type: multipart/alternative; boundary="000000000000829edf0647ebf4bc"

--000000000000829edf0647ebf4bc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I reverse engineered it from memory.  Rxvt was once xterm so most anything
in that line will work (urxvt here).  It's basically a one liner.  I didn't
fiddle with fonts, this is proof of concept.

#!/bin/bash

urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=3D15"




_________________________
Life will be better once the Republicans move to Mars.
_________________________
FIRE TRUMP!


On Thu, Jan 8, 2026, 8:05=E2=80=AFPM mi via mc <[email protected]=
.org>
wrote:

>
> inxi output (selective):
>
> Graphics:
>
>   Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nouvea=
u
>     v: kernel alternate: nvidia_tesla_470,nvidia_tesla_470_drm non-free:
>     series: 470.xx+ status: legacy-active (EOL~2024-09-xx) arch: Kepler-2
>     code: GKxxx process: TSMC 28nm built: 2012-2018 pcie: gen: 2 speed: 5
> GT/s
>     lanes: 8 ports: active: DVI-D-1 empty: HDMI-A-1,VGA-1 bus-ID: 04:00.0
>     chip-ID: 10de:1287 class-ID: 0300 temp: 34.0 C
>   Display: x11 server: X.Org v: 21.1.21 driver: X: loaded: nouveau
>     dri: swrast gpu: nouveau display-ID: :0 screens: 1
>   Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
>     s-diag: 599mm (23.57")
>
> thats actually the miode that i have configured as default in xorg.conf
>
> APIs:
>
>  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 1 drv: swrast
>     gbm: drv: nouveau surfaceless: drv: swrast x11: drv: swrast
>     inactive: wayland,device-0
>
>  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 25.3.3-1 glx-v: 1.4
>     direct-render: yes renderer: llvmpipe (LLVM 21.1.8 256 bits)
>     device-ID: ffffffff:ffffffff memory: 15.2 GiB unified: yes
>
> Info: Tools: api: eglinfo,glxinfo
>     de: kscreen-doctor,xfce4-display-settings x11: xdriinfo, xdpyinfo,
> xprop,
>     xrandr
>
> (Kernel: 6.1.0-39-amd64, i tried but can't seem to go higher with
> nvidia-tesla 470)
>
>
> --
> mc mailing list
> [email protected]
> https://lists.midnight-commander.org/mailman/listinfo/mc
>

--000000000000829edf0647ebf4bc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>I reverse engineered it from memory.=C2=A0 Rxvt was =
once xterm so most anything in that line will work (urxvt here).=C2=A0 It&#=
39;s basically a one liner.=C2=A0 I didn&#39;t fiddle with fonts, this is p=
roof of concept.</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div di=
r=3D"auto">#!/bin/bash</div><div dir=3D"auto"><br></div><div dir=3D"auto">u=
rxvt -fn &quot;xft:Bitstream Vera Sans Mono:pixelsize=3D15&quot;</div><div =
dir=3D"auto"><br></div></div><div><br></div><div data-smartmail=3D"gmail_si=
gnature"><br><br>_________________________<br>Life will be better once the =
Republicans move to Mars.<br>_________________________<br>FIRE TRUMP!<br>=
=C2=A0=C2=A0=C2=A0 </div></div><br><div class=3D"gmail_quote"><div dir=3D"l=
tr" class=3D"gmail_attr">On Thu, Jan 8, 2026, 8:05=E2=80=AFPM mi via mc &lt=
;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex"><br>
inxi output (selective):<br>
<br>
Graphics:<br>
<br>
=C2=A0 Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nou=
veau<br>
=C2=A0 =C2=A0 v: kernel alternate: nvidia_tesla_470,nvidia_tesla_470_drm no=
n-free:<br>
=C2=A0 =C2=A0 series: 470.xx+ status: legacy-active (EOL~2024-09-xx) arch: =
Kepler-2<br>
=C2=A0 =C2=A0 code: GKxxx process: TSMC 28nm built: 2012-2018 pcie: gen: 2 =
speed: 5 GT/s<br>
=C2=A0 =C2=A0 lanes: 8 ports: active: DVI-D-1 empty: HDMI-A-1,VGA-1 bus-ID:=
 04:00.0<br>
=C2=A0 =C2=A0 chip-ID: 10de:1287 class-ID: 0300 temp: 34.0 C<br>
=C2=A0 Display: x11 server: X.Org v: 21.1.21 driver: X: loaded: nouveau<br>
=C2=A0 =C2=A0 dri: swrast gpu: nouveau display-ID: :0 screens: 1<br>
=C2=A0 Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.4=
8&quot;)<br>
=C2=A0 =C2=A0 s-diag: 599mm (23.57&quot;)<br>
<br>
thats actually the miode that i have configured as default in xorg.conf<br>
<br>
APIs:<br>
<br>
=C2=A0API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 1 drv: swr=
ast<br>
=C2=A0 =C2=A0 gbm: drv: nouveau surfaceless: drv: swrast x11: drv: swrast<b=
r>
=C2=A0 =C2=A0 inactive: wayland,device-0<br>
<br>
=C2=A0API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 25.3.3-1 glx-v: 1.4<=
br>
=C2=A0 =C2=A0 direct-render: yes renderer: llvmpipe (LLVM 21.1.8 256 bits)<=
br>
=C2=A0 =C2=A0 device-ID: ffffffff:ffffffff memory: 15.2 GiB unified: yes<br=
>
<br>
Info: Tools: api: eglinfo,glxinfo<br>
=C2=A0 =C2=A0 de: kscreen-doctor,xfce4-display-settings x11: xdriinfo, xdpy=
info, xprop,<br>
=C2=A0 =C2=A0 xrandr<br>
<br>
(Kernel: 6.1.0-39-amd64, i tried but can&#39;t seem to go higher with nvidi=
a-tesla 470)<br>
<br>
<br>
-- <br>
mc mailing list<br>
<a href=3D"mailto:[email protected]" rel=3D"noreferrer norefe=
rrer" target=3D"_blank">[email protected]</a><br>
<a href=3D"https://lists.midnight-commander.org/mailman/listinfo/mc" rel=3D=
"noreferrer noreferrer noreferrer" target=3D"_blank">https://lists.midnight=
-commander.org/mailman/listinfo/mc</a><br>
</blockquote></div>

--000000000000829edf0647ebf4bc--

--===============4369777027769739342==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc

--===============4369777027769739342==--