Skip to content

Instantly share code, notes, and snippets.

@brAzzi64
Created July 30, 2012 02:44
Show Gist options
  • Save brAzzi64/3203640 to your computer and use it in GitHub Desktop.
Save brAzzi64/3203640 to your computer and use it in GitHub Desktop.
Modifications to make compiz store its settings in /apps/compiz-built-1
=== modified file 'compizconfig/gconf/src/gconf.c'
--- compizconfig/gconf/src/gconf.c 2012-07-03 06:22:53 +0000
+++ compizconfig/gconf/src/gconf.c 2012-07-29 23:32:23 +0000
@@ -53,7 +53,7 @@
#define CompScrollLockMask (1 << 22)
#define METACITY "/apps/metacity"
-#define COMPIZ "/apps/compiz-1"
+#define COMPIZ "/apps/compiz-built-1"
#define COMPIZCONFIG "/apps/compizconfig-1"
#define PROFILEPATH COMPIZCONFIG "/profiles"
#define DEFAULTPROF "Default"
=== modified file 'xslt/compiz_gconf_schemas.xslt'
--- xslt/compiz_gconf_schemas.xslt 2010-11-26 16:55:31 +0000
+++ xslt/compiz_gconf_schemas.xslt 2012-07-29 23:32:23 +0000
@@ -26,7 +26,7 @@
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >
<xsl:output method="xml" indent="yes"/>
- <xsl:param name="appName">/apps/compiz-1</xsl:param>
+ <xsl:param name="appName">/apps/compiz-built-1</xsl:param>
<xsl:template match="/compiz">
<gconfschemafile>
@@ -44,7 +44,7 @@
<schema>
<key>/schemas<xsl:call-template name="printKey"/></key>
<applyto><xsl:call-template name="printKey"/></applyto>
- <owner>compiz-1</owner>
+ <owner>compiz-built-1</owner>
<type><xsl:call-template name="printType"/></type>
<xsl:choose>
<!-- color values need a special handling -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment