Author Topic: How do I change the menu bar font in GTK apps under KDE4? [Solved]  (Read 2650 times)

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: How do I change the menu bar font in GTK apps under KDE4? [Almost Solved]
« Reply #15 on: January 24, 2011, 05:02:59 PM »
Hm... a stubborn computer you got there :)

Ok... some runaway config file is obviously bugging you. I'm sorry I can't help you more, but all that "... for the fifth time" and "... as tens of times before." is probably what caused it in the first place. Not saying it's your fault or anything, just been in similar situation few times, not good :) All these different programs you used to do the settings usually write their own configs... who knows in which the problem lies. This is the other face of the "desktop and tools" diversity we get in Linux. Everybody has their own idea of the right way to do it.

Your best bet this time is probably, if you wish to go that far, is to create fresh user, and try to do the settings with systemsettings+lxappearance only.

I tried it, and ...

Quote
If the problem occurs again, than blaaaaaaaaa :)

It did occur again. Even as the new user I cannot choose the fonts freely if I want to see them in the both KDE and GTK windows.

Quote
If. not... well switch to that user. Copy applications settings, chown them so system is usable and be done with that.

Not applicable as the problem persists in the new user's account.



Nevertheless I'm grateful for your help, bigmazy.

Thanks to you the colours are now consistent in KDE and GTK apps. Before I followed your advice, they were mostly consistent but not entirely, and some programs tended to lose their colours over time.

Unfortunately there are so many GTK themes and engines for use under KDE that it would take a lifetime to test them all. And my initial problem is still not really solved. I can give KDE and GTK programs a similar look, but not quite the look I want to give them.

Edit: corrected typo.
« Last Edit: January 25, 2011, 06:03:47 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline krckor

  • Jr. Member
  • **
  • Posts: 35
Re: How do I change the menu bar font in GTK apps under KDE4? [Almost Solved]
« Reply #16 on: January 25, 2011, 01:42:33 AM »
Quote
Not applicable as the problem persists in the new user's account.

Darn, I was kinda expecting this but hoping new user will solve the problem.

This means that it's a system config, /usr/local/share/... of some sorts probably, Maybe someone else who has his fingers deeper in customization can land a hand here, sorry to say i'm out of ideas except the obvious, format, reinstall :)

By the way, similar thing happened to me some months ago where I bork-bork-borked my system so that actually gnome-panel would read one theme config file, every other gtk app another, so basically I could apply two different themes. To this day I have no idea what did I do, but one thing in common with your problem was that I tried a lot of times to apply settings using all bunch of different tools. Anyway, my whole system was kinda bad so I did a reinstall later on and used only the systemsettings+lxappearance combination with the qtcurve and all i well since.

Anyway. stick around, maybe somebody will offer different perspective. Good luck, man.

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: How do I change the menu bar font in GTK apps under KDE4? [Almost Solved]
« Reply #17 on: January 25, 2011, 07:41:40 AM »
Thanks, bigmazy!

Quote
Not applicable as the problem persists in the new user's account.

Darn, I was kinda expecting this but hoping new user will solve the problem.

This means that it's a system config, /usr/local/share/... of some sorts probably, Maybe someone else who has his fingers deeper in customization can land a hand here, sorry to say i'm out of ideas except the obvious, format, reinstall :)

... which I'm not going to do at the moment. Restoring my preferences would take weeks. But when the new iso is out I may install it on a different partition.

At the moment I'm just grepping my way through various parts of /usr and /etc in the hope of finding out where the DejaVu fonts are specified as the default serif and sans-serif fonts. (The DejaVue fonts are probably excellent on a low-resolution display, but to me they look a bit primitive.)

After setting up the system your way I once more tried to see if I could override the font settings from gtk-chtheme. This time I couldn't. Instead the GTK programs lost their KDE colours. So I restarted LXAppearance, and found that the style had reverted to Clearlooks -- in spite of the fact that I again had chosen QtCurve in  gtk-chtheme. Well, I restored QtCurve and got my colours back.

Quote
By the way, similar thing happened to me some months ago where I bork-bork-borked my system so that actually gnome-panel would read one theme config file, every other gtk app another, so basically I could apply two different themes. To this day I have no idea what did I do, but one thing in common with your problem was that I tried a lot of times to apply settings using all bunch of different tools. Anyway, my whole system was kinda bad so I did a reinstall later on and used only the systemsettings+lxappearance combination with the qtcurve and all i well since.

Anyway. stick around, maybe somebody will offer different perspective. Good luck, man.

Thanks.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline knome

  • Full Member
  • ***
  • Posts: 72
Re: How do I change the menu bar font in GTK apps under KDE4? [Almost Solved]
« Reply #18 on: January 25, 2011, 03:50:17 PM »

At the moment I'm just grepping my way through various parts of /usr and /etc in the hope of finding out where the DejaVu fonts are specified as the default serif and sans-serif fonts. (The DejaVue fonts are probably excellent on a low-resolution display, but to me they look a bit primitive.)


The default font aliases are set up in /etc/fonts/conf.avail/60-latin-conf. There's a bit of an explanation of the set-up in /etc/fonts/conf.d/README.

Now whether you can edit 60-latin-conf to solve your problem I've no idea!  ;D

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: How do I change the menu bar font in GTK apps under KDE4? [Almost Solved]
« Reply #19 on: January 25, 2011, 04:13:53 PM »

At the moment I'm just grepping my way through various parts of /usr and /etc in the hope of finding out where the DejaVu fonts are specified as the default serif and sans-serif fonts. (The DejaVue fonts are probably excellent on a low-resolution display, but to me they look a bit primitive.)


The default font aliases are set up in /etc/fonts/conf.avail/60-latin-conf. There's a bit of an explanation of the set-up in /etc/fonts/conf.d/README.

Now whether you can edit 60-latin-conf to solve your problem I've no idea!  ;D

Thank you, knome! Thank you, thank you, thank you! If you ever come to Finland I'll personally dig you out from under the snow.

I haven't read the README yet, but I looked at /etc/fonts/conf.avail/60-latin-conf, and edited it, and now I have precisely the fonts I want in both KDE and GTK programs!

 ;D ;D ;D ;D ;D

Now I can mark this thread as "Solved" instead of "Almost solved"!
« Last Edit: January 25, 2011, 04:21:37 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D