As the title asks, I'm wondering if it's possible to change an application's understanding of which fonts are used for the Interface Text and Document Text values in Gnome.
Context:
I generally use TablePlus when working with SQL Server, PostgreSQL, and MySQL databases. It's a closed-source application, which means I do not have the luxury of reaching into the code and changing the fonts that are used within the application.
Because it is a SQL editor, monospaced fonts are the only realistic option to use. An l
must look like an l
and not a 1
. I can get the application to use monospaced fonts in the interface if I change the Interface Text and Document Text values in GNOME Tweaks, but I do not want to make everything on Ubuntu monospaced, as that's overkill (besides, I like the Ubuntu font).
On the left is what I have, and on the right is what I want to see (in the editor and results spaces only, but one battle at a time):
So, if the application is reading the Interface Text and Document Text values from the GNOME interface settings, I would like to have the application use a font of my choosing. There is an outstanding issue requesting the ability to change the font settings within the application already, but it has not been implemented.
HOME=/some/other/directory tableplus
(or whatever the actual command is)?~/.config/dconf
. You can make the change in Tweaks, then copy it to the fake home and then change back in Tweaks.XDG_CONFIG_HOME
(instead ofHOME
) is enough?