You are not logged in.

#1 2013-02-16 22:25:08

Multimoon
Member
From: /usr/share/zoneinfo/US/Eastern
Registered: 2012-09-30
Posts: 170

[SOLVED] [Compiz] Gtk-Window-Decorator

Hi guys, after spending the better part of one of my few free days configuring various apps and so on in compiz [I made a fresh arch install]. I finally got to setting my GTK theme away from the ugly defaults. I've installed the Orta theme for now at least, I'll probably change it once a week. The GTK theme sets perfectly fine, I used the gnome-tweak-tool for that, but the decorations(title bar) do not change, they remain the same default theme that gtk-window-decorator has. I have done extensive googling and have not found a solution yet, anyone have a fix?

Last edited by Multimoon (2013-02-17 14:23:36)


It always makes me laugh when people complain and rage over any distro's management ideal, when this is a linux community, and you could always make your own distro and experience the pains yourself.

Offline

#2 2013-02-16 23:45:07

andy_v
Member
From: Estonia
Registered: 2012-04-27
Posts: 31

Re: [SOLVED] [Compiz] Gtk-Window-Decorator

The old gtk-window-decorator (I'm assuming you installed the old stable version of compiz 0.8.x from the community repo) still requires certain gconf keys to be set.

If you find setting the GTK theme (using gnome-tweak-tool) and the window decorations (using either gconf-editor or gconftool-2) independently somewhat annoying, you might want to try compiz-devel from the AUR. It's the same version of compiz used in Ubuntu 12.10 and it's stable (at least as far as I've tested, mentioning because the "-devel" suffix might make you think otherwise). The 0.9.x versions of compiz use gsettings instead of gconf, which means that both the GTK theme and the window decorations can be set/changed using gnome-tweak-tool (or dconf-editor or the gsettings utility).

Also, some themes (the Gnome Cupertino theme for example, as well as Ubuntu's light themes) use some form of padding, shadows that the vanilla metacity (from Extra) does not allow, that might also cause gtk-window-decorator to fall back to its default theme. You can actually check whether the theme will be displayed or not in advance using the "metacity-theme-viewer Name_of_theme" command.

I hope that helps, good luck! smile

Offline

#3 2013-02-16 23:52:07

Multimoon
Member
From: /usr/share/zoneinfo/US/Eastern
Registered: 2012-09-30
Posts: 170

Re: [SOLVED] [Compiz] Gtk-Window-Decorator

Thank you, Ill have to try that when I get home, I left to meet friends for dinner. I was all but ready to settle and just use emerald. Refering to your mention of vanila metacity's problem with some themes, is there a workaround for this? I do often change themes once a week.


It always makes me laugh when people complain and rage over any distro's management ideal, when this is a linux community, and you could always make your own distro and experience the pains yourself.

Offline

#4 2013-02-17 00:31:49

andy_v
Member
From: Estonia
Registered: 2012-04-27
Posts: 31

Re: [SOLVED] [Compiz] Gtk-Window-Decorator

Yes, there is a workaround for that. You can install the 'metacity-ubuntu' package (Ubuntu patches metacity to allow the use of shadows, padding and other fancy features, I'm not 100% sure, where said features are actually used within the window decorations, perhaps around the min/max/close buttons), either from the AUR (the package seems a little outdated though) or from the Unity-for-Arch github repository (see Arch's wiki page regarding Unity for a short explanation on how to acquire the PKGBUILDs and compile the package, if you're not familiar with git).

There is one drawback though, you also need to recompile compiz to make gtk-window-decorator work with metacity-ubuntu (it's not that hard if you're familiar with ABS; just copy the contents of /var/abs/community/compiz/ to a temporary directory, edit the PKGBUILD and change the makedepends/depends lines containing 'metacity' to 'metacity-ubuntu' and compile using makepkg). Also, compiling compiz pulls in a lot of kde-related packages (because of 'compiz-decorator-kde', which is also built in the process).

Offline

#5 2013-02-17 14:23:09

Multimoon
Member
From: /usr/share/zoneinfo/US/Eastern
Registered: 2012-09-30
Posts: 170

Re: [SOLVED] [Compiz] Gtk-Window-Decorator

Thank you andy_v! I'm now using compiz-devel with Ubuntu's metacity from the Unity repo, I had unity installed on a older arch install so I was plenty familiar. All GTK themes work fine. Thanks again.


It always makes me laugh when people complain and rage over any distro's management ideal, when this is a linux community, and you could always make your own distro and experience the pains yourself.

Offline

Board footer

Powered by FluxBB