|
@@ -1099,8 +1099,24 @@ function mesh_client_startup_applications {
|
1099
|
1099
|
echo 'X-GNOME-Autostart-enabled=true' >> $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop
|
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
|
|
- chroot "$rootdir" ln -s ~/.config/autostart/tox.desktop ~/Desktop/tox.desktop
|
1103
|
1102
|
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME ~/.config
|
|
1103
|
+ chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME ~/Desktop
|
|
1104
|
+}
|
|
1105
|
+
|
|
1106
|
+function mesh_desktop_icons {
|
|
1107
|
+ # qTox
|
|
1108
|
+ chroot "$rootdir" ln -s ~/.config/autostart/tox.desktop ~/Desktop/tox.desktop
|
|
1109
|
+
|
|
1110
|
+ # Terminal
|
|
1111
|
+ echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1112
|
+ echo 'Name=MATE Terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1113
|
+ echo 'Type=Application' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1114
|
+ echo 'Comment=Use the command line' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1115
|
+ echo 'TryExec=mate-terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1116
|
+ echo 'Exec=mate-terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1117
|
+ echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1118
|
+
|
|
1119
|
+ chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME ~/Desktop
|
1104
|
1120
|
}
|
1105
|
1121
|
|
1106
|
1122
|
function configure_user_interface {
|
|
@@ -1127,6 +1143,7 @@ function configure_user_interface {
|
1127
|
1143
|
chroot "$rootdir" systemctl set-default multi-user.target
|
1128
|
1144
|
|
1129
|
1145
|
mesh_client_startup_applications
|
|
1146
|
+ mesh_desktop_icons
|
1130
|
1147
|
|
1131
|
1148
|
# change the desktop background
|
1132
|
1149
|
if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
|