Bug#690731: desktop-base: Please use alternatives for KDE wallpaper configuration
Package: desktop-base
Version: 7.0.3
Severity: normal
Dear Maintainers,
desktop-base uses the script
/usr/share/kde4/apps/plasma-desktop/init/10-desktop-base.js
to configure the KDE wallpaper for new users by writing the wallpaper into $HOME/.kde/share/config/plasma-desktop-appletsrc.
Instead of pointing to the symlink /usr/share/images/desktop-base/desktop-background, which is configured through the alternatives system, the script configures the wallpaper joy directly by the line
a[i].writeConfig('wallpaper', 'joy') //change this in wheezy+1
This leads to the problem that the KDE wallpaper will not change if I configure another background via update-alternatives.
I suggest to change the line above to:
a[i].writeConfig('wallpaper', '/usr/share/images/desktop-base/desktop-background')
so $HOME/.kde/share/config/plasma-desktop-appletsrc will point to "desktop-background" like it already did in Squeeze. This makes the KDE wallpaper configurable via update-alternatives and also has the advantage that nothing has to be changed in wheezy+1 ;-)
As "desktop-background" points to joy by default the user-experience will stay the same.
Of course I have tested the suggested solution and it worked for me.
Thanks!
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages desktop-base depends on:
ii dpkg 1.16.8
ii librsvg2-common 2.36.1-1
desktop-base recommends no packages.
Versions of packages desktop-base suggests:
pn gnome | kde-standard | xfce4 | wmaker <none>
-- no debconf information
Reply to: