CompizFusion DesktopEffects Dialog

A little something I wrote last night.

So, what it do?. Simply a little workaround of the problem Fedora users had for quite a long time - getting Compiz Fusion to run on login properly using ccp (libcompizconfig) plugin. The "Advanced" button will launch Simple-CCSM, and the "Expert" button will launch CCSM ( the buttons are disabled if the command doesn't exist).

Why not I create this long ago??. The infrastructure to drop in a window manager without patching gnome-wm was not available before. The recent change in GNOME to use a .desktop file to launch the window manager and "/desktop/gnome/session/required_components/windowmanager" gconf key to store window manager selection made this now possible - bit more elegantly.

Git Repository
RPM Packages

I wonder if this can be accepted in the repo.


Anonymous said…
Good job. :) But don't you think, that it should be integrated with Appearance dialog as a tab?
KageSenshi said…
yep .. agree that the Appearance dialog is the best place to put it ..

.... now .... if only that Appearance dialog is written in Python and the GlibGconf VS Libcompizconfig silentwar doesn't happen/have ended...
Anonymous said…
I really don't know anything about this "silent war". :) I've been using Ubuntu recently, and they solved this problem quite well:
KageSenshi said…
theres a disagreement between the compiz-core and the compiz-fusion ppl on which plugin should be loaded by default.

At the compiz-core and gnome devs side, they want compiz to be loaded with 'glib gconf' (for gnome) or 'kconfig' (for kde). With the argument of desktop integration, no external dependencies, and presumably better engineering.

As for the compiz-fusion side, they want compiz to be loaded with their 'ccp' plugin as that provide abstraction for both gconf and kconfig, and also for their CCSM and Simple-CCSM to work.

Fedora compiz maintainers (which are also compiz-core dev) decided to go with the compiz-core decision. Which means, compiz-fusion plugins won't be configurable using CCSM as there are no configuration tools that utilize gconf / kconfig for configuring compiz fully (yet). (this basically explains the reason of lots of complains on CCSM not working on Fedora)

Ubuntu in the other hand, took the compiz-fusion devs side and load 'ccp' and all their 'enhancements' depends a lot of libcompizconfig.

I don't think GNOME themselves want Compiz in their default stack yet. So, compiz in the gnome-appearance tab need to be maintained locally, but that against Fedora principle of working closely with upstream. Ubuntu can do that because they love keeping patches locally for themselves (and having paid people to actually maintain it).

This is a common case of 2 upstreams disagrees with each other and integrators who just want stuff to work got stuck in the middle.

From the POV i'm looking at, the only way to make CompizFusion justWorks in Fedora is by introducing something that doesn't require changes in neither the compiz package, nor any of the gnome packages. Thus, this little app. I didn't do this previously because it needed a patch to gnome-wm package to work properly, but with the new change in GNOME, that limitation is not removed.
KageSenshi said…
*is now removed
Anonymous said…
I get the following error on my F10 box:

Traceback (most recent call last):
File "/usr/bin/fusion-desktop-effects", line 127, in on_toggle
process = subprocess.Popen([COMPIZ_LAUNCHER,'--replace'])
File "/usr/lib/python2.5/", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/", line 1091, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

What did I wrong?
KageSenshi said…

Did you install from the RPM package? .. or from the source checkout? ..

if from the source checkout .. make sure compiz-fusion-gtk is installed in your $PATH ..
KageSenshi said…

oops my bad .. just realized i didnt change the COMPIZ_LAUNCHER variable value to "compiz-fusion-gtk"

I've updated the RPMS
initcrash said…
The pointless placement of a big branding image makes this look like a MS Windows app.
Please have a look at:

Popular posts from this blog

Tee'ing Python subprocess.Popen output

Consolidated community site infrastructure on Plone

Adding simple popup to Plone frontpage