MATE: Large fonts in GTK3 apps

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
codextasy

MATE: Large fonts in GTK3 apps

Post by codextasy »

Hi all,

I've been enjoying using Linux Mint 14 Mate.
It runs smoothly and I really like it.

But when it comes to GTK3 apps, I can't help but notice the differences.
They look like being from another world.
The major conern is about fonts: they are larger than those from GTK2 apps (please see attached screenshot).

I've tried almost everything I could find on the web:
1. Used gnome-tweak-tool — had no effect at all.
2. Installed Cinnamon. The fonts there look Okay, but when I switch back to Mate, the fonts are still larger.
3. Linked gtk-3.0 config to an existing theme:
ln -s /usr/share/themes/Mint-X/gtk-3.0 ~/.config/gtk-3.0

But none of that worked.
Do you know what else could be done to make the fonts in GTK3 apps smaller?

Thank you!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
zerozero

Re: MATE: Large fonts in GTK3 apps

Post by zerozero »

what theme are you using here? mint-x? the default from the repo?
what is the output of

Code: Select all

apt policy mint-themes
codextasy

Re: MATE: Large fonts in GTK3 apps

Post by codextasy »

zerozero wrote:what theme are you using here? mint-x? the default from the repo?
Yes, the theme is default Mint-X from the repo.
The output of apt policy mint-themes is the following:

Code: Select all

mint-themes:
  Installed: 1.1.7
  Candidate: 1.1.7
  Version table:
 *** 1.1.7 0
        700 http://packages.linuxmint.com/ nadia/main i386 Packages
        100 /var/lib/dpkg/status
codextasy

Re: MATE: Large fonts in GTK3 apps

Post by codextasy »

Does anyone else have the same issue with different font sizes or that's just me?
zerozero

Re: MATE: Large fonts in GTK3 apps

Post by zerozero »

it's not just you, i can replicate it
Image

gtk2 app are stilled (regarding fonts) by 2 entries here

Code: Select all

/usr/share/themes/Mint-X/gtk-2.0/gtkrc
line 53 and 189 font_name

for gtk3 someone more experimented with css will have to chime in because i couldn't locate the place where the fonts are defined
User avatar
jungle_boy
Level 7
Level 7
Posts: 1812
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rainforest

Re: MATE: Large fonts in GTK3 apps

Post by jungle_boy »

I think the problem happens because MATE is built with gtk2 and not with gtk3.
Samsung Odyssey, Octa-core, i5 9300H, Geforce GTX 1650, 16GB RAM, SSD SAMSUNG NVMe 500GB
LM 21 Cinnamon
zerozero

Re: MATE: Large fonts in GTK3 apps

Post by zerozero »

it's not directly related with that
this shoot is in cinnamon and i increased the fonts in cinnamon settings from 10 to 11; as we can see it only affected the gtk3 app; the gtk2 app are still reading the hardcoded font_name 9 in /usr/share/themes/Mint-X/gtk-2.0/gtkrc
Image
codextasy

Re: MATE: Large fonts in GTK3 apps

Post by codextasy »

zerozero wrote:it's not just you, i can replicate it
Thank you! At least I know I'm not the only one to face this problem.
GTK2 fonts are okay, it's GTK3 that needs be adjusted.
jungle_boy wrote:I think the problem happens because MATE is built with gtk2 and not with gtk3.
That's a precondition, but not the reason itself.
I'm not having this problem with Mint Maya and LMDE.
User avatar
jungle_boy
Level 7
Level 7
Posts: 1812
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rainforest

Re: MATE: Large fonts in GTK3 apps

Post by jungle_boy »

OK.
Samsung Odyssey, Octa-core, i5 9300H, Geforce GTX 1650, 16GB RAM, SSD SAMSUNG NVMe 500GB
LM 21 Cinnamon
Locked

Return to “Beginner Questions”