DPI cheatcode

Technical issues/questions of an intermediate or advanced nature.
Post Reply
rych
Shogun
Shogun
Posts: 289
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0rc3 x64 OpenBox
Location: NZ
Contact:

DPI cheatcode

Post#1 by rych » 06 May 2022, 08:49

There doesn't seem to be a method to change DPI without restarting so I wish I could decide my DPI settings from the boot menu. There isn't a "dpi" cheatcode, is there. What's the best advice then: do I switch DPI-setting modules with load=module cheatcode?

I'm going to need several versions of modules containing .Xresources with e.g.

Code: Select all

Xft.dpi: 120
and .bash_profile with

Code: Select all

export QT_FONT_DPI=140
Particularly I'll be trying a machine with a 4K monitor sometimes -- hopefully OpenBoX will scale up nicely. But first I'd better figure out how to choose the DPI option at boot. Right?

Post Reply