i was very excited to add this and that is why i posted sort of half baked solution hoping that you can figure out the rest. to be fair I have to add the complete (working oob solution) rather than just variable evaluation.
1) the existing mount point needs to be disconnected. because it is session based you want to add unmount line to Default gdm PostSession and below is one of the ways to do accomplish it: cat << EOF | sudo tee /etc/gdm/PostSession/Default >/dev/null #!/bin/sh /bin/fusermount -zu "$HOME/.gvfs" 1>/dev/null 2>&1 || true exit 0 EOF 2) create ~/bin directory (mkdir ~/bin), add this directory to search path in /etc/environment so it looks roughly like this: PATH=/home/<username>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/<username>/.local/bin 3) .bashrc gets the following entry $HOME/bin/gvfs-daemon-start 4) make gvfs-daemon-start executable and the script roughly it looks like this: #!/bin/bash MNT=.gvfs PIDOF=`pidof gvfs-fuse-daemon` RETVAL=$? if [ "$RETVAL" -eq 1 ]; then # echo "Mounting $MNT" log_daemon_msg "Mouting $MNT" /usr/lib/gvfs//gvfs-fuse-daemon ~/$MNT log_end_msg 0 else echo "you be fortune." fi 5)log off the session, log back in and make necessary adjustments if you feel like it. cheers -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/890647 Title: .gvfs: Transport endpoint is not connected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/890647/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs