compiz-plugins schemas not found with gsettings

Bug #1121537 reported by Sridhar Dhanapalan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Expired
Undecided
Unassigned
compiz (Ubuntu)
Expired
Undecided
Unassigned
unity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I define key bindings through CompizConfig Settings Manager, they are lost on restart. For instance, I can <Super>+arrow to move between viewports in the Desktop Wall, but those are lost after I log out. I have to manually set the key bindings every time I log in.

I can't set these as a script, because (I think ) of the problem explained at http://askubuntu.com/questions/247247/compiz-plugins-schemas-not-found-with-gsettings

I have installed the extra plugins (compiz-plugins) for CompizConfig Settings Manager (compizconfig-settings-manager) and am trying to change these settings from the command line using gsettings.

The problem is none of these schemas are found by gsettings list-recursively and I can't understand why.

Based on my understanding, the schemas are found through the environment variable XDG_DATA_DIRS which currently is this (the default with Ubuntu 12.10):

ben@ben-HPdv6:~$ echo $XDG_DATA_DIRS
/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/

By searching for schema files using the locate command I have found what I believe to be the missing schema files as follows:

ben@ben-HPdv6:~$ locate .schemas | grep "compiz"
/usr/share/gconf/schemas/compiz-addhelper.schemas
/usr/share/gconf/schemas/compiz-animation.schemas
/usr/share/gconf/schemas/compiz-annotate.schemas
/usr/share/gconf/schemas/compiz-bench.schemas
/usr/share/gconf/schemas/compiz-ccp.schemas
/usr/share/gconf/schemas/compiz-clone.schemas
/usr/share/gconf/schemas/compiz-commands.schemas
/usr/share/gconf/schemas/compiz-compiztoolbox.schemas
/usr/share/gconf/schemas/compiz-composite.schemas
/usr/share/gconf/schemas/compiz-copytex.schemas
/usr/share/gconf/schemas/compiz-crashhandler.schemas
/usr/share/gconf/schemas/compiz-cube.schemas
/usr/share/gconf/schemas/compiz-dbus.schemas
/usr/share/gconf/schemas/compiz-decor.schemas
/usr/share/gconf/schemas/compiz-expo.schemas
/usr/share/gconf/schemas/compiz-extrawm.schemas
/usr/share/gconf/schemas/compiz-ezoom.schemas
/usr/share/gconf/schemas/compiz-fade.schemas
/usr/share/gconf/schemas/compiz-fadedesktop.schemas
/usr/share/gconf/schemas/compiz-firepaint.schemas
/usr/share/gconf/schemas/compiz-gnomecompat.schemas
/usr/share/gconf/schemas/compiz-grid.schemas
/usr/share/gconf/schemas/compiz-imgjpeg.schemas
/usr/share/gconf/schemas/compiz-imgpng.schemas
/usr/share/gconf/schemas/compiz-imgsvg.schemas
/usr/share/gconf/schemas/compiz-inotify.schemas
/usr/share/gconf/schemas/compiz-kdecompat.schemas
/usr/share/gconf/schemas/compiz-mag.schemas
/usr/share/gconf/schemas/compiz-maximumize.schemas
/usr/share/gconf/schemas/compiz-mblur.schemas
/usr/share/gconf/schemas/compiz-mousepoll.schemas
/usr/share/gconf/schemas/compiz-move.schemas
/usr/share/gconf/schemas/compiz-neg.schemas
/usr/share/gconf/schemas/compiz-notification.schemas
/usr/share/gconf/schemas/compiz-obs.schemas
/usr/share/gconf/schemas/compiz-opacify.schemas
/usr/share/gconf/schemas/compiz-opengl.schemas
/usr/share/gconf/schemas/compiz-place.schemas
/usr/share/gconf/schemas/compiz-put.schemas
/usr/share/gconf/schemas/compiz-regex.schemas
/usr/share/gconf/schemas/compiz-resize.schemas
/usr/share/gconf/schemas/compiz-resizeinfo.schemas
/usr/share/gconf/schemas/compiz-ring.schemas
/usr/share/gconf/schemas/compiz-rotate.schemas
/usr/share/gconf/schemas/compiz-scale.schemas
/usr/share/gconf/schemas/compiz-scaleaddon.schemas
/usr/share/gconf/schemas/compiz-scalefilter.schemas
/usr/share/gconf/schemas/compiz-screenshot.schemas
/usr/share/gconf/schemas/compiz-session.schemas
/usr/share/gconf/schemas/compiz-shelf.schemas
/usr/share/gconf/schemas/compiz-shift.schemas
/usr/share/gconf/schemas/compiz-showdesktop.schemas
/usr/share/gconf/schemas/compiz-showmouse.schemas
/usr/share/gconf/schemas/compiz-showrepaint.schemas
/usr/share/gconf/schemas/compiz-snap.schemas
/usr/share/gconf/schemas/compiz-splash.schemas
/usr/share/gconf/schemas/compiz-staticswitcher.schemas
/usr/share/gconf/schemas/compiz-switcher.schemas
/usr/share/gconf/schemas/compiz-td.schemas
/usr/share/gconf/schemas/compiz-text.schemas
/usr/share/gconf/schemas/compiz-titleinfo.schemas
/usr/share/gconf/schemas/compiz-trailfocus.schemas
/usr/share/gconf/schemas/compiz-vpswitch.schemas
/usr/share/gconf/schemas/compiz-wall.schemas
/usr/share/gconf/schemas/compiz-water.schemas
/usr/share/gconf/schemas/compiz-widget.schemas
/usr/share/gconf/schemas/compiz-winrules.schemas
/usr/share/gconf/schemas/compiz-wobbly.schemas
/usr/share/gconf/schemas/compiz-workarounds.schemas
/usr/share/gconf/schemas/compiz-workspacenames.schemas

They are all there in /usr/share/gconf/schemas which is within /usr/share/ which is part of the default schema lookup environment variable XDG_DATA_DIRS. So I don't understand why they aren't appearing in gsettings?

Is there a 'refresh schemas list' command I am missing or does it not look recursively in a directory (seems weird cause there also other schema files in this directory) or am I not correctly understanding how gsettings works?

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: compiz 1:0.9.8.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
Date: Mon Feb 11 10:40:44 2013
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 4.1.18, 3.5.0-22-generic, x86_64: installed
 virtualbox, 4.1.18, 3.5.0-23-generic, x86_64: installed
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21f9]
InstallationDate: Installed on 2013-01-28 (13 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: LENOVO 3443CTO
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-23-generic root=/dev/mapper/ubuntu-root ro elevator=noop quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/20/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: G6ET66WW (2.10 )
dmi.board.asset.tag: Not Available
dmi.board.name: 3443CTO
dmi.board.vendor: LENOVO
dmi.board.version: Win8 STD DPK TPG
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG6ET66WW(2.10):bd11/20/2012:svnLENOVO:pn3443CTO:pvrThinkPadX1Carbon:rvnLENOVO:rn3443CTO:rvrWin8STDDPKTPG:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3443CTO
dmi.product.version: ThinkPad X1 Carbon
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.8.6-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu6.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120913.8637f772-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu3

Revision history for this message
Sridhar Dhanapalan (sridhar) wrote :
Revision history for this message
Sridhar Dhanapalan (sridhar) wrote :

I get a similar problem when I create key bindings using the Keyboard applet in System Settings. I like to change/set bindings to switch between workspaces and to move windows to different workspaces. These settings are often forgotten across restarts and Compiz crashes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Ubuntu 12.10 reached end-of-life so it's no longer supported. Can you
still reproduce this bug on 14.04 (or laters)?

Changed in unity (Ubuntu):
status: New → Incomplete
Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Changed in unity:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Unity because there has been no activity for 60 days.]

Changed in unity:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.