On Tuesday 22 November 2022 17:04:15 Felix Miata wrote:
Dr. Nikolaus Klepp composed on 2022-11-22 20:01
(UTC+0100):
#!/bin/sh
DPI=$(xrdb -get Xft.dpi)
echo "Xft.dpi:300" | xrdb -override -
galculator &
sleep 1
echo "Xft.dpi:$DPI" | xrdb -override -
The following produces a usage message from xrdb, but does produce a larger
KCalc: #!/bin/sh
DPI=$(xrdb -get Xft.dpi)
echo "Xft.dpi:220" | xrdb -override -
/opt/trinity/bin/kcalc &
sleep 1
echo "Xft.dpi:$DPI" | xrdb -override -
## existing environment
$ xrdb -query | grep dpi
Xft.dpi:
$ xdpyinfo | egrep 'dimen|ution'
dimensions: 1920x1200 pixels (406x254 millimeters)
resolution: 120x120 dots per inch
Well, I can see what I will be doing tonight, and probably for the next few
days (or weeks ... or months ...).
Bill