4

Is there a way to edit Compiz settings in a config file or gconf/dconf?

Please provide an example configuration being done in CCSM and the alternative method.

Oxwivi
  • 17,849

2 Answers2

5

Well there are the standard tools:

  • gconf-editor (GUI)
  • gconftool / gconftool-2 (CLI)
  • dconf-editor (GUI)

All my compiz settings are in gconf under /apps/compiz-1

For you exact example:

gconftool-2 -s -t string '/apps/compiz-1/plugins/decor/screen0/options/decoration_match' '!state=maxvert'
Oli
  • 293,335
1

dbus

Example:

Set to single monitor:

dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/core/screen0/hsize org.freedesktop.compiz.set int32:8 xrandr -s 1

set to dual monitor:

dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/core/screen0/hsize org.freedesktop.compiz.set int32:4 xrandr -s 0

You can read more on the compiz dbus wiki page.

Manual

See:

~/.gconf/apps/compiz-1/
/.gconf/apps/compizconfig-1/

There are files named %gconf.xml in these directories for all the settings.

Rinzwind
  • 299,756