I have created a new ebuild for desktop-effects-0.8.5 with a patch to allow it to operate properly in a Gentoo environment. desktop-effects is a package developed by Fedora, and included in recent versions of Fedora linux, that provides a simple way of enabling and disabling desktop effects such as compiz or gnome-shell. See here for a screenshot: http://osdir.com/ml/attachments/jpgZIdHg7tSbO.jpg Fedora's version uses a external script called compiz-gtk from their compiz-gnome package. I have adapted their source to use Gentoo's compiz-manager. I have also included compiz-manager.desktop so that when 'desktop/gnome/session/required_components/windowmanager' is set to compiz-manager, gnome-session will still load it at login. I don't think this desktop file is quite right yet because .xsession-errors shows that it failed to register before timeout, but it does at least work. I will continue work on this, and I would like to suggest that it be included in portage after the 'failed to register before timeout' problem is solved.
Created attachment 227827 [details] desktop-effects-0.8.5.ebuild
Created attachment 227829 [details, diff] Patch needed for 0.8.5 ebuild
Created attachment 227833 [details] New ebuild for 0.8.6 New upstream release, 0.8.5 patch still works.
It seems that the bug about failing to register before timeout has nothing to do with how I wrote the .desktop file. I looked at the gnome-session code, and found the following: for (a = manager->priv->pending_apps; a; a = a->next) { g_warning ("Application '%s' failed to register before timeout", gsm_app_peek_app_id (a->data)); g_signal_handlers_disconnect_by_func (a->data, app_registered, manager); /* FIXME: what if the app was filling in a required slot? */ } Since the window manager is a required slot, the problem is most likely with gnome-session. Also, I am running gnome-session-2.30.0, so this may not even effect current in portage builds.
Created attachment 228001 [details, diff] patch for new GTK+ 2.20 API Thanks to hicham at #gentoo-desktop
Created attachment 228003 [details] alternative ebuild which does not pull compiz I got this from hicham at #gentoo-desktop and updated it. Compiz is optional, but compizconfig-backend-gconf should be installed with it.
Created attachment 228005 [details] alternative ebuild which does not pull compiz I got this from hicham at #gentoo-desktop and updated it. Compiz is optional, but compizconfig-backend-gconf should be installed with it. (sry, uploaded old version)