Systemfont not applied in Cinnamon

Bug #1510256 reported by Manuel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Terminator
Incomplete
Low
Unassigned

Bug Description

Hmm. Well the systemfont not applied in Cinnamon DE. Using archlinux, cinnamon 2.6.13, terminator 0.98.

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

Terminator looks up the system fonts using gconf in the two functions (proportional and mono) at:
http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk/view/head:/terminatorlib/config.py#L362
http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk/view/head:/terminatorlib/config.py#L383
attempting to get the keys:
/desktop/gnome/interface/font_name
/desktop/gnome/interface/monospace_font_name
respectively.

It is not obvious from a brief search where or how Cinnamon stores it's default fonts, and I do not use Cinnamon, nor am I familiar with it. I actually think that the fault here lies with Cinnamon. As I understand Cinnamon uses GNOME/GTK tech. As such, it should update the correct values for the system fonts in the gconf keystore. If not we end up with every GNOME compliant application needing custom code to handle being run under Cinnamon which is crazy.

It is possible that with gconf we are stuck using GTK2 settings, and that we also need to update for GTK3 which would use dconf. Possibly Cinnamon is storing to dconf, so I'm going to set this to incomplete for now, until someone provides more information on where Cinnamon is storing the system font settings.

Changed in terminator:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

Additional info:
In GNOME 3 (dconf) the respective paths seem to be:
/org/gnome/desktop/interface/font-name
/org/gnome/desktop/interface/monospace-font-name

Try changing the system fonts in Cinnamon and see if these values change in dconf (dconf-editor)

It may be possible to check these values too within Terminator, *if* Gio.Settings can be used with GTK 2. (Gio.Settings uses GObject Introspection, which has a tendency to clash with GTK 2.) Of course the question then becomes which to use...

Revision history for this message
Manuel (manuelschneid3r) wrote :

This is what cinnamon sets. See the attachment

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

So, yes, as I thought Cinnamon is setting the GTK3 values, and ignores the GTK2. This means any gtk2 program is probably going to ignore your system fonts (for ex. Gimp) I'll have to have a think about this. At the least the GTK3 port of Terminator will need to be updated to use the GTK3 default font definitions. As to the GTK2... Not sure yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.