Results 1 to 6 of 6

Thread: How to make Network Places mounts "sticky"

  1. #1
    Join Date
    Apr 2007
    Location
    Rocky Mountains
    Beans
    14
    Distro
    Ubuntu 10.10 Maverick Meerkat

    How to make Network Places mounts "sticky"

    While I realize the undesirable security implications of doing this, I wonder how mounts from my Places -> Network can be automatically preserved between boots?

    Yes, I know about Bookmarking in the File Browser, but I'd like the various desktop icons to be there already.

    I know it's pure laziness, but indulge me here if possible. Or just slap me; I can take it.

    Thanks,

    Russ

  2. #2
    Join Date
    May 2007
    Beans
    60
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to make Network Places mounts "sticky"

    For Windows shares: https://help.ubuntu.com/community/Mo...resPermanently

    A GUI tool would be nice...

  3. #3
    Join Date
    Dec 2009
    Beans
    5,483

    Re: How to make Network Places mounts "sticky"

    I used to use entries in fstab to automount remote shares but then I found a remarkable little utility called gigolo:
    Code:
    sudo apt-get install gigolo
    And just in case you already don't have it installed:
    Code:
    sudo apt-get install fuse
    EDIT: As noted below by Kronalias you may also need to install gvfs-backends:
    Code:
    sudo apt-get install gvfs-backends
    It's considered a network browser but it does have the ability to automount remote shares.

    The procedure is relative simple:
    When you first bring it up make a change in the preferences:
    Edit > Preferences > Interface>
    Select "Show Side Panel"

    Select "Start minimized in the Notification Area"
    Disable "Show auto-connect error messages"

    Then you browse to the share using the Network Tab on gigolo
    Then you bookmark the share by right clicking the share icon and select "Create Bookmark"
    When you bookmark it select the "Auto-connect" option

    Then have gigolo start at login:
    System > Preferences > StartUp Applications > Add > Command = gigolo

    In Xubuntu:
    Application Menu > Settings > Settings Manager > Session and Startup > Application Autostart > Add > Name = Gigolo , Command = gigolo

    When you login it will automatically mount remote shares and you will see an icon on your desktop.

    In Xubuntu an icon is not created on the Desktop so create a launcher for it:

    Right Click the desktop > Create Launcher > Name = MyLan, Command:
    Code:
    thunar /home/your-user-name/.gvfs
    This auto-connect function has one other feature. If the remote share isn't available or if the connection is lost gigolo will scan the network every 60 seconds ( user adjustable ) and mount it when it finds it.

    It will make more sense when you use it and it will take less time to implement than it took for me to try to explain it
    Last edited by Morbius1; November 4th, 2011 at 11:19 AM. Reason: Added more complete instructions for Xubuntu

  4. #4
    Join Date
    Nov 2008
    Beans
    27

    Re: How to make Network Places mounts "sticky"

    Thanks, this is what I get when trying to install fuse



    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package fuse is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'fuse' has no installation candidate

  5. #5
    Join Date
    Jun 2009
    Beans
    36

    Re: How to make Network Places mounts "sticky"

    Gigolo is slightly borked in that it needs a bit of fuse that isn't installed automatically.

    Try this:
    sudo apt-get install gvfs-backends

    Then Gigolo can be used as described above.

  6. #6
    Join Date
    Nov 2008
    Beans
    27

    Re: How to make Network Places mounts "sticky"

    that worked thanks!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •