
03-24-2011, 11:13 PM
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
GTK-Theme in PBIs
Hi,
I installed Pidgin via PBI and wanted to get a nicer look for it, so I installed x11-themes/gtk-oxygen-engine via ports. Unfortunately, it wasn't recognized. Changes to ~/.gtkrc-2.0 did not affect the theme, only the fonts in gtk-applications. After that, I reinstalled Pidgin from the ports and the theme is now recognized.
Is this the normal behavior that one should expect from PBIs? Or is there a way to apply the theme-settings to PBI applications? If so, please use a nicer theme as default
Regards,
drm
Edit: the same goes for qt-applications. They don't use the default oxygen theme, even if told so in qtconfig-qt4.
|
|

07-27-2012, 06:00 AM
|
|
Senior Member
|
|
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
|
|
|
Having exactly the same issue here. Any solutions?
By the way, the themes apply in quirky ways: Nimbus (from packages) doesn't apply itself to any PBI apps, whereas gtk-oxygen-engine applies to Conkeror, and Rhythmbox, but not Emacs.
|
|

07-31-2012, 12:14 PM
|
|
Member
|
|
Join Date: Sep 2011
Posts: 86
Thanks: 3
Thanked 1 Time in 1 Post
|
|
|
It seems that all GTK applications installed from PBIs do not have GTK themes applied.
Me too, I would like to see any solution for this.
|
|

08-01-2012, 12:46 PM
|
|
Administrator
|
|
Join Date: Nov 2009
Posts: 767
Thanks: 13
Thanked 31 Times in 30 Posts
|
|
According to Kris:
The PBI's will read the local ~/.gtk2 stuff to determine the theme being used, however they will need that theme compiled in as part of the PBI / port build. This is due to the GTK themes being compiled library modules, instead of just colorscheme meta-data. This makes it impossible to have a "universal" theme directory to share between all apps, since each app may need a different library version, etc. What we do with many of our GTK apps is include this port in the PBI_MKPORTAFTER variable.
http://www.freshports.org/x11-themes/qtcurve-gtk2/
That provides a nice looking QT similar theme to GTK apps, like firefox, so they look good in KDE.
|
|

08-02-2012, 03:22 PM
|
|
Member
|
|
Join Date: Sep 2011
Posts: 86
Thanks: 3
Thanked 1 Time in 1 Post
|
|
|
drulavigne,
Thanks for your answer, but I don't see any solution of the problem.
If we need to re-construct a PBI any time we change the GTK theme - it means that the PBI format applications do NOT support GTK themes.
Can we hope to see any improvements of it in the future?
|
|

08-02-2012, 03:28 PM
|
 |
Administrator
|
|
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,428
Thanks: 0
Thanked 103 Times in 85 Posts
|
|
GTK-Theme in PBIs
I'll take a look into the issue here. It depends completely on how
portable the GTK theme libraries are. If they can be shared among PBIs,
I'll add some functionality into the format to do that. Right now we
share fonts and libGL across PBIs, so this may work as well.
__________________
----
Kris Moore
PC-BSD Founder
|
|

08-27-2012, 05:14 AM
|
|
Senior Member
|
|
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
|
|
Oddly enough, this crops up with PBIs using QT as well. For instance, smplayer:
... and arora:
This happens regardless of whether one selects the "oxygen" or "qtcurve" themes from "system preferences."
|
|

08-30-2012, 04:40 AM
|
|
Junior Member
|
|
Join Date: Aug 2012
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
I having the same problem 
I can apply the lxappearance default them clearlooks on the pbi gtk app but not the newly added themes.
I added themes to the system wide folder /usr/local/share/themes
|
|

08-30-2012, 01:46 PM
|
|
Senior Member
|
|
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
|
|
Originally Posted by claudius
|
I having the same problem 
I can apply the lxappearance default them clearlooks on the pbi gtk app but not the newly added themes.
I added themes to the system wide folder /usr/local/share/themes
|
Yeah, PBIs don't look there for theme information, they only look in /usr/pbi/pbi-appname/share/themes/
If you have a look at that subdirectory for a given PBI, you'll find Clearlooks, and a few other themes there, but not the ones you have installed elsewhere.
Why this happens with QT apps though, I have not the faintest idea. You would assume that they would, just like the GTK apps, include at least the basic/default themes, such as Oxygen, Qtcurve, etc. but that does not appear to be the case: as a result, you get un-styled apps regardless of which QT4 theme you have selected.
|
|

09-03-2012, 01:56 AM
|
|
Junior Member
|
|
Join Date: Aug 2012
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
Originally Posted by purgatori
|
Yeah, PBIs don't look there for theme information, they only look in /usr/pbi/pbi-appname/share/themes/
If you have a look at that subdirectory for a given PBI, you'll find Clearlooks, and a few other themes there, but not the ones you have installed elsewhere.
Why this happens with QT apps though, I have not the faintest idea. You would assume that they would, just like the GTK apps, include at least the basic/default themes, such as Oxygen, Qtcurve, etc. but that does not appear to be the case: as a result, you get un-styled apps regardless of which QT4 theme you have selected.
|
That implies we have to put the custom themes to all the apps folder
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 08:26 AM.
|
|