/usr/apps/Windows Network/AppInfo.xml
<?xml version="1.0"?> <AppInfo> <Summary xml:lang="en">Samba Network Filesystem.</Summary> <About xml:lang="en"> <Purpose>Open Windows Network Folder</Purpose> <Version>0.1</Version> <Author>Yasuhiro Matsumoto [mattn_jp@hotmail.com]</Author> <License>GNU General Public License</License> <Homepage>http://www.ac.cyberhome.ne.jp/~mattn/</Homepage> </About> <AppMenu> <Item option="[umount]"> <Label>Unmount</Label> </Item> </AppMenu> </AppInfo>
/usr/apps/Windows Network/AppRun
#!/bin/sh SMBDIR=/smb if [ "$1" == "[umount]" ]; then fusermount -u $SMBDIR exit fi exec 1>&2 echo -n "Launching Samba Network Filesystem... " if ps -C smbnetfs -o user | grep -q $USER then echo "Already running." else echo "OK" if ! smbnetfs $SMBDIR; then exit fi sleep 5 fi rox $SMBDIR
This rox-app mount windows network to "/smb" directory. and start rox file manager.
If you want to unmount this "Windows Network", right click this app icon and select "Unmount".