address security feature of xfce
This commit is contained in:
parent
b887856c66
commit
2a4576f992
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue