Comment 69 for bug 291467

Revision history for this message
dtrichar (david-pcpromotions) wrote :

Ok for those of you tht do not have gnome-wm then here is another way to do the same thing.
The previous fix was for Mint6 Felicia, which is one of the distro's I am playing around with.

The idea is to start compiz-real with the parameters --sm-client-id $DESKTOP_AUTOSTART_ID as well as all the other parameters that are required.
So.....

edit the file /usr/bin/compiz and go to the last line which on my system is :-

${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS

you need to replace "$@" with --sm-client-id $DESKTOP_AUTOSTART_ID i.e

${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS --sm-client-id $DESKTOP_AUTOSTART_ID $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS

this will ensure that compiz-real gets the correct arguments passed to it.
hope this works for you, if it does/not please reply so that others may know.