|
@@ -97,6 +97,9 @@ INSECURE='no'
|
97
|
97
|
# optional desktop background image for mesh
|
98
|
98
|
MESH_DESKTOP_BACKGROUND_IMAGE=/usr/local/share/${PROJECT_NAME}_mesh_background.png
|
99
|
99
|
|
|
100
|
+# The browser application to use
|
|
101
|
+BROWSER=iceweasel
|
|
102
|
+
|
100
|
103
|
enable_eatmydata_override() {
|
101
|
104
|
chroot $rootdir apt-get install --no-install-recommends -y eatmydata
|
102
|
105
|
if [ -x $rootdir/usr/bin/eatmydata ] && \
|
|
@@ -1121,6 +1124,17 @@ function mesh_desktop_icons {
|
1121
|
1124
|
echo 'Icon=terminal' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
1122
|
1125
|
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
1123
|
1126
|
|
|
1127
|
+ # Terminal
|
|
1128
|
+ echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1129
|
+ echo 'Name=Mesh' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1130
|
+ echo 'Type=Application' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1131
|
+ echo 'Comment=Browse the mesh' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1132
|
+ # browse
|
|
1133
|
+ echo 'TryExec=meshweb' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1134
|
+ echo 'Exec=meshweb' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1135
|
+ echo "Icon=$BROWSER" >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1136
|
+ echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/terminal.desktop
|
|
1137
|
+
|
1124
|
1138
|
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Desktop
|
1125
|
1139
|
}
|
1126
|
1140
|
|
|
@@ -1168,7 +1182,7 @@ function configure_user_interface {
|
1168
|
1182
|
fi
|
1169
|
1183
|
|
1170
|
1184
|
# browser
|
1171
|
|
- chroot "$rootdir" apt-get -y install iceweasel
|
|
1185
|
+ chroot "$rootdir" apt-get -y install $BROWSER
|
1172
|
1186
|
|
1173
|
1187
|
# NOTE: The Tox repo only supports a limited range of architectures
|
1174
|
1188
|
if [[ $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'i386' ]]; then
|