MATE: Large fonts in GTK3 apps

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
codextasy
Level 1
Level 1
Posts: 4
Joined: Tue Sep 18, 2012 7:06 pm

MATE: Large fonts in GTK3 apps

Postby codextasy » Thu Jan 31, 2013 11:28 am

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!
Attachments
comparison.png
Caja (GTK2) on the left, Nautilus (GTK3) on the right. Note the font size difference.
comparison.png (106.07 KiB) Viewed 1206 times

zerozero
Level 16
Level 16
Posts: 6516
Joined: Tue Jul 07, 2009 2:29 pm

Re: MATE: Large fonts in GTK3 apps

Postby zerozero » Thu Jan 31, 2013 9:01 pm

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
Image

[ bliss of ignorance ]

codextasy
Level 1
Level 1
Posts: 4
Joined: Tue Sep 18, 2012 7:06 pm

Re: MATE: Large fonts in GTK3 apps

Postby codextasy » Thu Jan 31, 2013 9:10 pm

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
Level 1
Level 1
Posts: 4
Joined: Tue Sep 18, 2012 7:06 pm

Re: MATE: Large fonts in GTK3 apps

Postby codextasy » Sat Feb 02, 2013 9:09 am

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

zerozero
Level 16
Level 16
Posts: 6516
Joined: Tue Jul 07, 2009 2:29 pm

Re: MATE: Large fonts in GTK3 apps

Postby zerozero » Sun Feb 03, 2013 11:16 am

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
Image

[ bliss of ignorance ]

User avatar
jungle_boy
Level 7
Level 7
Posts: 1689
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest Land

Re: MATE: Large fonts in GTK3 apps

Postby jungle_boy » Sun Feb 03, 2013 11:20 am

I think the problem happens because MATE is built with gtk2 and not with gtk3.
LM17.1 Cinnamon (PC) and 17.3 Cinnamon (Laptop) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)

zerozero
Level 16
Level 16
Posts: 6516
Joined: Tue Jul 07, 2009 2:29 pm

Re: MATE: Large fonts in GTK3 apps

Postby zerozero » Sun Feb 03, 2013 11:48 am

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
Image

[ bliss of ignorance ]

codextasy
Level 1
Level 1
Posts: 4
Joined: Tue Sep 18, 2012 7:06 pm

Re: MATE: Large fonts in GTK3 apps

Postby codextasy » Sun Feb 03, 2013 11:57 am

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: 1689
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest Land

Re: MATE: Large fonts in GTK3 apps

Postby jungle_boy » Sun Feb 03, 2013 12:37 pm

OK.
LM17.1 Cinnamon (PC) and 17.3 Cinnamon (Laptop) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 5 guests