I have similar issue in Ubuntu (CIFS, not NFS). Ended up by just adding this folder into Places. Just click it when I need - it automatically mounts that time.
I also have Kubuntu and things are little bit easier there: I added a script there which mounts the network drive.
To do this, I put script into ~/.kde/Autostart
Script should be set as executable (chmod +x) and root should have permissions. It's easier to create it via
sudo kate
Code:
#! /bin/sh
#reset counter and file
counter=0
file="/tmp/file.txt"
echo $counter > $file
until ping -w 1 fnd | grep 'icmp'
do
sleep 1
let "counter += 1" #or counter=`expr $counter + 1`
#get ipconfig replies and counter into file
ping -w 1 fnd | grep 'icmp' >> $file
echo "$counter" >> $file
done
#main part
mkdir -p /mnt/fnd >> $file
mount -t cifs //fnd/public /mnt/fnd -o guest,nolinux,iocharset=utf8 >> $file
#check script has worked
google-chrome
Unfortunately, similar approach in Ubuntu (GNOME) does not work. Don't know why.