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

Re: Help enabling the artwork for KDE, Gnome, LXDE and XFCE in Debian Edu

On Thu, Jun 13, 2013 at 03:33:00PM +0200, Petter Reinholdtsen wrote:
> The debian-edu-artwork package is responsible for activating our artwork
> in Grub, the display manager and the desktop wallpaper.
> But a lot has changed since Squeeze, and it isn't working as it should
> any more.
> Do you know how to set/change the background image in KDE, Gnome, LXDe
> or XFCE, please help us get the setup of debian-edu-artwork right.
> This is the current status:
>        | grub  | *dm   | desktop |
>  KDE   |  OK   |  OK   |  Wrong  |
>  Gnome |  OK   |  OK   |  Wrong  |
>  LXDE  |  OK   | Wrong |  Wrong  |
>  XFCE  |  OK   | WRong |  Wrong  |
> LXDE and XFCE uses lightdm.  Gnome uses gdm3 and KDE uses kdm.  So we
> need to figure out how to change the wallpaper of lightdm to fix the
> center column.
For the desktop: 

- wallpaper images should be of type svg, but png works too. 

- wallpaper images should go into /usr/share/images/desktop-base/ (atm 
/usr/share/wallpapers, which works too.)

artwork should provide a file named debian-edu.xml in 

(Example in case the wallpaper images are located in the same dir, otherwise
replace 'images/desktop-base' with 'wallpapers')

# file /usr/share/images/desktop-base/debian-edu.xml
      <size width="1920" height="1080">/usr/share/images/desktop-base/debian-edu-wallpaper01_1920x1080.png</size>
      <size width="1600" height="1200">/usr/share/images/desktop-base/debian-edu-wallpaper01_1600x1200.png</size>
      <size width="1920" height="1200">/usr/share/images/desktop-base/debian-edu-wallpaper02_1920x1200.png</size>

Configure the background (should be done in postinst script of the 
package, I guess):

update-alternatives --install /usr/share/images/desktop-base/desktop-background.xml desktop-background.xml /usr/share/images/desktop-base/debian-edu.xml 10
update-alternatives --install /usr/share/images/desktop-base/desktop-background desktop-background /usr/share/images/desktop-base/debian-edu-wallpaper01_1920x1080.png 75

Done manually, this seems to provide the Debian Edu desktop background 
for new users.


Attachment: signature.asc
Description: Digital signature

Reply to: