Package Details: compiz 0.9.13.0-2

Git Clone URL: https://aur.archlinux.org/compiz.git (read-only)
Package Base: compiz
Description: Composite manager for Aiglx and Xgl, with plugins and CCSM
Upstream URL: https://launchpad.net/compiz
Licenses: GPL, LGPL, MIT
Conflicts: compiz-core
Submitter: Chazza
Maintainer: Chazza
Last Packager: Chazza
Votes: 102
Popularity: 4.416449
First Submitted: 2014-08-04 13:22
Last Updated: 2016-07-01 12:25

Pinned Comments

muktupavels commented on 2016-06-28 20:10

Support for Metacity 3.20 is already added to compiz. New compiz release/tarball (0.9.13.0) most likely will be available tomorrow.

Metacity 3.20 stores / reads theme settings from different schema. If you are using GNOME Flashback session then you must use these settings:
- org.gnome.metacity.theme name - theme name
- org.gnome.metacity.theme type - gtk or metacity

If using gtk-window-decorator with MATE session:
- org.mate.Marco.general theme - theme name, only metacity type supported

If using gtk-window-decorator in other sessions:
- org.gnome.desktop.wm.preferences theme - theme name, only metacity type supported

---

About theme types - gtk and metacity:
metacity type - this is same/old metacity themes that are read from metacity-1 directory.
gtk type - this is same theme that is used for client side decorated windows and/or used by mutter.

Unfortunately gtk-window-decorator currently does not fully support GTK+ theme. For example with Adwaita theme border is not visible. So any theme that uses box-shadow as border will not work fully.

P.S. If you see new bugs/regressions (in gtk-window-decorator) please create bugs in launchpad.net and subscribe me to that bug report.

Latest Comments

Chazza commented on 2016-07-14 11:28

@talessx No worries. Glad it's working for you now.

talessx commented on 2016-07-13 18:14

Thanks a lot Chazza, everything works fine now. I dont' know how also conky and cairo-dock are ok. I'm sure I updated all the system.

Chazza commented on 2016-07-12 10:39

@kinoru Excellent. Glad the problem is solved.

Note to all. Please do make doubly sure before posting here with a problem that your system is fully up to date (that includes this package). If you're holding back an update on some important piece of infrastructure (like gtk3 for instance) then mention that in your post. I'm quite happy to answer people's questions where I'm able but it really helps me (and others who might want to help as well) if we're starting with the assumption that the system is up to date.

Thanks folks

kinoru commented on 2016-07-12 09:36

@Chazza You're right! I thought I upgraded compiz to the latest, but it wasn't really 0.9.13. Upgrading to the latest AUR release solved the problem. Thanks a lot!

Chazza commented on 2016-07-12 07:44

@talessx expo does work, it's just that the edge binding has been set to none in the latest update. You can change it back yourself to the top left corner (or wherever) in the expo settings. Looking into this, it seems that what's happened is that there were some Ubuntu patches for Compiz that were applied downstream prior to 0.9.13. Now the patches are applied upstream which is why a bunch of default settings have changed.
http://bazaar.launchpad.net/~compiz-team/compiz/0.9.13/revision/3981

As for cairo-dock and conky, I have no idea. I don't use those things. I'm afraid you'll have to figure that one out yourself unless somebody else chimes in.

@kinoru Are you using Compiz 0.9.13? "org.gnome.metacity theme" is the old key. The new key is "org.gnome.metacity.theme name" (as has already been mentioned). If it's asking for the old key, that makes me think you haven't updated.

kinoru commented on 2016-07-12 03:48

The issue is the former - gtk-window-decorator is not running. The windows have no shadows they used to have, and nothing like "gtk-window-decorator" shows up in the result of `ps aux`.

Running

gsettings set org.gnome.metacity.theme name "Adwaita"

and

gsettings set org.gnome.metacity.theme type metacity

did not help. gtk-window-decorator won't launch, and the only message it prints out is:

(gtk-window-decorator:14913): GLib-GIO-ERROR **: Settings schema 'org.gnome.metacity' does not contain a key named 'theme'
Trace/breakpoint trap (core dumped)

Downgrading metacity to 3.18.4-1 solves the issue; gtk-window-decorator will launch fine.

Any idea? BTW, thanks for your help and patience.

talessx commented on 2016-07-11 18:37

I have encountered 3 problems with last upgrade:
1) with cairo-dock: when windows cover the dock it becomes unavailable even trying to go on the appropriate zone with the mouse (the bottom for me)
2) "expo" effect doesn't work (show desktops effetc, for me, moving mouse on the left top corner of the screen)
3) while whatching full-screen flash videos (e.g. youtube) conky applets appear over the screen toghether with non-minimized windows

Recompiling and downgrading the packages every works fine.
Bye bye
Alessandro

Chazza commented on 2016-07-11 08:22

The gsettings command:

gsettings set org.gnome.metacity.theme name "theme-name"

changes which theme metacity uses. The idea is that gtk-window-decorator can read that setting and then also use that theme. This a throwback to the days of GNOME 2 where Compiz could be used as a drop in replacement for Metacity in a GNOME session. A user would want to be able to change the window decoration theme in the GNOME control center and have that setting take effect, no matter whether they were using Compiz or Metacity. That's why gtk-window-decorator reads Metacity's settings.

The gsettings command:

gsettings set org.gnome.metacity.theme type metacity

makes Metacity use Metacity themes instead of GTK+ themes. Since GNOME (3.16?) Mutter stopped using Metacity themes and decided to use GTK+ themes for the window decoration. If I'm reading muktupavels' comment correctly then current Metacity supports both and gtk-window-decorator supports GTK+ themes in GNOME Flashback only and needs Metacity themes in any other session.

I hope this clears things up.

Now you need to tell us what your problem actually is. Is the problem that you have no window borders whatsoever - in which case gtk-window-decorator probably isn't running - or is the problem that the window borders are not using the theme that you like?

muktupavels commented on 2016-07-11 07:16

@kinoru What session are you using? GNOME Flashback (Compiz)? What did you mean with 'None of it enabled running gtk-window-decorator.'?

kinoru commented on 2016-07-11 07:12

@Chazza Thanks for the reply.

I'm sorry to bug you once again, but I don't really understand the comment you mentioned. "must use these settings" - what settings? Where do I set them?

I've tried:

gsettings set org.gnome.metacity theme Adwaita

and

gsettings set org.gnome.metacity.theme name Adwaita
gsettings set org.gnome.metacity.theme type gtk

and

gsettings set org.gnome.metacity.theme type metacity

None of it enabled running gtk-window-decorator.

Is there a tool or a command I can use to put those "settings" in effect?

Sorry for being utterly clueless... I'd greatly appreciate any help.

All comments