Deprecate now useless splash, ksplash and kdm themes

This commit is contained in:
Aurélien COUDERC
2016-09-24 10:55:16 +00:00
parent 406c11506a
commit 49cee930cd
67 changed files with 26 additions and 7095 deletions
+1 -4
View File
@@ -4,7 +4,7 @@ README for desktop-base
1. Images
1.1. Emblems
1.2. Pixmaps
1.3. Splash and Wallpapers
1.3. Wallpapers
1.4. Boot splash
2. Desktop files
3. Changing desktop-base images
@@ -31,9 +31,6 @@ automatically reverted to the default choice.
For wallpaper you can run:
sudo update-alternatives --config desktop-background
For splash screens you can run:
sudo update-alternatives --config desktop-splash
For login screen (only SDDM for now) you can run:
sudo update-alternatives --config desktop-login-background
+2
View File
@@ -11,6 +11,8 @@ desktop-base (9.0.0~exp1) UNRELEASED; urgency=medium
- Based on default SDDM theme breeze + Debian theme background.
- Can be configured with alternatives (also works in lightdm).
(Closes: #415064, #608523, #611170, #670866, #762276)
* Remove deprecated ksplash and kdm from KDE4. (Closes: #607842)
* Remove deprecated splash options from Gnome 2.
-- Coucouf <coucouf@Grumly> Tue, 06 Sep 2016 08:14:12 +0200
+8 -11
View File
@@ -39,20 +39,10 @@ EOF
done << EOF
lines.xml 20
joy.xml 10
EOF
# Alternatives for the splash
while read splash priority; do
update-alternatives --install \
/usr/share/images/desktop-base/desktop-splash \
desktop-splash \
/usr/share/images/desktop-base/$splash $priority
done << EOF
spacefun-splash.svg 50
moreblue-orbit-splash.png 40
EOF
# Login theme
## Lines
update-alternatives --install /usr/share/images/desktop-base/login-background.svg \
desktop-login-background \
/usr/share/desktop-base/lines-theme/login-background.svg 70 \
@@ -65,6 +55,13 @@ EOF
--slave /usr/share/sddm/themes/debian-theme/sddm-preview.jpg \
desktop-sddm-preview \
/usr/share/desktop-base/lines-theme/sddm-preview.jpg
## Joy
update-alternatives --install /usr/share/images/desktop-base/login-background.svg \
desktop-login-background \
/usr/share/desktop-base/joy-theme/login-background.svg 60 \
--slave /usr/share/sddm/themes/debian-theme/sddm-preview.jpg \
desktop-sddm-preview \
/usr/share/desktop-base/joy-theme/sddm-preview.jpg
# Alternatives for grub
## Favor widescreen / hi-res background for efi installations
+10 -11
View File
@@ -33,23 +33,22 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
done
# remove login theme alternatives
# secondaire alternatives
## Lines
### secondary alternatives
update-alternatives --remove desktop-sddm-preview \
/usr/share/desktop-base/lines-theme/sddm-preview.jpg
# main alternatives
### main alternatives
update-alternatives --remove desktop-login-background \
/usr/share/desktop-base/lines-theme/login-background.svg
update-alternatives --remove desktop-login-background \
/usr/share/desktop-base/lines-theme/login-background-no-logo.svg
# remove splash alternatives
for splash in \
spacefun-splash.svg \
moreblue-orbit-splash.png \
; do
update-alternatives --remove desktop-splash /usr/share/images/desktop-base/$splash
done
## Joy
### secondary alternatives
update-alternatives --remove desktop-sddm-preview \
/usr/share/desktop-base/joy-theme/sddm-preview.jpg
### main alternatives
update-alternatives --remove desktop-login-background \
/usr/share/desktop-base/joy-theme/login-background.svg
# remove grub alternatives
for background in \