-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

GtkQt - Set Gtk theme via KDE

   0.07  

Theme/Style GTK 1.x

Score 42%
Link:  http://
Downloads:  7178
Submitted:  Jul 9 2003
Updated:  Jan 31 2006

Description:

This is a GTK engine whose purpose is to automatically set your Gtk style from your active KDE style. For example, with QtCurve installed, if KDE is set to use QtCurve, then this "engine" will tell Gtk to use the matching QtCurve style.

It reads your ~/.qt/qtrc file to determine your Qt/KDE style. If a matching GTK theme can be found (in either /usr/share/themes or ~/.gtk) then GTK will be set to use that.

Matching KDE to Gtk themes with different names, is achieved via entries in a qtstyle2gtkstylerc file (located in /usr/share/themes/GtkQt/gtk(-2.0), and/or $HOME/.qt). By default, these files will use the "Qt" gtk engine - so that if you have Baghira selected as the KDE theme, then the "Qt" engine will be used by Gtk to have a similar look.

To use, its best to set the following environment variables

GTK_RC_FILES=/usr/share/themes/GtkQt/gtk/gtkrc
GTK2_RC_FILES=/usr/share/themes/GtkQt/gtk-2.0/gtkrc

SUSE tends to set these env varis in /opt/kde3/bin/startkde.something or /opt/kde3/env/startkde.suse.sh




Changelog:

0.07
----
1. If $HOME is not set, then try to ascertain from passwd entry.
2. Remove toolbar icon setting, font setting, etc. Only the actual
Gtk theme is set now. This saves duplication, as QtCurve and the
Qt Gtk engine set this information as well.




LicenseGPL
Send to a friend
Subscribe
Other  Artwork  from CraigD
Report inappropriate content



goto page:  1  2 

-

 Sounds great

 
 by xgecko on: Jul 9 2003
 
Score 50%

I can't try it at the moment but the concept sounds great. What would be sweet is we could start making the themes themselves bi-compatible and then write a graphical front end to preview and change both kde and gnome.


Reply to this

-

 Re: Sounds great

 
 by Richardve on: Jul 9 2003
 
Score 50%

Under GNOME itself it's actually possible to set 2 widget themes (for Gtk1 and Gtk2) both at the same time by using the same name for both themes..

Easy to implement, and very effective.


Reply to this

-

 Re: Re: Sounds great

 
 by Richardve on: Jul 9 2003
 
Score 50%

erm.. lol, never mind, I was talking poop :)

(should read better before posting)


Reply to this

-

 Re: Sounds great

 
 by CraigD on: Jul 9 2003
 
Score 50%

Must admit I'm heavily KDE biased - and don't ant GNOME apps, just gimp and xmms occaisionaly.

However, the ide of this is for changin unified themes - therefore the previews would (ideally) look the same for KDE and Gtk. Therefore, KControl should be good enough.


Reply to this

-

 Re: Re: Sounds great

 
 by armstrong on: Jul 10 2003
 
Score 50%

Uh... xmms is _not_ a gtk app


Reply to this

-

 Re: Re: Re: Sounds g

 
 by CraigD on: Jul 10 2003
 
Score 50%

Ummm, yes it is.


Reply to this

-

 sorry, of course it

 
 by armstrong on: Jul 15 2003
 
Score 50%

is a gtk app... haven't used it for a while now...


Reply to this

-

 Re: Sounds great

 
 by CraigD on: Jul 9 2003
 
Score 50%

Must admit I'm heavily KDE biased - and don't use any GNOME apps, just gimp and xmms occaisionaly.

However, the ide of this is for changin unified themes - therefore the previews would (ideally) look the same for KDE and Gtk. Therefore, KControl should be good enough.


Reply to this

-

 Just thanks!

 
 by fab on: Jul 9 2003
 
Score 50%

Craig ... we owe you much .. For example: I'm using the QtCurve style for quite some time now. Keramik is nice when you start using KDE and it is fresh, nice and new but QtCurve is a style which is pleasant to use on a daily basis all the time. QtCurve is very nice to look at and makes my desktop very consistent.

I was looking for the QtCurve homepage, but there seems to be no projectpage nor homepage ... is that correct?

Anyway, I think your work means a lot to KDE and OSS in general.

I'm looking forward to more cross-desktopstyle integration between KDE and GNOME.

Cheers'

Fab


Reply to this

-
.

 Re: Just thanks!

 
 by CraigD on: Jul 9 2003
 
Score 50%

Thanks or the complements!

No, there is no QtCurve homepage - just the page here on kde-look. Why have more?

Same goes for Geramik...


Reply to this

-

 Re: Re: Just thanks!

 
 by Yaba on: Jul 10 2003
 
Score 50%

Hi Craig,

I just can repeat the compliments.

What would be great is an tutorial on how to use the qpixmap GTK engine to design own GTK themes.


Reply to this

-

 Re: Re: Re: Just tha

 
 by CraigD on: Jul 11 2003
 
Score 50%

Hmm, OK - maybe I'll do this when I get a spare few moments. It's not that much different to the standard pixmap engine (its really just a hacked version of this) - so you'd have to know how to create these first.


Reply to this

-

 SuSE 8.2

 
 by pandasuit on: Aug 17 2003
 
Score 50%

Your guide doesnt seem to work for SuSE 8.2. Is there perhaps something in SuSE 8.2 overriding this behavior?


When trouble arises and things look bad, there is always one individual who perceives a solution and is willing to take command. Very often, that individual is crazy.
Reply to this

-

 Re: SuSE 8.2

 
 by CraigD on: Aug 20 2003
 
Score 50%

Well, seeing as I wrote this under, and use SuSE 8.2 - it works fine for me!

Have you had a look at /etc/gtk/gtkrc and /etc/gtk-2.0/gtkrc?

Also, does SuSE set GTK_RC_FILES and GTK2_RC_FILES in /opt/kde3/bin/startkde? Can't remeber why now, but I reverted to using the startkde script from KDE CVS. If yours has lines setting GTK_RC_FILES and GTK2_RC_FILES - then comment the out (place a # at the start of the line).

I think SuSE defaults to using Geramik as the GTK theme under KDE - perhaps there mods to make this happen, are what is messing things up here?


Reply to this

-

 Re: Re: SuSE 8.2

 
 by pandasuit on: Aug 21 2003
 
Score 50%

Thanks for the tip. my startkde exports a few locations for GTK_RC_FILES and GTK2_RC_FILES with gtk2rc- followed by the theme name so based on that I should be able to create a gtk2rc- file for whatever theme I wish to use and have it apply.


When trouble arises and things look bad, there is always one individual who perceives a solution and is willing to take command. Very often, that individual is crazy.
Reply to this

-
.

 Re: Re: Re: SuSE 8.2

 
 by CraigD on: Aug 21 2003
 
Score 50%

Just remove those lines then - and GtkQt will work for you. The whole idea of GtkQt is that you don;t need to set your own gtkrc and gtkrc-2.0 files - Gtk should get its theme settings from KDE.


Reply to this

-
.

 Very good

 
 by felix1976 on: Nov 18 2003
 
Score 50%

Hi,

your Qt - Gtk theme switcher is superb!

Especially the new version which replaces the Gtk icons (which I personaly do not like) with the KDE icons. :)

Go on with your great work.

Many greetings

Felix


Reply to this

-
.

 Re: Very good

 
 by Sagittarius on: Nov 22 2003
 
Score 50%

I totally agree.
Very good work.


Reply to this

-
.

 this one rocks

 
 by A-Man on: Apr 20 2004
 
Score 50%

CraigD, you don't even guess what a great work you've done! Way to go! I've been dreaming for such one, and now it's here and it took a minute to install! I wish you the best possible future for GtkQt - I mean inclusion in all distros of course! Good luck and thanks so much!



Artemio.


Reply to this

-

 Compatible w/gtk-qt?

 
 by bradx on: Apr 22 2004
 
Score 50%

Just a quick question, is this compatible with gtk-qt-engine? If I have nothing but gtk-qt-engine installed will GtkQt know enough to leave that as the GTK+ engine and simply change the icons to those desired? Is there a way to configure precedence?

Great stuff btw. I hope this and gtk-qt-engine continue to be actively developed/maintained, as they have a measurable impact on usability.


// -- http://www.BRAD-X.com/ -- //
Reply to this

-
.

 Re: Compatible w/gtk

 
 by CraigD on: Apr 23 2004
 
Score 50%

It should be 100% compatible with the Qt gtk-engine.

GtkQt comes with a file called qtstyle2gtkstylerc (nice small name, eh) which is used to map from Qt styles to Gtk styles where the name differs. (As GtkQt will try to do name matching -> QtCurve, BlueCurve, and Keramik/Geramik work automatically).

Anyway, the gtk2 version of the file lists "GtkQtDefault=Qt". Which will instruct GtkQt to use the Qt gtk-theme (if it exists), if no other match was found. So, if you have QtCurve installed - because there is an exact name match with a GTK theme (as QtCurve is written for KDE/GTK), then the QtCurve style itself will be used.

For Plastik, there is a matching(ish) Gtk style called Plastig. In the qtstyle2gtkstylerc it lists Qt, Plastig, and QtCurve as possible matches for Plastik. So, if Qt exists it would be used, else if Plastig exists it would be used, else if QtCurve exists..., and finally if none of these exists, the "GtkQtDefault" style will be attempted.


Reply to this

goto page:  1  2 

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.