Uninstall bug with compiz packages for kubuntu/hardy

Bug #218180 reported by Sascha Peilicke
6
Affects Status Importance Assigned to Milestone
desktop-effects-kde (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: desktop-effects-kde

The bug happens on Ubuntu 8.04 Hardy (development) with the package "desktop-effects-kde" installed in version "0.3":

Problem:
KWin does not start after login with KDM because compiz is still set as default displaymanager.
A quick workaround is entering "kwin &" in a shell but the reason for it are those files remaining after compiz package deinstallation:

~/.kde/share/config/compizasWM
/etc/X11/Xsession.d/25enable-compiz

I believe that this happened because I played a bit with the "desktop-effects-kde" graphical tool (which was unable to set/unset compiz desktop effects on my machine). I uninstalled compiz but the "desktop-effects-kde" package still remained on my machine.

Solution:
This package should have compiz as dependency so that it will be removed with it together. The files mentioned above are part of the package so that would solve the problem.

Revision history for this message
Sascha Peilicke (saschpe) wrote :

The file "/etc/X11/Xsession.d/25enable-compiz" is not deleted when "desktop-effects-kde" is removed (see attachment), this should be fixed too.

Revision history for this message
Sascha Peilicke (saschpe) wrote :

Assigned to package maintainer

Changed in desktop-effects-kde:
assignee: nobody → jr
Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

Confirmed this issue.

The problem occurs when a user simply issues a remove and not a purge of the desktop-effects-kde package, which leaves behind an Xsession file:

/etc/X11/Xsession.d/25enable-compiz

The contents of this file test for a hidden configuration file in the users home directory:

$HOME/.kde/share/config/compizasWM

And if it exists, it exports the KDEWM variable to be /usr/bin/compiz. This behaviour is incomplete, as the Xsession test for compiz should test for the compiz binary before exporting it as a valid window manager.

Please correct. I have attached the patch to correctly test for the existence of compiz binary in addition to the original test.

Changed in desktop-effects-kde:
status: New → Confirmed
Revision history for this message
markb (mark-blakeney) wrote :

I just had this bug and exactly concur with Roderick Greening's description of the problem as above and his suggested fix.

Boy, there's some silly bugs around this compiz stuff :(

Revision history for this message
Sascha Peilicke (saschpe) wrote :

Compiz is still pre-alpha software, unstable and simply not integrated into any desktop environment but distros keep pushing it to pretend being cooler. I really dislike Ubuntu's default behavior on enabling Compiz after install.

But there's light at the end of the tunnel, at least with KDE4 no compiz is necessary anymore, they have perfect composition+effects integration into KWin toghether with a nice configuration interface (+ it works with OpenGL or software XRender). Don't know when Metacity will have it.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Unassign package maintainer.

I am wondering why 25enable-compiz needs to be purged.

Changed in desktop-effects-kde:
assignee: jr → nobody
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package desktop-effects-kde - 0.4.2

---------------
desktop-effects-kde (0.4.2) intrepid; urgency=low

  * Corrected to support new install-package script rather than adept_batch for Intrepid
    - DesktopEffectsCommon.py - remove ref to adept_batch and replace with install-package
  * 25enable-compiz also check whether compiz is actually installed. Thanks to
    Roderick Greening for providing the patch. (LP: #218180)
  * Bump Standards-Version to 3.8.0
  * Change Maintainer from Jonathan Riddell to Kubuntu Developers

 -- <email address hidden> (Roderick B. Greening) Mon, 22 Sep 2008 13:01:09 -0230

Changed in desktop-effects-kde:
status: Confirmed → Fix Released
Revision history for this message
Cyril Buquet (cyril11) wrote :

Hi,

Another difficult with this :

I use alternatively KDE3+compiz or KDE4 with the same user

In kde4, compiz is launched, but i want kwin.
/etc/X11/Xsession.d/25enable-compiz don't make any difference with kde3 / kde4 session and always check $HOME/.kde/share/config/compizasWM configuration.

No help wanted, this message is just for explain this case.
Sorry for my very poor english.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.