You are not logged in.

#1 2010-09-19 07:26:21

Garret
Member
From: Palermo, Italy
Registered: 2006-07-09
Posts: 172

[SOLVED] How to have QT applications with the GTK theme

When I had Gnome, selecting "GTK+" from QTconfig, QT applications (like Skype or VLC) were shown with the GTK theme chosen on Gnome Appareance.

Now I setted up a simple LXDE+Openbox system and doing the same stuff I don't have the GTK theme on QT applications:

qtgtk.png

Where am I wrong?

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

Another question: What package do I have to install to have the oxygen theme?
For oxygen I mean the default Kde4 theme like this:

interactive_console1.png

Last edited by Garret (2010-09-19 11:33:17)

Offline

#2 2010-09-19 10:17:05

slumslayer
Member
From: Belgium
Registered: 2008-09-14
Posts: 66

Re: [SOLVED] How to have QT applications with the GTK theme

http://wiki.archlinux.org/index.php/Uni … #QGtkStyle

And for oxygen, you need kdebase-workspace

Offline

#3 2010-09-19 11:19:06

Garret
Member
From: Palermo, Italy
Registered: 2006-07-09
Posts: 172

Re: [SOLVED] How to have QT applications with the GTK theme

I tried but without results sad :

I don't have the GTK-QT-Engine package installed. Now this is my .xinitrc

exec dbus-launch ck-launch-session startlxde
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

and this is my .gtkrc-2.0

gtk-icon-theme-name = "gnome-noble"
gtk-theme-name = "Caramello"
gtk-font-name = "Droid Sans 13"

Infact when I open qtconfig I receive this error:

[garret@desktop ~]$ qtconfig
QGtkStyle was unable to detect the current GTK+ theme.

So what's wrong?

###################

slumslayer wrote:

And for oxygen, you need kdebase-workspace

Ok... I can live without the oxygen theme...

Offline

#4 2010-09-19 11:27:31

slumslayer
Member
From: Belgium
Registered: 2008-09-14
Posts: 66

Re: [SOLVED] How to have QT applications with the GTK theme

Try with export GTK2_RC_FILES="$HOME/.gtkrc-2.0" before exec.

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
exec dbus-launch ck-launch-session startlxde

Offline

#5 2010-09-19 11:32:56

Garret
Member
From: Palermo, Italy
Registered: 2006-07-09
Posts: 172

Re: [SOLVED] How to have QT applications with the GTK theme

slumslayer wrote:

Try with export GTK2_RC_FILES="$HOME/.gtkrc-2.0" before exec.

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
exec dbus-launch ck-launch-session startlxde

Really thanks now it works!!!
In effect it was obvious... smile

Offline

#6 2010-10-10 14:11:04

guriinii
Member
From: Rossendale
Registered: 2010-09-22
Posts: 84

Re: [SOLVED] How to have QT applications with the GTK theme

Thank you. This was really helpful. vlc is pretty and amarok doesn't look like lego. Thank you... big_smile


The exponential learning curve.

Offline

Board footer

Powered by FluxBB