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

Add calamares icon

parent bf73370a
# 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
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
[Desktop Entry]
Name=Add Calamares Desktop Icon
aims-live (1:2020.9) buster; urgency=medium
* Add script to add calamares icon on desktop
-- Jonathan Carter <> 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