Comment 21 for bug 1085596

james (lyons-dj) wrote :

I managed to get CCSM working under 12.10 and now I have full Compiz/Unity OpenGL effects working.

First the local settings are broken in Chubuntu so if you try and run Compiz Config Settings Manager(CCSM) you'll see:


(process:6123): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 93, in <module>
    import ccm
  File "/usr/lib/python2.7/dist-packages/ccm/", line 1, in <module>
    from ccm.Conflicts import *
  File "/usr/lib/python2.7/dist-packages/ccm/", line 26, in <module>
    from ccm.Constants import *
  File "/usr/lib/python2.7/dist-packages/ccm/", line 79, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.7/", line 531, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

To fix this you need a file in your home dir .xprofile with some local settings, I used:

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-

Make the file, set it to the correct local settings for your computer, log out and back in and CCSM should work

Next it seems that the old Unity --replace Command is no longer used in 12.10 so grab this to replace it:

sudo add-apt-repository ppa:amith/ubuntutools
sudo apt-get update
sudo apt-get install unity-reset

Then run:


In the terminal until you see the output:( Scroll back in the Terminal output to find this text )

compiz (core) - Info: Unity is fully supported by your hardware.
compiz (core) - Info: Unity is fully supported by your hardware.

Once you see this, open ccsm and make sure the OpenGL is checked, you can also try Wobbly Windows, Desktop Cube, Rotate Cube, as they all use 3D Hardware to work.

I did have one systems freeze when I checked Desktop Cube the first time, but after a hard restart I was able to check it and it now works, so YMMV.

I also see a small amount of artifacts when moving Wobbly Windows, but not much.

We still need to send a bug report to Unity/Compiz because it's not detecting the 3D hardware every time as it should. I'd send the bug report, but I'm not sure where to send it?