Comment 10 for bug 1036752

Revision history for this message
Jason Conti (jconti) wrote :

Alright, ideally I would use gsettings, but I cannot figure out how to set up the default plugins without running some sort of script in the user session to set the keys if they are not already set.

So, my thought is that we can just use the ini backend but with the attached patch to compizconfig/libcompizconfig/backend/source/ini.c.

This patch allows compiz to fallback to a .ini profile in /etc/compizconfig/ to read settings if the value is not already set in the user .ini file in ~/.config/compiz-1/compizconfig/. With the addition of a simple Default.ini to /etc/compizconfig/ such as:

[core]
s0_active_plugins = core;composite;opengl;compiztoolbox;decor;vpswitch;snap;mousepoll;resize;place;move;wall;grid;regex;imgpng;session;gnomecompat;animation;fade;workarounds;scale;expo;ezoom

the Gnome Classic session will load up with a nice default set of plugins.

Technically it only needs to fallback for a List option to fix this issue, but I added them all anyway. Probably needs some testing and perhaps fixing.