Commit 8e987f51 authored by Jonathan Carter's avatar Jonathan Carter
Browse files

Add calamares icon

parent bf73370a
#!/bin/sh
# Creates an "Install AIMS Desktop" icon on the live session tested with:
# Xfce, LXDE, LXqt, Gnome, KDE, Mate, Cinnamon
# Create ~/Desktop just in case this runs before the xdg folder
# creation script.
mkdir -p ~/Desktop
# Among the AIMS Desktop desktop environments, LXDE is the only one
# that behaves completely different.
if [ -f /usr/bin/lxsession ]; then
echo "[Desktop Entry]" > ~/Desktop/install-aims-desktop.desktop
echo "Type=Link" >> ~/Desktop/install-aims-desktop.desktop
echo "Name=Install AIMS Desktop" >> ~/Desktop/install-aims-desktop.desktop
echo "Icon=install-aims-desktop" >> ~/Desktop/install-aims-desktop.desktop
echo "URL=/usr/share/applications/install-aims-desktop.desktop" \
>> ~/Desktop/install-aims-desktop.desktop
else
cp /usr/share/applications/install-aims-desktop.desktop ~/Desktop
# Xfce needs this executable otherwise it complains, everything
# else doesn't seem to care either way.
chmod +x ~/Desktop/install-aims-desktop.desktop
fi
[Desktop Entry]
Type=Application
Name=Add Calamares Desktop Icon
Exec=add-calamares-desktop-icon
StartupNotify=false
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
aims-live (1:2020.9) buster; urgency=medium
* Add script to add calamares icon on desktop
-- Jonathan Carter <jcc@debian.org> Thu, 25 Apr 2019 13:38:10 +0000
aims-live (1:2020.8) buster; urgency=medium
* Attempt bootloader name fix
......
......@@ -15,3 +15,5 @@ calamares/enable-locales usr/lib/calamares/modules
conf/gsettings/96_aims-desktop-live.gschema.override usr/share/glib-2.0/schemas
install-aims-desktop.desktop usr/share/applications
install-aims-desktop usr/bin
add-calamares-desktop-icon usr/bin
conf/calamares-desktop-icon.desktop etc/xdg/autostart
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment