From 14.04
List active compiz plugins
Run dconf dump /org/compiz/profiles/unity/ | grep active-plugins
in a Terminal. This will give you someting like
active-plugins=['core', 'composite', 'opengl', 'wall', 'resize', 'vpswitch', 'compiztoolbox', 'move', 'snap', 'grid', 'imgpng', 'commands', 'unitymtgrabhandles', 'mousepoll', 'place', 'copytex', 'regex', 'session', 'animation', 'fade', 'expo', 'workarounds', 'ezoom', 'scale', 'unityshell']
Configure settings per user
See answer https://askubuntu.com/a/320677/10475
System-wide configuration
Normally you could make system-wide settings with vendor overrides in gsettings. As it is not possible to write a schema override file that includes a DConf path (see also #1281580) you have to set the settings in dconf directly:
Step 1: Create a file user
in /etc/dconf/profile/
with this content:
user-db:user
system-db:compiz
Step 2: Create a folder compiz.d
in /etc/dconf/db/
Step 3:
Create the file 00_default_plugins
in /etc/dconf/db/compiz.d/
and put _your list of plugins_
inside (run dconf dump /org/compiz/profiles/unity/ | grep active-plugins
to get a list of your actually activated plugins).
Example:
[org/compiz/profiles/unity/plugins/core]
active-plugins=['core', 'composite', 'opengl', 'move', 'vpswitch', 'copytex', 'grid', 'commands', 'snap', 'compiztoolbox', 'mousepoll', 'place', 'resize', 'imgpng', 'session', 'wall', 'regex', 'unitymtgrabhandles', 'animation', 'winrules', 'fade', 'workarounds', 'expo', 'scale', 'ezoom', 'unityshell']
Step 4:
Make this setting mandatory. Create a folder locks
in /etc/dconf/db/compiz.d/
and put a file named 00_compiz_active_plugins
with this content inside:
/org/compiz/profiles/unity/plugins/core/active-plugins
Step 5: Run sudo dconf update
in a terminal to compile.
Now you can open a guest session and check if the setting is applied.
NB: You can name system-db
the way you like but keep in mind that the folder compiz.d
in my example has to be named the same as your system-db
with a .d
appended.
Credits:
https://wiki.gnome.org/Projects/dconf/SystemAdministrators
http://blog.chapus.net/more-gnome-unity-system-defaults/
Best Answer
Running
metacity --replace
from a virtual console doesn't work because it doesn't know which X11 display to attach to. The default behavior is to attach to the display it runs in...and a shell running in a virtual console isn't on any X11 display.Instead, you must manually specify the display. It will be
:0
unless you've configured your X11 display differently. (Even if you have multiple monitors, it will still be:0
unless you've changed your X11 configuration.)To do that, use this command:
If that does't work, then try manually killing the
compiz
process first. To do that:Run
killall compiz
. Wait a few seconds. Perhapscompiz
will respond to this signal and terminate.Run
killall -KILL compiz
. This almost always ensures thatcompiz
will be immediately terminated.Step 1 is optional, but can help processes free some resources and finish up some kinds of important actions (like writing buffered data to files).