kdm login background
O. Sinclair
o.sinclair at gmail.com
Tue Jul 22 19:46:10 UTC 2008
Derek Broughton wrote:
> John L Fjellstad wrote:
>
>> Derek Broughton <news at pointerstop.ca> writes:
>>
>>> O. Sinclair wrote:
>>>
>>>> The Kubuntu team has set up a system where in
>>>> /etc/kde3/kdm/backgroundrc
>>>> this setting
>>>> Wallpaper=default_blue.jpg
>>>> will enable kdm startup script to read /etc/default/kdm.d/
>>> That doesn't make sense - it isn't looking at /etc/default/kdm.d/ from
>>> that snippet, and anyway, my /etc/default/kdm.d/ only contains
>>> 10_desktop-base, and everything's commented out.
>> Did you check /etc/init.d/kdm? /etc/init.d/kdm will call
>> /etc/default/kdm.d iff Theme=@@@ToBeReplacedByDesktopBase@@@
>> and Wallpaper=default_blue.jpg
>
> As I said, he wasn't looking in "quite" the right place - implying he is on
> the right track, but there was more to the story. Anyway, that gives you
> the simple answer: use the Login Manager to set the wallpaper back
> to "default_blue.jpg" and your theme should be used.
Well I got that from one of the links I provided. Even so I think it is
a more than odd way to control the KDM theme that if you set another
login background wallpaper the whole thing stops working (kdm theme that
is) so I still see it as a bug and suggest the maintainer rethinks.
don't know why your (Derek) /etc/default/kdm.d does not have the
20_default... but I checked on 2 computers and it is there (both of them
Hardy 8.04 clean installs). And the lines in it seems to refer to the
KDM login theme.
Looking at /etc/init.d/kdm I find these lines:
# parameters to support kdm customization
KDMRC=/etc/kde3/kdm/kdmrc
BACKGROUNDRC=/etc/kde3/kdm/backgroundrc
#if configuration is changed by kdmtheme or other tools, don't do magick
if grep -q "Theme=@@@ToBeReplacedByDesktopBase@@@" ${KDMRC} && grep -q
"Wallpaper=default_blue.jpg" ${BACKGROUNDRC}
then
------------------------------------
now if that aint weird programming then I dont know what is... if I
understand things right (I can try tomorrow, is getting bedtime here and
I have 2 schoolboys to kick out of bed tomorrow) I can comment out some
of the lines and both KDM themes and Login Manager should work - or at
least the part in Login Manager that changes login wallpaper.
that said - Login Manager's "Appearance, Font, Background" tabs and KDM
ThemeManager does sort of work against each other. A KDM ThemeManager
where you could change the background wallpaper would make more sense to
me.
More information about the kubuntu-users
mailing list