Comment 7 for bug 1769774

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

On my Ubuntu / Unity desktop neither Terminator, the default gnome-terminal, or tilix display anything related to monospaced fonts with the GDK_DEBUG=settings prefix. (There is a proportional system font returned, but that's not what we're interested in here.)

In the gnome-terminal source (which is effectively the bible so far as Terminator is concerned for how to do things)...
https://github.com/GNOME/gnome-terminal/blob/master/src/terminal-app.h#L33
and
https://github.com/GNOME/gnome-terminal/blob/master/src/terminal-app.c#L1135

Same in tilix...
https://github.com/gnunn1/tilix/blob/master/source/gx/tilix/preferences.d#L26
and
https://github.com/gnunn1/tilix/blob/master/source/gx/tilix/terminal/terminal.d#L2330

Those are only querying gsettings exactly the same as we are.

If there was an easy way to query xsettings then I suppose it could be added as a fallback but, so far as I can tell, there is no commonly used/accepted python module for querying xsettings.