Comment 50 for bug 31471

Revision history for this message
GaryProsser (gary-prosser) wrote : Re: [Bug 31471] Re: Firefox file selector should show remote shares

I've been using the below workaround for some years - it works even
better with a startup script to mount network drives from bookmarked
items

grep smb:// ~/.gtk-bookmarks|cut -d ' ' -f 1|xargs gvfs-mount

but -its still a workaround and really needs a fix in firefox's file
browser

To help users I also put a shortcut on their desktop

eg /home/username/Desktop/Network -> /home/username/.gvfs/

which can then be navigated to within the firefox file browser

GaryP

On Fri, 2012-11-02 at 17:40 +0000, kyle renfrow wrote:
> Hey guys,
>
> If you are stuck on this, the solution is GVFS.
>
> The way GVFS works is, it creates a folder in ~/.gvfs which behaves like
> a local filesystem to enable access to all applications that don't
> support network shares.
>
> (my specs: ubuntu 12.04 - firefox 16.x)
>
> This process will require that you remount your network drives after
> installing GVFS so they're accessible.
>
> 1) Remove all bookmarks to your network share(s).
> 2) Unmount your network share(s) by clicking the eject icon next to it in the device list in the sidebar of Nautilus.
> 3) Install GVFS support to enable firefox access to your network shares: `sudo apt-get install firefox-gnome-support`
> 4) RESTART COMPUTER
> 5) Remount network share(s).
> 6) Open Firefox and navigate to the page where you were trying to upload. Once open, navigate to to your home folder. If hidden files aren't already visible, right click and select 'Show Hidden Files'. Now, SINGLE click (highlight) the .gvfs folder. Once highlighted, in the bottom right hand corner click the green '+' to add a bookmark to this folder. It's important you bookmark the main .gvfs folder and not any sub-folders as they will also disappear from the list as do your normal network shares. Once added you can rename the bookmark to 'network shares' or whatever you like.
>
> You should be all set to access your network drives now.
>
> NOTE: You can recreate your regular bookmark to the network share to use
> as normal with Nautilus and other applications that support network
> shares.
>
> NOTE: The network share will not show up in the .gvfs folder until you
> have connected to the share. This means on a fresh reboot that folder
> will be empty. Simply open the network share up via Nautilus to create
> the session and it'll then be available in the .gvfs folder.
>
> FYI, this package is something I will be installing by default on new
> Ubuntu setups in the future. Although, along with everybody else, I
> prefer that Firefox resolve this entirely by simply adding support for
> network shares! Plz!
>
> Feel free to email me any questions: frow05 [ a t ] gmail [dot] com
>