LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-17-2009, 01:58 PM   #1
pielas
Member
 
Registered: Jan 2009
Location: Poland
Distribution: Arch Linux
Posts: 50

Rep: Reputation: 17
Ugly GTK applications


Hi, I have recently installed a slackware-current with KDE4. Everything is OK, but applications written using GTK looks ugly like win 98. I have searched at google something about changing theme of GTK apps, but without effect. Does anyone of you know how to change theme of GTK apps?
 
Old 06-17-2009, 02:07 PM   #2
vehn
Member
 
Registered: Dec 2007
Posts: 54

Rep: Reputation: 17
Manually create and edit ~/.gtkrc-2.0 or use http://slackbuilds.org/repository/12...p/gtk-chtheme/
 
Old 06-17-2009, 02:08 PM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It depends on how GTK app themes are handled in KDE; I might be wrong, but doesn't KDE offer to theme GTK some way without gimmicks (just trying to remember how KDE 3 did it)? If it doesn't, then try gtk-theme-switch or gtk-chtheme, I think those were apps that could change the GTK theme used..there could be more of them, but see those and you should get started.
 
Old 06-17-2009, 02:18 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
There are plenty of very nice themes for GTK, but the default one is indeed ugly, grep, plain, kinda like Win95 indeed.

Try some from here:
http://art.gnome.org/themes/gtk2
 
Old 06-17-2009, 02:20 PM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 2,740

Rep: Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765
If you're still using Xfce < 4.6, have KDE start xfce-mcs-manager. Xfce 4.6 uses xfconfd instead of xfce-mcs-manager. Xfconfd doesn't work outside of Xfce.

If you're using GNOME, have KDE start gnome-settings-daemon. If gnome-settings-daemon isn't in your PATH, then it's in /usr/libexec.

Otherwise, use a GTK theme switching program. A couple have been mentioned. This is one of the more recent ones:
http://wiki.lxde.org/en/LXAppearance

I'm not using KDE 4, but I would also recommend looking into what b0ouncer said. KDE 3, had an "Apply themes and colors to GTK applications" (or something with similar wording) option in the "Appearances" tab of its control panel.

Last edited by dugan; 06-17-2009 at 02:35 PM.
 
Old 06-18-2009, 02:30 AM   #6
pielas
Member
 
Registered: Jan 2009
Location: Poland
Distribution: Arch Linux
Posts: 50

Original Poster
Rep: Reputation: 17
Thanks for replies, gtk-chtheme it what I have needed
 
Old 06-18-2009, 06:57 AM   #7
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
Please don't edit .gtkrc-2.0 - that's the default file for _every_ Gnome and Gtk frontend/config tool to write stuff into - which override everything you add.

The first lines _always_ contains an include to .gtkrc.mine which is the place for everything homemade and changed by hand.

The include line for .gtkrc.mine is always left untouched from any config tool and therefore loads your personal config/style/theme stuff.

.gtkrc-2.0 usally looks like this:

Code:
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/home/banshee/.themes/Aurora-looks/gtk-2.0/gtkrc"

include "/home/banshee/.gtkrc.mine"

# -- THEME AUTO-WRITTEN DO NOT EDIT
 
Old 06-18-2009, 04:41 PM   #8
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Rep: Reputation: 15
You can launch xfsettingsd at startup which will make the GTK apps and buttons in Firefox much more appealing.
 
Old 09-10-2009, 03:13 PM   #9
dwabot
LQ Newbie
 
Registered: Jun 2009
Location: Toronto, Canada
Distribution: Slackware
Posts: 22

Rep: Reputation: 16
Thanks for the tip about LXAppearance... Matches up well with Fluxbox.

Last edited by dwabot; 09-10-2009 at 03:15 PM.
 
Old 09-10-2009, 04:23 PM   #10
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Install clearlooks and switch to a theme that uses it.
 
Old 09-11-2009, 08:41 AM   #11
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware 12.1, slackware64-current
Posts: 243

Rep: Reputation: 43
There's also gtk style to resemble default look of kde4.
 
Old 09-12-2009, 11:35 AM   #12
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 2,740

Rep: Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765
These are what I'm using to make GTK apps look like KDE apps:
http://www.gnome-look.org/content/sh...?content=99926
http://www.gnome-look.org/content/sh...?content=79756
 
Old 10-10-2009, 07:15 AM   #13
dizzi
Member
 
Registered: Jun 2004
Location: Yorkshire, UK
Distribution: Slackware, Mepis LiveCD
Posts: 146

Rep: Reputation: 15
Yes gtk-chtheme works quite well (just execute /usr/bin/gtk-chtheme) after installation to invoke the wizard. While you are at it, if you want to reduce the size of the Firefox menu, tab, etc fonts in Slack which I find way too big, Edit (create): home > .mozilla > firefox > wpoz7qzg.default > chrome > userChrome.css. Note this file does not exist by default but there is an example provided that can be used.
 
Old 10-10-2009, 07:43 AM   #14
slackd
Member
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Lubuntu64, Slackware64, Windows 7 x64
Posts: 248
Blog Entries: 1

Rep: Reputation: 60
Thumbs up

U can try GTK-Engines

or u can try Murrine
 
Old 10-10-2009, 10:35 AM   #15
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Rep: Reputation: 35
Great thread! It's interesting to see what everyone else uses. Might try some of them out
Personally, I choose Qtcurve: http://slackbuilds.org/repository/13.../QtCurve-Gtk2/
 
  


Reply

Tags
gtk, qt


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ugly default font in java applications vehn Slackware 0 12-06-2008 11:44 PM
Backporting GTK+-2 applications to GTK-1.2 gnashley Programming 0 02-22-2007 04:25 AM
Some GTK apps are ugly in KDE Ekim8587 Linux - Software 4 11-11-2005 06:47 AM
X Applications are ugly! Spasmolytic Linux - Software 3 05-19-2004 02:53 PM
Ugly Truetype font in GTK apps kvzrock Linux - General 0 02-08-2004 10:35 PM


All times are GMT -5. The time now is 06:58 AM.

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