Comment 48 for bug 879218

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Bug 879218] Re: some users prefer the old grid behaviour (dividing each time the keybinding are used)

cako if you installed the plugin locally you need to ensure that the
gsettings schema is installed to the systemwide schema install dir or
you need to set XDG_DATA_DIRS as appropriate.

I seriously don't recommend copying files around for the following reasons:

1. The plugins will have been compiled for the in-tree ABI. This has
changed recently and the plugins will not load correctly if the
package in ubuntu doesn't have the most up to date ABI version.
2. As you've mentioned yourself, the gsettings schemas need to be
installed and then the gsettings binary file needs to be recompiled.

If you want to test out the new behavior, my recommendation is to
change into the grid/ subdirectory and build the plugin locally. For
example:

cd plugins/grid
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=${HOME}/bin -DCOMPIZ_PLUGIN_INSTALL_TYPE=local
make install
glib-compile-schemas ${HOME}/bin/share/glib-2.0/schemas

Then you'll need to add ${HOME}/bin/share to your XDG_DATA_DIRS in
your .bashrc . For example:

export XDG_DATA_DIRS=${HOME}/bin/share/:${XDG_DATA_DIRS}

On Wed, May 1, 2013 at 4:51 AM, cako <email address hidden> wrote:
> Unfortunately your solution generates the following errors:
>
> compiz (core) - Info: Starting plugin: grid
>
> (process:2723): GLib-GIO-ERROR **: Settings schema 'org.compiz.grid' does not contain a key named 'cycle-sizes'
> Trace/breakpoint trap
>
> Any ideas? Looking forward to the PPA!
>
> --
> You received this bug notification because you are a member of Compiz
> Maintainers, which is subscribed to Compiz Grid Plugin.
> https://bugs.launchpad.net/bugs/879218
>
> Title:
> some users prefer the old grid behaviour (dividing each time the
> keybinding are used)
>
> Status in Compiz:
> Fix Committed
> Status in Compiz Grid Plugin:
> Confirmed
> Status in Compiz Main Plugins:
> Confirmed
> Status in Unity:
> Won't Fix
> Status in “compiz-plugins-main” package in Ubuntu:
> Confirmed
>
> Bug description:
> I've used the Compiz Grid function for a long time and I generally use
> it to set my browser to the right 2/3 or 3/4 of the screen and have
> other apps on the top or bottom half of the remaining part. Now when I
> press ctrl + alt numpad 4 or numpad 6 it only does half and when
> pressing it a second or third time it does nothing. The options for
> different sizes work for all the corners and top and bottom. When I
> press ctrl + alt numpad 9 it does the same thing as pressing ctrl +
> alt numpat 8. Here's a video that may illustrate the problem better
> than my description.
>
> http://www.youtube.com/watch?v=i3WC0BnXe5E
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: unity 4.22.0-0ubuntu3
> ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
> Uname: Linux 3.0.0-12-generic x86_64
> NonfreeKernelModules: fglrx
> ApportVersion: 1.23-0ubuntu3
> Architecture: amd64
> CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,move,gnomecompat,mousepoll,imgpng,unitymtgrabhandles,regex,animation,grid,snap,expo,workarounds,ezoom,resize,vpswitch,place,wall,staticswitcher,fade,session,scale,unityshell]
> Date: Thu Oct 20 23:03:00 2011
> InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
> ProcEnviron:
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: unity
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> A video of the latest Grid version (also showing this fix in action):
> https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/745159/+attachment/3660185/+files/GridAllFunctionalityFullyFixed.mp4
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/compiz/+bug/879218/+subscriptions

--
Sam Spilsbury