#!/bin/bash
echo "Enter Server Name:"
read Server
echo "Enter Share Name:"
read Share
SMB="smb://$Server/$Share/"
DIR="$HOME/.gvfs/$Share on $Server"
/usr/bin/gvfs-mount "$SMB"
sleep 5
/usr/bin/nautilus "$DIR"


sleep 5 should prevent timing issues and ensure a proper mount before nautilus 
tries to open it

-- 
Intrepid Ibex: Cannot access samba share "Unable to mount location"
https://bugs.launchpad.net/bugs/241139
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to