![]() Registered Member ![]()
|
I am using Kubuntu, and trying to configure the fonts for gtk apps from systemsettings > Common Appearance and Behavior > Application Appearance > GTK
Changing the themes and font family works fine. But the font size is not working. It sticks to 10pt, no matter what font size is selected. Here is a screenshot http://i58.tinypic.com/9ury9v.png My KDE font is Droid Sans 9pt, and I have set the same for GTK apps. But gedit is using Droid Sans 10pt, and so are all gtk apps like pidgin. If I change the font, it will use it but at the fixed 10pt size, irrespective of whatever size is specified. So how do I fix this issue ? I verified that the issue is present on a fresh install of Kubuntu. Here is some more information
Contents of ~/.gtkrc-2.0-kde4
KUBUNTU 18.04
|
![]() Administrator ![]()
|
Can you try changing the following statement to include the font size? It seems like a bug in the Gtk configuration file generator which KDE includes.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hi yes I tried that, did not work.
KUBUNTU 18.04
|
![]() Administrator ![]()
|
Can you check to verify that Gedit, Pidgin, etc. are all still using Gtk2 instead of Gtk3?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I am not sure. But in GTK appearance settings, the GTK3 theme applies to gedit , gnome-system-monitor etc the GTK2 theme applies to leafpad, thunar etc. So gedit is based on gtk3 if i am not wrong. But the good thing is, that all gtk (gtk2 + gtk3) apps are disobeying the font size specified.
KUBUNTU 18.04
|
![]() Administrator ![]()
|
What is the content of /home/enlightened/.kde/share/config/gtkrc-2.0 and /home/enlightened/.kde/share/config/gtkrc?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
/home/enlightened/.kde/share/config/gtkrc-2.0
/home/enlightened/.kde/share/config/gtkrc
KUBUNTU 18.04
|
![]() Registered Member ![]()
|
Hi bcooksley
I have solved this for now. It was being caused by the strange font name "Droid Sans [unknown]". 1. Removed all droid sans fonts from the system (/usr/share/fonts) 2. Installed the fonts-droid package (kubuntu). 3. selected "Droid Sans" size 9 for all font settings (KDE and GTK). Now all apps using the same font and size. Thanks for your time. regards Silver
KUBUNTU 18.04
|
![]() Administrator ![]()
|
Not a problem. In case you're wondering - the contents of those files certainly didn't have any effect on your problem, they only impact the colours used by Gtk applications.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]