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 this

MATE: Large fonts in GTK3 apps

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

Linux Mint is funded by ads and donations.
 

Re: MATE: Large fonts in GTK3 apps

Postby zerozero on 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 ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: MATE: Large fonts in GTK3 apps

Postby codextasy on 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 on Sat Feb 02, 2013 9:09 am

Does anyone else have the same issue with different font sizes or that's just me?
codextasy
Level 1
Level 1
 
Posts: 4
Joined: Tue Sep 18, 2012 7:06 pm

Re: MATE: Large fonts in GTK3 apps

Postby zerozero on 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 ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: MATE: Large fonts in GTK3 apps

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

I think the problem happens because MATE is built with gtk2 and not with gtk3.
LM17 Cinnamon (PC and Notebook) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)
User avatar
jungle_boy
Level 6
Level 6
 
Posts: 1216
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest, Brazil

Re: MATE: Large fonts in GTK3 apps

Postby zerozero on 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 ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: MATE: Large fonts in GTK3 apps

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

Re: MATE: Large fonts in GTK3 apps

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

OK.
LM17 Cinnamon (PC and Notebook) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)
User avatar
jungle_boy
Level 6
Level 6
 
Posts: 1216
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest, Brazil

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: ben578, Bing [Bot], BlackVeils, Bolle1961, crassius, Google [Bot], mach50, Mintedfake, russellz and 34 guests