modifing the default window manager with gconf-editor by changing the desktop/gnome/session/required_component/windows_manager key with "compiz" will result to a " WARNING: Unable to find provider 'compiz' of required component 'windowmanager'" error on ~/.xsession-errors because the compiz.desktop is missing .This way gnome was starting without any windows decoration (even metacity) by createatin the compiz.desktop file with the following fix the issue [Desktop Entry] Type=Application Encoding=UTF-8 Name=Compiz Exec=compiz-manager # name of loadable control center module X-GNOME-WMSettingsModule=metacity # name we put on the WM spec check window X-GNOME-WMName=compiz # back compat only X-GnomeWMSettingsLibrary=compiz # new gnome-session X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager NoDisplay=true [Window Manager] SessionManaged=false Reproducible: Always Steps to Reproduce: 1.changing the desktop/gnome/session/required_component/windows_manager key with "compiz" 2.restart gdm 3. Actual Results: gnome starts without any window decoration Expected Results: gnome with compiz as the default windows manager gnome 2.24.r compiz 0.7.8-r2
1) gnome-session 2.24 isn't in portage. Are you using the overlay? 2) if compiz doesn't provide a .desktop file, then it's a compiz bug... (If you're not sure, please choose the "Ebuild" component instead of assigning bugs directly, bug wranglers will forward the bug to the correct maintainers) 3) please provide your emerge --info Thanks
1) yes i use overlay 2) ah ok sorry, i coudn'nt guess it was a compiz bug 3) here is my emerge --info jet@JetBoX ~ $ emerge --info Portage 2.2_rc20 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686) ================================================================= System uname: Linux-2.6.22-gentoo-r9-i686-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-glibc2.0 Timestamp of tree: Wed, 07 Jan 2009 15:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -msse3 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -msse3 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ " LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="fr en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/swegener /usr/portage/local/layman/gnome /usr/portage/local/layman/pcsx2-overlay /usr/portage/local/layman/kde /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amazon amr amrnb amrwb apic berkdb bidi bindist bl bzip2 cairo cdaudio cdda cddb cdinstall cdio cdparanoia clflush cli cmov constant_tsc cpudetection cracklib crypt cups custom-cflags cx16 cx8 dbus de debug dga directfb divx dri ds_cpl dts dv dvb dvd embedded enca encode est fbcon ffmpeg firefox flac fluidsynth fortran fpu ftp fuse fxsr gdbm gfortran ggi gif gimp glitz gnome gnutls gpm gtk hal ht httpd iconv id3tag ipod ipv6 isdnlog jack java joystick jpeg ladspa lahf_lm libcaca libgcrypt live lm lua lzo mad matroska mca mce md5sum midi mmx mmxext monitor mp2 mp3 mp3tunes mp4 mpeg mplayer msr mtrr mudflap musepack musicbrainz mythtv nas nautilus ncurses nemesi nls nptl nptlonly nsplugin nvidia nx ogg openal opengl openmp pae pam pat pbe pcre pdf perl pge png pni pnm pppd pse pse36 pulseaudio pvr python qt4 radio rar readline reflection rtc sdl sep session skins smx speex spl srt ss sse sse2 sse3 ssl ssse3 svg svga sysfs taglib tcpd teletext tga theora tm tm2 truetype tsc twolame unicode usb v4l v4l2 vcdx video vidix vim-pager vim-syntax visualization vlm vme vmx vorbis win32codecs wxwindows x264 x86 xanim xcb xcomposite xinerama xorg xosd xtpr xulrunner xv xvid xvmc zlib zoran" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS (In reply to comment #1) > 1) gnome-session 2.24 isn't in portage. Are you using the overlay? > 2) if compiz doesn't provide a .desktop file, then it's a compiz bug... (If > you're not sure, please choose the "Ebuild" component instead of assigning bugs > directly, bug wranglers will forward the bug to the correct maintainers) > 3) please provide your emerge --info > > Thanks >
I'll take a look at this bug later today.
I had the same problem, eventually figured out exactly what gnome-session considered a "provider" and how to create one, and manually created a .desktop file based on the one from metacity 2.24. The trouble I envisage is that there a multiple ways of starting Compiz - for example, with "ccp" or "gconf" as the default plugin, to load the rest of the configuration from the user's preferred configuration backend, or with a manually specified set of plugins - and only one command per desktop file. If I had to pick one, I would choose "compiz --sm-disable ccp", as X session management isn't supported by gnome-session 2.24 (and would probably conflict if it was), and the CCP plugin allows full configuration via ccsm/simple-ccsm, including picking the backend for settings storage.
Created attachment 178571 [details] Custom .desktop file for specifying Compiz as a "windowmanager provider"
Same for me. I use the same compiz.desktop file, also created with the example of metacity.desktop. It would not hurt previous gnome-session or another SM, previous session uses .desktop packed with compiz. This has effect on both 0.6 and 0.7 versions of compiz in portage.
@gnome: Does the attached desktop file seem ok to you? If so, we can install it with compiz.
(In reply to comment #7) > @gnome: > > Does the attached desktop file seem ok to you? If so, we can install it with > compiz. > Looks okay to me. Just FYI, gnome-session-2.26.0 has session-saving support, so the --sm-disable should be removed for that.
Fixed on compiz-0.8.2-r1. Thanks for the desktop file.