Skip to content

Commit 1662985

Browse files
hanthorCopilot
andcommitted
live: override tuna-installer flatpak desktop entry for Dakota branding
Place /usr/local/share/applications/org.bootcinstaller.Installer.Devel.desktop which is earlier in XDG_DATA_DIRS than the flatpak export path. This renames the app to 'Dakota Installer' and swaps the icon to the dakota hicolor theme icon, so only one consistently-branded entry appears in the GNOME dock. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 71a6c19 commit 1662985

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

dakota/src/configure-live.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,23 @@ chown -R liveuser:liveuser /home/liveuser/.config
114114
# the welcome-dialog-last-shown-version=999 key below.
115115
rm -f /usr/share/applications/org.gnome.Tour.desktop
116116

117+
# Override the tuna-installer flatpak's desktop entry so it appears as
118+
# "Dakota Installer" with the dakota icon instead of "bootc Installer (Devel)".
119+
# /usr/local/share/applications/ is earlier in XDG_DATA_DIRS than the flatpak
120+
# export path, so this file takes precedence without modifying the flatpak.
121+
mkdir -p /usr/local/share/applications
122+
cat > /usr/local/share/applications/org.bootcinstaller.Installer.Devel.desktop << 'DESKTOPEOF'
123+
[Desktop Entry]
124+
Name=Dakota Installer
125+
Exec=/usr/bin/flatpak run --branch=master --arch=x86_64 --command=bootc-installer org.bootcinstaller.Installer.Devel
126+
Icon=dakota
127+
Terminal=false
128+
Type=Application
129+
Categories=GTK;System;Settings;
130+
StartupNotify=true
131+
X-Flatpak=org.bootcinstaller.Installer.Devel
132+
DESKTOPEOF
133+
117134
# Suppress the GNOME Tour / "Welcome to Bluefin" dialog on first login.
118135
# GNOME Shell shows it whenever welcome-dialog-last-shown-version < current
119136
# shell version. Setting it to 999 via a system dconf policy ensures it is

0 commit comments

Comments
 (0)