Link straight to mesh users

This commit is contained in:
Bob Mottram 2016-08-03 16:17:01 +01:00
parent f8b2226110
commit ad84abc33a
2 changed files with 607 additions and 595 deletions

View File

@ -68,6 +68,10 @@ TOMB_TOX_BOOTSTRAP_SIZE_MB=10
TOMB_ZERONET_CONFIG_SIZE_MB=10
TOMB_ZERONET_DATA_SIZE_MB=32
MESH_INSTALL_DIR=/var/lib
ZERONET_INSTALL=$MESH_INSTALL_DIR/zeronet
TOX_USERS_FILE=$ZERONET_INSTALL/${PROJECT_NAME}-tox-users.html
function create_ram_disk {
ramdisk_size_mb=$1
if [ ! -d /mnt/ramdisk ]; then
@ -488,14 +492,22 @@ function show_desktop_icons {
return
fi
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/mesh.desktop
echo 'Name=Mesh' >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo 'Type=Application' >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo 'Comment=Browse the mesh' >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo 'TryExec=meshweb' >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo 'Exec=meshweb' >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo "Icon=$BROWSER" >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo 'StartupNotify=true' >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/users.desktop
echo 'Name=Users' >> /home/$MY_USERNAME/Desktop/users.desktop
echo 'Type=Application' >> /home/$MY_USERNAME/Desktop/users.desktop
echo 'Comment=Users on the system' >> /home/$MY_USERNAME/Desktop/users.desktop
echo "Exec=$BROWSER $TOX_USERS_FILE" >> /home/$MY_USERNAME/Desktop/users.desktop
echo "Icon=$BROWSER" >> /home/$MY_USERNAME/Desktop/users.desktop
echo 'StartupNotify=true' >> /home/$MY_USERNAME/Desktop/users.desktop
#echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/mesh.desktop
#echo 'Name=Mesh' >> /home/$MY_USERNAME/Desktop/mesh.desktop
#echo 'Type=Application' >> /home/$MY_USERNAME/Desktop/mesh.desktop
#echo 'Comment=Browse the mesh' >> /home/$MY_USERNAME/Desktop/mesh.desktop
#echo 'TryExec=meshweb' >> /home/$MY_USERNAME/Desktop/mesh.desktop
#echo 'Exec=meshweb' >> /home/$MY_USERNAME/Desktop/mesh.desktop
#echo "Icon=$BROWSER" >> /home/$MY_USERNAME/Desktop/mesh.desktop
#echo 'StartupNotify=true' >> /home/$MY_USERNAME/Desktop/mesh.desktop
echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/new_identity.desktop
echo 'Version=1.0' >> /home/$MY_USERNAME/Desktop/new_identity.desktop

View File

@ -63,7 +63,7 @@ ON_THE_MESH_STR=$'On the Mesh'
BLOGS_STR=$"Blogs"
MAIL_STR=$"Mail"
FORA_STR=$"Fora"
TOX_STR=$"Tox Users"
TOX_STR=$"Users on the Mesh"
ID_STR=$"ID Services"
NO_USERS_STR=$"No users found"