Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-09-01 02:45:51

hammered999
Member
Registered: 2011-03-05
Posts: 16

Gtk 3 programs are un-themed under xfce

When I launch a gtk 3 program under xfce it doesn't use any theme. If I launch it under Gnome 3 it is themed. How do I fix this?

Offline

#2 2011-09-01 12:06:06

Vovka-Korovka
Member
Registered: 2011-08-22
Posts: 2

Re: Gtk 3 programs are un-themed under xfce

Make symbolic link or copy gtk-3.0 directory from your theme to ~/.config.

E.g.

$ ln -s ~/.themes/Aldabra/gtk-3.0/ ~/.config/gtk-3.0

Offline

#3 2011-09-03 06:14:08

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: Gtk 3 programs are un-themed under xfce

Or install Greybird, it has support for GTK2 and GTK3 theming.
http://shimmerproject.org/project/greybird/


Mike

Offline

#4 2011-09-03 18:33:01

hammered999
Member
Registered: 2011-03-05
Posts: 16

Re: Gtk 3 programs are un-themed under xfce

Vovka-Korovka wrote:

Make symbolic link or copy gtk-3.0 directory from your theme to ~/.config.

E.g.

$ ln -s ~/.themes/Aldabra/gtk-3.0/ ~/.config/gtk-3.0

The only theme I have installed is the Adwaita theme which comes in the gnome-standard-theme package. (debian sid). So I don't know what I should symlink.
I made ~/.config/gtk-3.0/settings.ini file but it didn't work. Maybe xfce needs to setup some ENV VAR on startup or something. Gtk3 programs cannot find and use gtk3 themes under Xfce 4.8 now.

Any other idea?

@mmassonnet whati s Greybird?

Offline

#5 2011-09-04 11:58:36

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: Gtk 3 programs are un-themed under xfce

@mmassonnet whati s Greybird?

Try clicking the link I pasted...? It's a theme that supports both GTK2 and GTK3 versions.


Mike

Offline

#6 2012-05-20 23:00:33

Revery
Member
Registered: 2012-05-20
Posts: 1

Re: Gtk 3 programs are un-themed under xfce

@mmassonnet that's not an answer to the question.  That's a plug for a theme you happen to like.

I know that some themes ship with gtk2 and 3 support, but some themes are only 2 or 3 compatible.  I'm using xfce with the default theme and "Appearance Style" of Xfce.  I think you'd have to do the legwork yourself of converting them, though I haven't tried myself.
Perhaps start here:
http://developer.gnome.org/gtk3/stable/ … ext-themes

Offline

#7 2012-05-21 05:38:27

jampola
Member
Registered: 2012-05-20
Posts: 5

Re: Gtk 3 programs are un-themed under xfce

Offline

#8 2012-05-24 12:58:24

dyfet
Member
From: Cape May
Registered: 2011-05-28
Posts: 13
Website

Re: Gtk 3 programs are un-themed under xfce

I have not encountered a theme set that truly matches gtk2 and gtk3 well other than what kde did by having complete gtk2/gtk3 oxygen theming engines with hardcoded behavior all synced with kde's own qt oxygen engine.  There are some gtk2/3 themes that come close, but are hard to further adapt because there is no common theme engine for both gtk2 & 3 (other than the oyxgen ones which are not themable by design...) and often they (the 2 and 3 theme configs) will come from completely different origins that are layed out completely differently and happened to be combined into a single theme for both only because they had at least somewhat vaguely similar looks.  There had been some talk about porting murrine to gtk3, and gtk3 candido is kinda similar to it, but they are not the same, and the apps do not match that well even if one tries to build a matching theme from scratch for both to avoid diverging designs.


"Information in the computer age is the last genuine free market left on earth except those free markets where indigenous people are still surviving" - Russell Means

Offline

#9 2012-10-20 02:42:53

Gryllida
Member
Registered: 2012-10-20
Posts: 1

Re: Gtk 3 programs are un-themed under xfce

Currently, there is a large list of themes in Settings -> Appearance -> Style. Not all of them support GTK3. Some basic apps such as Evince and NetworkManager look ugly.

If a theme does not support gtk3, should it be removed from xfce's default themes list?

If removing themes is undesirable, could we e-mail the theme developers encouraging them to add gtk3 support?

Offline

#10 2012-10-21 02:41:45

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 560
Website

Re: Gtk 3 programs are un-themed under xfce

Gryllida wrote:

Currently, there is a large list of themes in Settings -> Appearance -> Style. Not all of them support GTK3. Some basic apps such as Evince and NetworkManager look ugly.

If a theme does not support gtk3, should it be removed from xfce's default themes list?

If removing themes is undesirable, could we e-mail the theme developers encouraging them to add gtk3 support?

Included themes are a matter for each distro.

I would think most theme developers would be aware of the issue but maybe some encouragement would work.

Offline

#11 2012-10-22 14:39:45

angstrom
Member
Registered: 2011-08-13
Posts: 267

Re: Gtk 3 programs are un-themed under xfce

As I understand how theming Gtk2/3 work :
- If a Gtk2 application is started, it will try to load configs in /usr/share/theme/yourtheme/gtk-2.0/ (or ~/.theme/yourtheme/gtk-2.0/)
- If a Gtk3 application is started, it will try to load configs in /usr/share/theme/yourtheme/gtk-3.0/ (or ~/.theme/yourtheme/gtk-3.0/)

In my case, I made a cutom gtk2/gtk3 theme: I choose a gtk2 theme that please me (as most of application and xfce are for the moment gtk2). Then I choose a gtk3 theme that match about the same color scheme, then I copy the gtk-3.0 folder to my theme folder "et voila" !


Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...

Offline

#12 2013-01-09 10:51:31

wilker
Member
Registered: 2012-11-16
Posts: 27

Re: Gtk 3 programs are un-themed under xfce

i think they should have postponed a little while this gnome 3 stuff.
i sincerely dont understand the logic of having an interface developed for years (should mean more bugs fixed) and afterwards simply start a new one from scratch. gnome 3 comes with only one theme. as designers, they could have it more customizable.
i think it was very wise from xfce not starting moving to gtk3 yet. there is barely a gtk3 software without a good alternative in gtk2. (well, there is ekiga...)
as network manager i use wicd
gui.png
and there are xpdf and epdf
capture_xpdfintl.png
having different gtk applications, some looking like clearlooks and some looking like adwaita dont look right..i would rather keep clearlooks the default in gtk3 and afterwards try to do something fancier.
also kde seems to have a better port in these matters. just checked here and with systemsettings you change the theme and icons from kde applications and they just look as if they were gtk2 apps. 
the greybird and bluebird themes are nice, but i would find it cool if the default xfce theme would have a gtk3 version. i am trying to learn about gtk3 myself...
there is the gtk3-engine-xfce in debian sid.

Offline

#13 2013-01-10 01:49:43

Magnus
Member
Registered: 2011-04-20
Posts: 51

Re: Gtk 3 programs are un-themed under xfce

The default xfce theme works on Gtk+ 3.2 but not on newer versions.

Offline

#14 2013-01-10 08:31:25

wilker
Member
Registered: 2012-11-16
Posts: 27

Re: Gtk 3 programs are un-themed under xfce

Magnus wrote:

The default xfce theme works on Gtk+ 3.2 but not on newer versions.

is greybird/bluebird default in xfce 4.10?
i think the default for 4.8 is the nice "Xfce" theme (which has no gtk3 theme, unfortunately)
thunar-remote.png

Last edited by wilker (2013-01-10 08:32:23)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 572.73 KiB (Peak: 589.58 KiB) ]