While the Anaconda Installer desktop icon is marked as an executable, XFCE still prompts the user with an "Untrusted Application Launcher" warning.
Adding the liveuser Desktop path to XDG_DATA_DIRS fixes this and Anaconda is able to start normally. Since XDG_DATA_DIRS is not set, it is automatically populated with /usr/local/share and /usr/share (per https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). In my testing it continued to append /usr/share to what is in this commit.
Tested on Fedora-Xfce-Live-x86_64-38-20230331.n.0.iso.
I'm not entirely certain this is the best place for it (or if this is the best way to tackle this) so I'm happy to do this somewhere else, but it worked for me.
While the Anaconda Installer desktop icon is marked as an executable, XFCE still prompts the user with an "Untrusted Application Launcher" warning.
Adding the liveuser Desktop path to
XDG_DATA_DIRS
fixes this and Anaconda is able to start normally. SinceXDG_DATA_DIRS
is not set, it is automatically populated with/usr/local/share
and/usr/share
(per https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). In my testing it continued to append/usr/share
to what is in this commit.Tested on Fedora-Xfce-Live-x86_64-38-20230331.n.0.iso.
I'm not entirely certain this is the best place for it (or if this is the best way to tackle this) so I'm happy to do this somewhere else, but it worked for me.