You are not logged in.
So, I've decided to try out KDE/Plasma a few weeks ago. I disliked it, uninstalled plasma-desktop and all of its dependencies. Since that event, all Gtk2 windows use a weird monospace font. Example (background: Chromium, foreground: Nautilus)

Things I've tried:
* Googling and searching on the forums.
* Using qtconfig-qt4 to change the default font from Andale Mono to something more sensible like Droid Sans. (Weirdly enough, the choice reverts to Andale Mono even though I save the changes)
* Reinstalling KDE/Plasma and changing the font settings there.
* Removing ~/.config/Trolltech.conf
I'd be appreciative if someone has a solution to this problem.
Cheers!
Edit: Looks like the problem was in GTK2, not Qt5 like I originally assumed. I apologize for the confusion. There's a solution lower in this thread. I've edited the post with correct terms so that people can find it in the future.
Last edited by i542 (2015-05-27 21:16:02)
Offline
Does the following application help at all? Link: http://qt-apps.org/content/show.php/Qt5 … ent=168066
Offline
Eh, Chromium isn't a Qt application.
Offline
Does the following application help at all? Link: http://qt-apps.org/content/show.php/Qt5 … ent=168066
Yes, unfortunately this did not fix the problem. I did put the environmental variable in .profile and relogged, the result was unfortunately the same. I've managed to fix fonts in Clementine using qtconfig-qt4 after some fiddling, but applications like Docky and Chromium still have the monospace font.
Eh, Chromium isn't a Qt application.
Ah, my bad. Do you know of a way to fix that problem anyway?
Offline
Ah, I think I see the problem. Your Qt4 applications are fine as you said, your GTK+ 3 applications are fine (looking at your Nautilus screenshot, they seem to be) so the problem lies with GTK+ 2 applications (Chromium depends on the gtk2 package).
Check your hidden files in your home directory. Do you have a .gtkrc-2.0 file by any chance? Font settings there would override the defaults set elsewhere.
Offline
You need to set the theme for gtk2 apps. You can use lxappearance for this.
Offline
You need to set the theme for gtk2 apps. You can use lxappearance for this.
The OP's issue is with the font, not the theme. LXAppearance will indeed write to .gtkrc-2.0. However, the OP mentions Cinnamon in the title. I would assume that the OP actually wants to set theme settings and font settings in Cinnamon itself. If that is the case, and a gtkrc-2.0 file is what is causing the strange fonts, then the better solution would be to remove the .gtkrc-2.0 file and just let Cinnamon handle those settings.
Offline
Ah, I think I see the problem. Your Qt4 applications are fine as you said, your GTK+ 3 applications are fine (looking at your Nautilus screenshot, they seem to be) so the problem lies with GTK+ 2 applications (Chromium depends on the gtk2 package).
Check your hidden files in your home directory. Do you have a .gtkrc-2.0 file by any chance? Font settings there would override the defaults set elsewhere.
Well, butter my butt and call me a biscuit, that was indeed the problem:

Thank you! I'll edit the title so that it makes more sense.
Offline