You are not logged in.
Pages: 1
I've been mostly successful adapting Beryllium to a 32-inch monitor: having changed the DPI in .Xresources and modified the font sizes in jgmenu, nearly everything is readable, except for the tint2 panel which remains tiny.
I can't make much sense of the scale_relative_to_dpi variable in tint2rc (by default it's zero).
The man page says:
If set to a non-zero value, HiDPI scaling is enabled. Each panel is visible on a different monitor. Thus each panel has a specific scaling factor. The scaling factor is computed as the ratio between the monitor DPI (obtained from the dimensions in pixels and millimeters from RandR) and a configured reference DPI - this is the DPI for which exising user configs looked normal, for backward compatibility.
What non-zero value should scale_relative_to_dpi actually be set to? The real DPI for my monitor? 1? I've tried various values and nothing seems to change.
I have changed quite a lot in tint2rc to get things looking okay (panel height, padding, font sizes) but I was wondering if there was an easier way?
Offline
I couldn't understand that scale_relative_to_dpi setting either I'm afraid.
It was first discussed in 2017 right here:
https://forums.bunsenlabs.org/viewtopic.php?id=3989
I found this Polish page on dpi scaling with a tint2 section, Google translated here:
https://morfikov-github-io.translate.go … r_hl=en-GB
Something to try?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Thanks, it looks like that setting might only be useful when using multiple monitors. Anyway, I have my panel looking the way I want and it gave me the opportunity to learn more about tint2 settings, so all is good.
Offline
I think
scale_relative_to_dpi = 2
should be a good start if '1' is not doing anything.
Offline
That translated Polish webpage is about precisely scaling for HiDPI, not just tint2 but a whole range of issues, and not particularly for multiple displays, if my skim through is right. It looks quite useful, if what it says is correct...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Pages: 1