address security feature of xfce
This commit is contained in:
parent
b887856c66
commit
2a4576f992
@ -76,6 +76,10 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
|
|||||||
# and mark it as executable (new Xfce security feature)
|
# and mark it as executable (new Xfce security feature)
|
||||||
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
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.
|
# move to anaconda - probably not required for XFCE.
|
||||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
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)
|
# and mark it as executable (new Xfce security feature)
|
||||||
chmod +x /home/liveuser/Desktop/liveinst.desktop
|
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.
|
# move to anaconda - probably not required for XFCE.
|
||||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user