Description:

This app give you ability to change appearance of GTK applications in KDE4. For this purpose you may use GTK stuff, or your current KDE stuff: widget styles, icons and fonts. GTK-KDE4 can help you unify Qt and GTK+ apps appearance. More info and installation instructions can be found in Readme files inside archives.
Last changelog:

6 years ago

0.6.1
Fixed Spanish, German, Italian translations
Added Polish language
"Use current KDE style" inserted to styles pulldown menu

0.7
Totally remaked app => it looks better
Added Chinese translation
Strange window don't appear after applying

0.8b
Fixed tabs
Added arrows

0.8
Fixed fonts
Qt4 theme installing was automatized
Fixed trouble with appearance of apps started by root (instruction in readme)

0.9b
Now gtk-kde4 have the daemon. It changes GTK themes in runtime,it means you haven't to press "Apply" after every time you change KDE theme.

0.9.1
Some code cleaning and appearance fixes
Daemon seems to be fixed
Apps running by sudo started using your current style

0.9.2
Partial ability to use KDE icons
Fix of Check boxes and Radio buttons appearance

0.9.3
Added ability to use current KDE font
Fixed main colors. Added colorizing of tooltips
Added Brazilian Portuguese translation

0.9.4
Daemon is now invisible
Many code cleanings and bugfixes

0.9.5b
Fixes of Spinboxes, LineEdits, different frames, Tabs, Toolbuttons appearances
Added ability to change Menu and Menubar colors for tricky themes like Bespin
Moved to KDE translations system using *.po files
Button for applying settings for superuser
New icon (btw app is now placed in "Lost and Found" in systemsettings)

-----------------------------------------------

And now it would be great to hear usablity advices, bugs reports and translations from you. Thank you all in advance.
And yeah, no binary and *.deb packages for now, because it somewhat testing release.

anupamsr

8 years ago

Hi! Thanks for this application, I was really missing it.

I have several things to say:

1) gtk-engines-pixmap was not needed on Gentoo.
2) You could add 2 options instead of one:
* Use current KDE wiget style and color scheme
* Use following widget style:
[.....]
[ ] Apply KDE color scheme to GTK applications

A couple of problems:
1) Text area in gtk applications is not white, but gray. (Using default oxygen color scheme)
2) Horizontal scrollbars don't work.

I get these warnings when running a gtk application:

(This one is probably quite expected)
Gtk-WARNING **: Theme directory scalable/animations/small/22x22 of theme oxygen has no size field


WARNING **: Invalid borders specified for theme pixmap:
/home/anupam/.themes/qt4/gtk-2.0/Range/trough-horizontal.png,
borders don't fit within the image


WARNING **: invalid source position for horizontal gradient

Report

Axell

8 years ago

Hi!

I've finally installed kde4 and now I'm happy)

But I can't make gtk apps look fine) I've tried install this improvement and I've got "No qt theme". I suppose I've installed gtk-engines-pixmap, but I can't find gtk-engine-pixbuf anywhere. I've found 0.22 release, but it want's glib-1.2.x. Is it ok? Or there is some fresh version of pixbuf? Where can I get it? (i need source, becouse I use Gentoo).

Thans for your worK!

Report

Axell

8 years ago

Hi!

I've compiled something and got same button in Setting menu. It worked.

Report

Apoclypse

8 years ago

Try version 0.8 :)

Report

adpads

8 years ago

I have compiled and installed this (had to install cmake and kdelibs5-dev, running Kubuntu 8.04.1 and KDE 4.1.1) - but I can't seem to get results.
I am getting the warning about qt4 theme, and it doesn't change the look of any GTK apps. Have I missed something?

Report

adpads

8 years ago

ok, I have installed the qt4 theme, recompiled reinstalled and restarted, but it's still not working for me. What am I missing still?

Report

adpads

8 years ago

made symlinks as per instructions but still not working.. and here is my gtkrc

include "/usr/share/themes/qt4/gtk-2.0/gtkrc"
include "/home/yace/.themes/qt4/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Sans Serif 10 "
}
widget_class "*" style "user-font"
gtk-theme-name="Use current KDE style"
gtk-font-name="Sans Serif 10 "
gtk-icon-theme-name="Crux"

Report

adpads

8 years ago

oh golly! now it works! I don't know what made it start working all of a sudden. Sorry to trouble you!

Report

MoonBlossom

8 years ago

I had previously used gtk-engines-kde4 and it wasn't working right so I uninstalled it.

After removing gtk-engine-kde4 I installed gtk-kde4 0.8b on my kde 4.1 system but I haven't been able to get it to skin firefox or thunderbird. It only works on inkscape and gimp. I tried opening synaptic but it didn't have the oxygen look either. Does anyone knows what I'm doing wrong?

Thank you!

Report

Apoclypse

8 years ago

Try to create symlink of ~/.kde4/share/config/gtkrc in /etc/gtk-2.0/

sudo ln -s ~/.kde4/share/config/gtkrc /etc/gtk-2.0/

These paths may be isn't right. Try to check them using $GTK_RC_FILES variable

Report

MoonBlossom

8 years ago

Thank for replying to my post.

I created a symlink following your instructions but the problem is still there. Do you know anything else that I can try to resolve this?

Thank you!!

Report

Apoclypse

8 years ago

try to create symlink of gtkrc-2.0 from ~/.kde4/share/config/ into /etc/gtk-2.0 and rename symlink to gtkrc.
If not, please show me your gtkrc-2.0

Report

Yggdrasill

8 years ago

I have a similar problem, the software is installed but it does not work when opening a gnome application. And I don't see the icon in system settings, I see a question mark at its place.

Report

MoonBlossom

8 years ago

I'm still having the same problem. Here is my gtkrc-2.0:

include "/usr/share/themes/kde4-oxygen/gtk-2.0/gtkrc"
include "/home/moonblossom/.themes/kde4-oxygen/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Sans Serif 10 "
fg[NORMAL] = {0.0784314, 0.0745098, 0.0705882 }
bg[NORMAL] = {0.909804, 0.905882, 0.901961 }
text[NORMAL] = {0.0784314, 0.0745098, 0.0705882 }
base[NORMAL] = {0.890196, 0.890196, 0.890196 }
fg[ACTIVE] = {0.0784314, 0.0745098, 0.0705882 }
bg[ACTIVE] = {0.909804, 0.905882, 0.901961 }
text[ACTIVE] = {0.0784314, 0.0745098, 0.0705882 }
base[ACTIVE] = {0.890196, 0.890196, 0.890196 }
fg[PRELIGHT] = {0.0784314, 0.0745098, 0.0705882 }
bg[PRELIGHT] = {0.904295, 0.904295, 0.904295 }
text[PRELIGHT] = {0.0784314, 0.0745098, 0.0705882 }
base[PRELIGHT] = {0.890196, 0.890196, 0.890196 }
fg[SELECTED] = {1, 1, 1 }
bg[SELECTED] = {0.254902, 0.545098, 0.831373 }
text[SELECTED] = {1, 1, 1 }
base[SELECTED] = {0.254902, 0.545098, 0.831373 }
fg[INSENSITIVE] = {0.0784314, 0.0745098, 0.0705882 }
bg[INSENSITIVE] = {0.909804, 0.905882, 0.901961 }
text[INSENSITIVE] = {0.577737, 0.576425, 0.575113 }
base[INSENSITIVE] = {0.890196, 0.890196, 0.890196 }
}
widget_class "*" style "user-font"
gtk-theme-name="kde4-oxygen"
gtk-font-name="Sans Serif 10 "
gtk-icon-theme-name="default.kde"

Report

interele

8 years ago

I thought I'd done everything right but
in System Settings I get
Warning Qt4 theme is not installed
what have I forgotten to install ?
This is Fedora 9 btw

Ta

Report

interele

8 years ago

Forget this .. if I had read the instructions properly ...oops

Ta

Report

terrax121

8 years ago

It works very well. Thank you for this nice application. I have completely moved to kde 4.1 now.

BTW, you who have trouble compile it on Hardy remix or ubuntu 8.04 with the missing automoc4, just use this command.

cmake . -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/lib
make
sudo make install

And ofcourse you have installed the kde 4 lib dev files? :)

Report

Apoclypse

8 years ago

Hm...:) I had such problem with automoc4 on my Kubuntu Hardy, but i solved it by installing and compiling automoc from source: http://kde.mirrors.tds.net/pub/kde/unstable/automoc4/0.9.84/automoc4-0.9.84.tar.bz2

But thanks for this advice. It can help another users to solve ploblem without headache

Report

fhimpe

8 years ago

In the second screenshot: "don't work" should be: "does not work"

Report

Apoclypse

8 years ago

It's a screenshot of old version of gtk-kde4, and this string was erased. Don't worry, and thanks!

Report

weatherman

8 years ago

Hi, big thanks for the work you put into this. It works almost perfectly for me, except that my firefox tabs look messed up, see http://img514.imageshack.us/my.php?image=tabswb9.jpg
any suggestions?

Report

L3x

9 years ago

-- Found Phonon Includes: /opt/kde4/include/KDE;/opt/kde4/include
-- Found KDE 4.1 include dir: /opt/kde4/include
-- Found KDE 4.1 library dir: /opt/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /opt/kde4/bin/kconfig_compiler
-- Didn't find the KDE4 automoc
-- Found Qt-Version 4.4.0 (using /opt/qt4/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Did not find automoc4 (part of kdesupport).
-- Found KDE 4.1 include dir: /opt/kde4/include
-- Found KDE 4.1 library dir: /opt/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /opt/kde4/bin/kconfig_compiler
-- Didn't find the KDE4 automoc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lex/sorgenti/gtk-kde4/gtk-kde4
lex@kde4:~/sorgenti/gtk-kde4/gtk-kde4$ make
[ 16%] Generating ui_form.h
[ 33%] Generating kcm_gk4_automoc.cpp
/bin/sh: KDE4_AUTOMOC_EXECUTABLE-NOTFOUND: not found
make[2]: *** [src/kcm_gk4_automoc.cpp] Error 127
make[1]: *** [src/CMakeFiles/kcm_gk4.dir/all] Error 2
make: *** [all] Error 2

In my system, automoc4 is in /opt/kde4/lib/automoc4

Report

Apoclypse

9 years ago

It seems like you are using KDE 4.1. To tell the truth i didn't try to install this app under 4.1. You could try to install app from binary archive, I think it must work. If not we could talk online to solve this problem, because i am interested too.

Report

L3x

9 years ago

I'm using Kde4 from subversion (now Version 4.00.82).
I try to install from binary, but doesn't works. One question, binary are for 64bit? Because I have Ubuntu 64bit...
Ok, this is the result in system settings after installing from binary:
http://img127.imageshack.us/img127/6223/gtkgj2.png

Now I try to build your "Qt4 GTK style" and building succesfuly in /home/lex/.themes
I created a file /home/lex/.kde4/share/config/gtkrc-2.0 with this text:

include "/home/lex/.themes/qt4/gtk-2.0/gtkrc"
style "user-font"
{ font_name="Liberation Sans 10 " }
widget_class "*" style "user-font"
gtk-theme-name="Clearlooks"
gtk-font-name="Liberation Sans 10 "

and the result is there (for example synaptic):
http://img389.imageshack.us/img389/5066/synapticms0.png
but the colors do not seem satisfactory and if I restart kde, /home/lex/.kde4/share/config/gtkrc-2.0 is replaced by gtkrc-2.0 default....What do you think?

Report

L3x

9 years ago

I read this:
http://techbase.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc and I edit my .bashrc, now I built gtk-kde4 and works, but there is a problem with fonts, look:
http://img293.imageshack.us/img293/4439/fontsdm6.png
I would like font Liberation Sans but gtk-kde4 generates this gtkrc-2.0 :

include "/usr/share/themes/qt4/gtk-2.0/gtkrc"
include "/home/lex/.themes/qt4/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Helvetica 10 "
}
widget_class "*" style "user-font"
gtk-theme-name="Use current KDE style"
gtk-font-name="Helvetica 10 "
gtk-icon-theme-name="default.kde"

Another issue: horizontal scrollbar not see...look:
http://img210.imageshack.us/img210/6741/synaptic2me8.png

Thanks

Report

6 years ago

0.6.1
Fixed Spanish, German, Italian translations
Added Polish language
"Use current KDE style" inserted to styles pulldown menu

0.7
Totally remaked app => it looks better
Added Chinese translation
Strange window don't appear after applying

0.8b
Fixed tabs
Added arrows

0.8
Fixed fonts
Qt4 theme installing was automatized
Fixed trouble with appearance of apps started by root (instruction in readme)

0.9b
Now gtk-kde4 have the daemon. It changes GTK themes in runtime,it means you haven't to press "Apply" after every time you change KDE theme.

0.9.1
Some code cleaning and appearance fixes
Daemon seems to be fixed
Apps running by sudo started using your current style

0.9.2
Partial ability to use KDE icons
Fix of Check boxes and Radio buttons appearance

0.9.3
Added ability to use current KDE font
Fixed main colors. Added colorizing of tooltips
Added Brazilian Portuguese translation

0.9.4
Daemon is now invisible
Many code cleanings and bugfixes

0.9.5b
Fixes of Spinboxes, LineEdits, different frames, Tabs, Toolbuttons appearances
Added ability to change Menu and Menubar colors for tricky themes like Bespin
Moved to KDE translations system using *.po files
Button for applying settings for superuser
New icon (btw app is now placed in "Lost and Found" in systemsettings)

-----------------------------------------------

And now it would be great to hear usablity advices, bugs reports and translations from you. Thank you all in advance.
And yeah, no binary and *.deb packages for now, because it somewhat testing release.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 88%
88.00 Likes
12 Dislikes
Details
version
0.9.4 && 0.9.5b
updated Oct 22 2010
added Feb 04 2008
downloads
page views 5489