GTK-QT Theme Engine

GTK1 Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

4
5.0
Description:

This engine is for use by GTK applications running in KDE. It applies all Qt settings to the GTK application and uses Qt style plugins directly.

Please see http://gtk-qt.ecs.soton.ac.uk for more information and SVN instructions.
Last changelog:

12 years ago

Changes in 1.0:

New features and general improvements:

Ported the theme engine to Qt4. Qt3 styles are no longer supported in this version - this is only for users who have upgraded to KDE4 or who want to use Oxygen in their GTK applications.

i18n:

Updated .pot file
Czech translation by David Watzke
Italian translation by Davide Madrisan

(For older changelogs, see http://gtk-qt.ecs.soton.ac.uk/downloads.php)

jamboarder

16 years ago

This is one of the best contributions to the linux desktop. I've been using v0.5 with the kde Lipstik style and it's great to see how consistent my gtk apps look. not to mention how nice they look with the Lipstik style!

I'm sure everyone else has said it but thanks again!

P.S. This makes my desktop look far more consistent than windows (what with all the different toolkits - 2000, xp, .net, etc. run outlook express with office 2003 with IE... you'll see what I mean)

Report

nuka

16 years ago

true, but it would be cool if this did icons as well.

*hint, hint*

is that even possible?

Report

xsi

16 years ago

This idea sucks. Why should i ever want to make my GTK apps look like QT ones... ?!

Report

wizactive

16 years ago

Looks like you have not been blessed with too much IQ and politeness. You might consider situation where you have many QT/KDE apps and one GTK app. I for one like that all apps look the same without need to hunt down GTK theme that looks like currently used QT/KDE theme.

Report

nuka

16 years ago

first, in firefox(havent tested any other programs though), i still get two scrollbuttons at the bottom, even though only the down one works.

second, when using any theme in firefox, it works, but when using the default theme, i get this


(Gecko:17246): Gdk-CRITICAL **: file gdkpixbuf-drawable.c: line 1228 (gdk_pixbuf
_get_from_drawable): assertion `gdk_window_is_viewable (src)' failed

(Gecko:17246): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 415 (gdk_pixbuf_ge
t_n_channels): assertion `pixbuf != NULL' failed

(Gecko:17246): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 447 (gdk_pixbuf_ge
t_bits_per_sample): assertion `pixbuf != NULL' failed

(Gecko:17246): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 481 (gdk_pixbuf_ge
t_width): assertion `pixbuf != NULL' failed

(Gecko:17246): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 497 (gdk_pixbuf_ge
t_height): assertion `pixbuf != NULL' failed

(Gecko:17246): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 514 (gdk_pixbuf_ge
t_rowstride): assertion `pixbuf != NULL' failed
./run-mozilla.sh: line 159: 17246 Segmentation fault "$prog" ${1+"[email protected]"}

any ideas?

Report

C

davidsansome

16 years ago

The problem with the scrollbars is a firefox bug - not one that I'm able to fix.

Do those other errors crash firefox?
When do they occur? As soon as you run the program?

Report

nuka

16 years ago

ya, it shows up for a fraction of a second(during this time, the errors show up) then goes away.

Report

wwwonka

16 years ago

Firefox, V1.0 crashes upon starting for me. I had "Scribbles" as my theme.

Report

wwwonka

16 years ago

...with these errors...
(Gecko:6196): Gtk-CRITICAL **: file gtkwidget.c: line 5016 (gtk_widget_get_parent_window): assertion `GTK_IS_WIDGET (widget)' failed

(Gecko:6196): Gdk-CRITICAL **: file gdkpixbuf-drawable.c: line 1220 (gdk_pixbuf_get_from_drawable): assertion `src != NULL' failed

(Gecko:6196): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 309 (gdk_pixbuf_get_n_channels): assertion `pixbuf != NULL' failed

(Gecko:6196): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 341 (gdk_pixbuf_get_bits_per_sample): assertion `pixbuf != NULL' failed

(Gecko:6196): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 373 (gdk_pixbuf_get_width): assertion `pixbuf != NULL' failed

(Gecko:6196): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 389 (gdk_pixbuf_get_height): assertion `pixbuf != NULL' failed

(Gecko:6196): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 406 (gdk_pixbuf_get_rowstride): assertion `pixbuf != NULL' failed

(Gecko:6196): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object_unref): assertion `G_IS_OBJECT (object)' failed

(Gecko:6196): Gtk-CRITICAL **: file gtkwidget.c: line 3999 (gtk_widget_get_parent): assertion `GTK_IS_WIDGET (widget)' failed
./run-mozilla.sh: line 451: 6196 Segmentation fault "$prog" ${1+"[email protected]"}

Report

C

davidsansome

16 years ago

Thanks, I'll look into it

Report

nuka

16 years ago

i think i figured it out.

i was using a theme from mozthemes.tk. those themes, on mouseover use an icon that is transparent instead of the normal icon.

that one worked.

however, the default firefox theme has a GTK button on the icons, and does a gtk mouseover effect, not a custom one.

so its something to do with the buttons, or possibly even the drop down icon for the address bar.


i just checked and the update/ok/whatever buttons in the theme manager and extension manager are Qt'ed and i get no crashes there.

hope that helps.

and i just noticed, the scrollbar on this comment box where im writing this message has no scrollbutton for down, although it does the action when i press in its area where its supposed to be.

Report

mkosmul

16 years ago

The download link for version 0.5 seems to be broken. After searching the freedesktop.org wiki, I found out that http://www.freedesktop.org/~davidsansome/gtk-qt-engine-0.5.tar.bz2 works for me.

Report

jimmywithtorch

16 years ago

Its very cool, only a few more releases to get it to perfection.

It would be great it you also included gtkrc in addition to gtkrc-2.0, some programs like ymessenger still use gtk :(

Thanks a lot.

Report

oshogg

16 years ago

I am running into a number of issues with Baghira 0.6 (in aqua mode) as the KDE theme.

1. Toolbars and Menus don't have stippled background. Toolbars have flat gray background while Menus have flat background of the select color.

2. Scrollbars sliders are always discolored. Baghira works such that when the widget with the scrollbar has focus, the schrollbar slider becomes colored and when it loses focus, the slider loses focus. I find that all scrollbars are always discolored in gtk applications.

3. Scroolbar slider at the bottom (or right for horizontal scrollbar) covers the up arrow (or the left arrow) button. It should stop before this.

Osho

Report

baskew91

16 years ago

this is wonderful, thank you!

Report

scobiej

16 years ago

It keeps crashing Eclipse 3.0! I love working on a desktop which looks great (we are talking the plastik theme here) but it's no good when a day-to-day important app such as Eclipse keeps crashing. Don't know what the problem is but it's only the plastik theme which produces this behaviour. Incidentally, kde3.3.

Error message is of the sort ...

JVM terminated. Exit code=1
/usr/bin/java
-cp /opt/eclipse/startup.jar org.eclipse.core.launcher.Main
-os linux
-ws gtk
-arch x86
-showsplash /opt/eclipse/eclipse -showsplash 600
-exitdata /opt/eclipse/eclipse -exitdata 1778008
-vm /usr/bin/java
-vmargs
-cp /opt/eclipse/startup.jar org.eclipse.core.launcher.Main

Report

ogott

16 years ago

... with openoffice too? unfortunately i can't find out by myself because i get an compile error and the debian package needs a version of kdelibs4 that is newer than the one in the testing repository :(

ogott

Report

leafo

16 years ago

Is there a way to change the font size, they are awfully large on my machine. Maybe match it up to the current kde settings.

Report

blaster999

16 years ago

This is awesome! Just installed it and it really rocks. The only question: it affects only GTK2 apps, doesn't it? If so, is there a way to make it work for GTK1 apps (xmms, for example)?

Report

salahuddin66

16 years ago

Great Work :)

Report

CondorDes

16 years ago

0.5 Looks great ... thanks for the update.

My scrollbars look like they're offset by 1 pixel to the right using the Plastik theme, however. Screenshot is at http://www.condordes.net/tmp/gtk-qt-scroll.png .

Just thought you'd like to know. Thanks again.

Report

bradx

16 years ago

I'm getting the same effect here. Otherwise, excellent work!

Report

labba

16 years ago

same effect here... Another problem can be seen on this screenshot:
http://img81.exs.cx/my.php?loc=img81&image=gtk-qt.jpg
The scrollbar overlaps the arrows at the bottom an has an ugly black line...
Anyway: Great Work! Keep it up!

Report

brulle

16 years ago

i am thinking the conversion from qpixmap to qimage might impose some performance penalty?

would it not be possible to skip this conversion and somehow copy the qt rendered widget into gtk by using xcopyarea()?

Report

superandrzej

16 years ago

Hi,

I compiled GTK-QT Theme Engine on Slackware 10.0 but there are no KDE icons in gtk+ programs.

Any hints??

Report

12 years ago

Changes in 1.0:

New features and general improvements:

Ported the theme engine to Qt4. Qt3 styles are no longer supported in this version - this is only for users who have upgraded to KDE4 or who want to use Oxygen in their GTK applications.

i18n:

Updated .pot file
Czech translation by David Watzke
Italian translation by Davide Madrisan

(For older changelogs, see http://gtk-qt.ecs.soton.ac.uk/downloads.php)

12345678910
Be the first to comment
jesusda3rd
Jul 09 2020
originalseed
Oct 13 2011
tobgle
Feb 05 2010
ladykatlyn
Aug 25 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.1
updated Mar 10 2008
added Dec 31 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 4