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.

eschoeller

9 years ago

Well, I installed the binary - So I really don't have the option to specify -DCMAKE_INSTALL_PREFIX afaik. Any ideas on how to fix this without compiling?

I try to build from source:

host: ~/gtk-kde4-src> cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/user/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
-- Configuring done

Report

C

Apoclypse

9 years ago

You must install kde4 development package.
And then recompile

Report

artemisfowl2007

9 years ago

In his case, if he is trying to compile while not in a KDE4 session, he must do a PATH export.

In (K/X)ubuntu it is done like this:

export PATH=/usr/lib/kde4/bin/:$PATH

On other distros simply change '/usr/lib/kde4/bin/' to the distro's KDE4 bin path.

This export should be done before cmake.

Report

eschoeller

9 years ago

Well, kde4-devel is going to install 114 packages. It seems sort of silly to install that many packages just to accomplish this. If I can't use this applet, what files can I edit to change the GTK theme permanently?

I've been editing
/home/user/.kde4/share/config/gtkrc
and
/home/user/.kde4/share/config/gtkrc-2.0
manually with the following:
include "/usr/share/themes/Raleigh/gtk-2.0/gtkrc"
include "/home/user/.themes/Raleigh/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Sans Serif 10 "
}
widget_class "*" style "user-font"
gtk-theme-name="Qt"
gtk-font-name="Sans Serif 10 "

But these files get overwritten each time kde restarts ...

Thanks for the help!

Report

C

Apoclypse

9 years ago

You must do theese file readonly, as my app do, and change it to writeonly every time, when you want to change something

Report

artemisfowl2007

9 years ago

Ah, that's much better as compared to your initial implementation, where you created an autostart script...

I should look at your code sometime again later, perhaps...

Report

stomking

9 years ago

Hi,
first of all thanks for the application. Everything except colours is working nicely. I still have the ugly, standard grey. Do you have any Idea?
Greetings, dk

Report

GuSArg

9 years ago

Hi,

For me this does not work at all, i use the binary package... copied where it belongs, it appears in the systemsettings... I configure it to use kde style... and still gtk apps looks the same, without kde4 style.

Tested on Kubuntu Gutsy and Hardy.

Cheers.

Report

GuSArg

9 years ago

I've forgot to say that when i execute a GTK app (lets say, Firefox 3 or Gimp 2.4) i got this under console:

/home/gdnet/.kde4/share/config/gtkrc-2.0:6: error: unexpected character `,', expected character `}'

Cheers.

Report

C

Apoclypse

9 years ago

Could tou show me 6 string of gtkrc-2.0 file?

Report

C

Apoclypse

9 years ago

Could tou show me 6th string of gtkrc-2.0 file?

Report

GuSArg

9 years ago

Look at your source file... cause that comes from you qt4 theme.
(today I've installed Hardy from zero and works anyway...)

By the way, as I saw you used pixmaps from the oxygen style which are not very "clean", so I could help you to design from scratch those pixmaps imitating as much possible the oxygen style. Since i am graphic/icon/style artistic designer, maybe I could.

Cheers.

Report

C

Apoclypse

9 years ago

No thanks, i needn't help in coding part of my app. I only need help of translators. But thank you for your proposition

Report

GuSArg

9 years ago

I didn't meant the coding part, read better next time... I meant about the horrible pixmaps you stripe out from Oxygen Style.... Anyway, I will do it for me :)

Cheers.

Report

C

Apoclypse

9 years ago

Read source better, next time ;) My app is generating pixmaps for GTK theme from your current KDE style, all you need is to choose "Use current KDE style" and press "Apply" to create GTK copy of KDE appearance. Good luck! :)

Report

TKS75

9 years ago

Hello,

I installed this via cmake onto my distro. Now when I run a make uninstall, it reports successful uninstallation. However, when visiting system settings, it still shows an entry in the appearance menu with "library not found" errors. I'd like to remove it completely. I've removed all files in the installation.cmake file and this STILL is present after multiple reboots of my system. Please let me know how I can manually uninstall this...nothing in the package shows me where system settings are getting these files to display.

Report

C

Apoclypse

9 years ago

Try to use "sudo make uninstall"

Or delete manually:
<path_to_kde>/share/kde4/services/kcm_gk4.desktop
<path_to_kde>/lib/kde4/kcm_gk4.so
<path_to_kde>/share/icons/gk4icon.png

Report

TKS75

9 years ago

odd part is...those are all gone, yet it still appears.

Could this be part of session management in KDE4 (I have it restoring session) I wonder? I'll report back with results.

Report

laleshii

9 years ago

It works for me with latest svn version only the font isn't updated! ;)
A fix in the next version would be nice

Report

linxl

9 years ago

Hi!
The app install, but use kde style doesn't work...

Report

gilboa

9 years ago

I'm seeing the same.
Colors and fonts seem OK.
Default GTK theme doesn't change.

Report

gilboa

9 years ago

Found a solution to my (and maybe your) problem:
$ ln -sf ~/.kde/share/config/gtkrc-2.0 ~/.gtkrc-2.0

- Gilboa

Report

queen6

9 years ago

What's the main difference between your project and http://gtk-qt.ecs.soton.ac.uk ?

Report

C

Apoclypse

9 years ago

My project use pixmaps to copy style, his use shared obeject (*.so) to make the same task. Our projects have own advantages and flaws.

Report

queen6

9 years ago

that doesn't tell me much :)

Can you explain some of the advantages?

Which one is better from user's point of view?


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 DL
Details
version
0.9.4 && 0.9.5b
updated Oct 22 2010
added Feb 04 2008
downloads today
0
page views today 0