Create desktop directory
This commit is contained in:
parent
f862a19a02
commit
ee2b4ee261
|
@ -1100,13 +1100,16 @@ function mesh_client_startup_applications {
|
|||
echo 'Name=Tox Chat' >> $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop
|
||||
echo 'Comment=Peer to peer encrypted communications' >> $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop
|
||||
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config
|
||||
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop
|
||||
}
|
||||
|
||||
function mesh_desktop_icons {
|
||||
# qTox
|
||||
chroot "$rootdir" ln -s /home/$MY_USERNAME/.config/autostart/tox.desktop /home/$MY_USERNAME/Desktop/tox.desktop
|
||||
|
||||
if [ ! -d $rootdir/home/$MY_USERNAME/Desktop ]; then
|
||||
mkdir -p $rootdir/home/$MY_USERNAME/Desktop
|
||||
fi
|
||||
|
||||
# Terminal
|
||||
echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
||||
echo 'Name=MATE Terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
||||
|
|
Loading…
Reference in New Issue