#!/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 Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs