|
@@ -1100,13 +1100,16 @@ function mesh_client_startup_applications {
|
1100
|
1100
|
echo 'Name=Tox Chat' >> $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop
|
1101
|
1101
|
echo 'Comment=Peer to peer encrypted communications' >> $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop
|
1102
|
1102
|
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config
|
1103
|
|
- chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop
|
1104
|
1103
|
}
|
1105
|
1104
|
|
1106
|
1105
|
function mesh_desktop_icons {
|
1107
|
1106
|
# qTox
|
1108
|
1107
|
chroot "$rootdir" ln -s /home/$MY_USERNAME/.config/autostart/tox.desktop /home/$MY_USERNAME/Desktop/tox.desktop
|
1109
|
1108
|
|
|
1109
|
+ if [ ! -d $rootdir/home/$MY_USERNAME/Desktop ]; then
|
|
1110
|
+ mkdir -p $rootdir/home/$MY_USERNAME/Desktop
|
|
1111
|
+ fi
|
|
1112
|
+
|
1110
|
1113
|
# Terminal
|
1111
|
1114
|
echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
1112
|
1115
|
echo 'Name=MATE Terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|