Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 05-14-2004, 10:43 AM   #1
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
GTK apps in SuSE (9.1)

I've noticed running GTK apps in KDE looks horrible in SuSE, whether it be 9.1 or 9.0, is there any way to make them look a little better? Apps i'm reffering to include Xchat and Evolution.

if you compare it to Mandrake somehow they look very good in kde.
Old 05-15-2004, 06:31 AM   #2
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
i found the fix, you'll have to install gnome desktop as well, but when in kde do this:

1) locate gnome-settings-daemon
2) then link it to your bin directory: ln -s /place/to/gnome-settings-daemon /home/username/bin
3) run the daemon
4) then xscreensaver will also start so run: xscreensaver-demo and disable it
5) run you gtk app and then use gnome theme settings to change the gtk theme if you like
6) enjoy better looking gtk apps in kde

Old 05-22-2004, 04:29 PM   #3
LQ Newbie
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 7

Rep: Reputation: 0
Thumbs up nice GTK apps without gnome installation

I've found a way of using GTK themes without the need to install gnome, well at least not all of it, the only packages you need is gnome-themes/gtk2-themes. Both of the packages just provide themes -- you dont need to install them if you already have a theme you'd like to use.

1. Create an empty file called ".no-qtrc-to-gtkrc-mapping" inside you're home directory and leave it empty. This an undocumented feature of SuSE Linux which I found by looking at the code for the startkde script at /opt/kde3/bin/startkde.

2. If you don't already have the ".gtkrc" and ".gtkrc-2.0" files in your home directory create them and add/modify the include statement to match the themes gtkrc file you want to use. For example if you want to use the industrial theme (gnome-themes package - installed in /opt/gnome/share/themes/Industrial on SuSE 9.1 - should be the same for earlier versions too):

include "/opt/gnome/share/themes/Industrial/gtk/gtkrc" for .gtkrc

and include "/opt/gnome/share/themes/Industrial/gtk-2.0/gtkrc" for .gtkrc-2.0

3. The fonts are usually ugly even if you set the themes so add a line to both of these files similar to gtk-font-name = "Sans 10"

where the 1st part is the font name and the number at the end is the size of the font.

Thats it! Your GTK apps should use the theme you configured in the include statements. No script editing... no gnome.

Now for my .gtkrc and .gtkrc-2.0 files:

include "/opt/gnome/share/themes/Industrial/gtk/gtkrc"

gtk-font-name = "Verdana 8"
include "/opt/gnome/share/themes/Industrial/gtk-2.0/gtkrc"

gtk-font-name = "Verdana 8"
Old 05-22-2004, 04:36 PM   #4
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Original Poster
Rep: Reputation: 30
cool, gonna try this now!!!

ok this works beautifully, however, i uninstalled qtpixmap and geramik, logged out of kde and back in and all works well, the 8 size for fonts was a bit small so i changed them to a 10, thanks alot m8

Last edited by equinox; 05-22-2004 at 04:55 PM.
Old 10-24-2004, 03:39 PM   #5
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
I know this post is old but I just must say: THANK YOU!
Old 12-17-2004, 07:27 AM   #6
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Yeah, thanks.
Works a charm.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kde style's crash GTK apps *firefox* (suse 9.3) RoaCh Of DisCor Linux - Software 5 05-01-2005 06:05 PM
How to make the QtCurve theme effect on apps of gtk-2 in suse-9.2? tony yu SUSE / openSUSE 0 02-10-2005 06:04 AM
KDE, but how about GTK-apps? b0uncer Linux - Software 3 08-27-2004 09:35 AM
gtk apps kvd General 2 07-27-2003 07:05 PM
gtk apps kvd Linux - Software 5 07-27-2003 06:26 PM > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration