Skip to content

Commit

Permalink
Update 099-install-custom-apps.chroot
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Jan 17, 2025
1 parent bab5391 commit b51ccc8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions etc/config/hooks/live/099-install-custom-apps.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,21 @@ StartupNotify=false
Terminal=false
Hidden=false
__EOF__
cat > /home/rhino-live/.config/autostart/calamares_icon.desktop << __EOF__
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Calamares Icon Fix
Comment=Set calamares desktop icon as trusted
Exec=bash -c "f=/home/rhino-live/Desktop/calamares.desktop; gio set -t string \${f} metadata::xfce-exe-checksum \$(sha256sum \${f} | awk '{print \$1}')"
done"
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false
__EOF__
sudo chown "rhino-live" -cR /home/rhino-live/Desktop
sudo chown "rhino-live" -cR /home/rhino-live/.config
echo -e "[/home/rhino-live/Desktop/calamares.desktop]\nrow=0\ncol=0\n" >> /home/rhino-live/.config/xfce4/desktop/icons.screen.latest.rc
Expand Down

0 comments on commit b51ccc8

Please sign in to comment.