You are not logged in.

#1 2012-08-16 15:44:49

domac
Member
Registered: 2012-08-06
Posts: 102

[solved] How-To apply lxappearance Look&Feel for qpdfview?

Hello,

as the title says: I wonder if there is a way to get the configured lxappearance Look & Feel for the qpdfview pdf-viewer.
I'd also write some code if necessary but I'm don't know where I should start…
Help is as always appreciated. :-)
Thanks in advance!

Cheers,
domac

Last edited by domac (2012-08-16 16:29:29)


domac [ git ]

Offline

#2 2012-08-16 15:52:42

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: [solved] How-To apply lxappearance Look&Feel for qpdfview?

lxappearance deals with GTK, so it can't do anything to change Qt, which is what qpdfview uses.

Last edited by SolarBoyMatt (2012-08-16 15:54:51)

Offline

#3 2012-08-16 16:05:58

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [solved] How-To apply lxappearance Look&Feel for qpdfview?

qtconfig, comes with qt.

Last edited by swanson (2012-08-16 16:09:28)

Offline

#4 2012-08-16 16:07:48

hTaver
Member
From: São Paulo, Brasil
Registered: 2012-07-19
Posts: 6

Re: [solved] How-To apply lxappearance Look&Feel for qpdfview?

Hello!

You just need to install "libgnomeui". This package (or some of it dependencies... I never "investigated" what exactly happens) provides what is necessary to make Qt applications use the GTK theme. Probably it is going to work right after the installation. If not, try to logoff/login or restart the computer. And, as a "last resort" (it should not be necessary), change the Qt settings, on "qtconfig", to make it use the GTK+ Gui Style.

I hope this have worked. Anything else, just ask!

Offline

#5 2012-08-16 16:29:15

domac
Member
Registered: 2012-08-06
Posts: 102

Re: [solved] How-To apply lxappearance Look&Feel for qpdfview?

Thanks for the tips!
I used qtconfig and got the following error:

QGtkStyle was unable to detect the current GTK+ theme.

So I googled a bit and got a solution. I just had to add

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

to my .bashrc and now everything works perfect!
Thank you all! smile


domac [ git ]

Offline

Board footer

Powered by FluxBB