From 2a4576f992d017a442165b48aa1fdaadc578d210 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 14 Nov 2023 00:10:18 -0700 Subject: [PATCH] address security feature of xfce --- live/8/prod/rocky-live-xfce.ks | 4 ++++ live/8/stage/rocky-live-xfce.ks | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/live/8/prod/rocky-live-xfce.ks b/live/8/prod/rocky-live-xfce.ks index b022566..c4ebb1a 100644 --- a/live/8/prod/rocky-live-xfce.ks +++ b/live/8/prod/rocky-live-xfce.ks @@ -76,6 +76,10 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # and mark it as executable (new Xfce security feature) chmod +x /home/liveuser/Desktop/liveinst.desktop +cat > ~liveuser/.profile << PROFILE_EOF +export XDG_DATA_DIRS="\\\${XDG_DATA_DIRS}:\\\${HOME}/Desktop" +PROFILE_EOF + # move to anaconda - probably not required for XFCE. mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop diff --git a/live/8/stage/rocky-live-xfce.ks b/live/8/stage/rocky-live-xfce.ks index b022566..c4ebb1a 100644 --- a/live/8/stage/rocky-live-xfce.ks +++ b/live/8/stage/rocky-live-xfce.ks @@ -76,6 +76,10 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # and mark it as executable (new Xfce security feature) chmod +x /home/liveuser/Desktop/liveinst.desktop +cat > ~liveuser/.profile << PROFILE_EOF +export XDG_DATA_DIRS="\\\${XDG_DATA_DIRS}:\\\${HOME}/Desktop" +PROFILE_EOF + # move to anaconda - probably not required for XFCE. mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop