On 2/3/21 4:21 PM, Michael Barnes wrote:
I have a couple short text files of quick reference info with links on the
desktop of a Raspberry Pi. When I need my memory refreshed, I just double
click the icon and it opens the file in the text editor. Since it is a
small 7" screen, I'd like this to open in a large font making it easier to
see. I don't know if there is a setting someplace or a switch I can add to
the launcher to do this.

Sometimes this can be accomplished via environment variables. I'm not aware of any that can influence font sizes but I know that your problem is typically identified as a "High DPI" issue and dealt with slightly differently. If your text editor is Qt5 based, you can use a few different variables to tell the app that the display is high DPI, and it will scale everything accordingly.


QT_AUTO_SCREEN_SCALE_FACTOR

QT_SCALE_FACTOR


Using kwrite as an example

QT_SCALE_FACTOR=2 kwrite reference.txt


Will result in kwrite rendering twice as large as normal. This means font sizes are increased as well.  I'm sure GTK has an equivalent option I just don't know what it is.



Ideas appreciated.

Michael
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to