Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197455

Summary: x11-wm/compiz-0.6.2 hard codes incorrect plug-in list via compiz-start script
Product: Gentoo Linux Reporter: Greg Watson (linuxkrn) <bugs>
Component: Current packagesAssignee: Desktop-Effects herd <desktop-effects+disabled>
Severity: normal CC: anton.bugs, betelgeuse, conan, denilsonsa, pacho, shannemann
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: compiz-start changes

Description Greg Watson (linuxkrn) 2007-10-29 19:51:52 UTC
The start script for compiz (compiz-start) hard codes the list of plug-ins to run.  When in fact it, should use the ccsm/gconf backend and only run one.  If options are set via ccsm compiz will crash with random segfaults.  Replacing one line fixes this problem.

The fix:  Change line 41 of compiz-start

compiz $COMPIZ_OPTIONS gconf move resize minimize place decoration wobbly fa   de cube rotate scale switcher zoom dbus


compiz $COMPIZ_OPTIONS ccp

Reference: Item #6 bottom of page.

As another note, this was tested on both ~amd64 and ~x86.  Not sure if you wanted to modify the keywords for amd64.
Comment 1 Anton Bolshakov 2007-10-31 03:00:23 UTC
I agree. The default compiz-start doesn't work for me and destroys KDE decoration.
There are two more recommended options:

compiz $COMPIZ_OPTIONS --sm-disable --ignore-desktop-hints ccp

ps. I guess the script will be replaced with fusion-icon in future.
Comment 2 Anton Bolshakov 2007-11-01 01:47:47 UTC
btw, it would be logical to have compiz-fusion-stop script as well.
It should do something like that:
kwin --replace &
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-11-24 23:27:51 UTC
from #compiz-fusion

01:24 < Betelgeuse> crdlb: Well do you think we should fix it?
01:24 < crdlb> yes :)
01:24 < crdlb> although there is a small problem in that ccp is provided by libcompizconfig
Comment 4 Denilson Sá Maia 2007-12-07 05:13:40 UTC
The current compiz-start script is simply broken. It does not work. So... Why still install it with the ebuild? Or, even better, why not just fix the script? So simple to do! And yet haven't been done in more then one month...
Comment 5 Paul 2008-02-03 05:04:26 UTC
Created attachment 142574 [details, diff]
compiz-start changes

This patch changes compiz-start to accept an argument regarding which window decorator to start. Lacking an argument, it will try to start a decorator that looks like your current one.
Comment 6 Richard Connon 2008-04-23 09:21:59 UTC
Surely compiz-config settings should be used not arguments to the script. If it requires libcompizconfig you should just add that as a dependancy. 90% of compiz users must have it installed anyway.
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2008-11-02 04:01:31 UTC
The updated compiz-0.7.8 uses the new compiz-manager startup script and fusion-icon has been added to the tree as a better replacement to start compiz.
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2008-11-02 04:03:24 UTC
*** Bug 212267 has been marked as a duplicate of this bug. ***