[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694011: desktop-base: problem after updating from Squeeze to Wheezy



Hi,

>>> To me there's two issues/fixes:
>>> 
>>> 1) make KDM correctly handle the case where the selected theme is gone
>> 
>> That should already be covered. We have a palceholder, namely
>> "Theme=@@@ToBeReplacedByDesktopBase@@@"
>> in /etc/kde4/kdm/kdmrc (Boris could you check that?) which is
>> substituted by kdm's init.d script. The setting is replaced with
>> values from /etc/default/kdm.d/10_desktop-base.
> 
> So it might have failed in this case. I've added Boris to CC so he
> actually has a chance to check.

Unfortunately, I deleted testing system from VirtualBox. Now I can check only
on my laptops. Here are some results:

$ grep Theme= /etc/kde4/kdm/kdmrc
Theme=/usr/share/kde4/apps/kdm/themes/joy
UseTheme=true

$ grep ToBeReplacedByDesktopBase /etc/kde4/kdm/kdmrc | wc -l
0

$ ls /etc/default/kdm.d/
10_desktop-base  20_debian-edu

$ cat /etc/default/kdm.d/10_desktop-base
USETHEME="true"
THEME="/usr/share/kde4/apps/kdm/themes/joy"
WALLPAPER="/usr/share/kde4/apps/kdm/themes/joy/background.png"

$ cat /etc/default/kdm.d/20_debian-edu 
USETHEME=true
THEME=/usr/share/kde4/apps/kdm/themes/debian-edu
USEBACKGROUND=true
WALLPAPER=/usr/share/wallpapers/debian-edu-wallpaper01_1600x1200.png

Did I miss anything?

>> So you always should end up with the theme currently installed, since
>> the setting and kdm theme come from the same package (desktop-base).

I have more KDM themes than there are available in package desktop-base:

$ ls /usr/share/kde4/apps/kdm/themes/
ariya  circles  debian-edu  horos  joy  oxygen  oxygen-air

Any theme from this list could be chosen in KDE System Settings dialog.
And if after regular system update such theme will be removed from system
KDM will fails to start. I believe it should be anyhow prevented.

>> I admit that the whole process is a bit messy and I probably miss
>> something, since this all was set before I was involved.
> 
> Can you at least try to reproduce the issue?

Yes, sure.

Regards,
Boris

Reply to: