Peppermint | Linux OS Community Forum
 
It is currently Wed Jan 22, 2020 3:37 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: location of gvfs mounts? (SOLVED)
PostPosted: Sat Feb 09, 2013 9:11 am 
Offline
User avatar

Joined: Tue Jan 29, 2013 5:31 pm
Posts: 10
I'm trying to compare two files via the Meld diff tool, files that I am accessing over sftp. In previous versions of the main Ubuntu distro you would do this by adding a "Place" entry for the sftp site (which I believe was actually creating a Gigolo "Bookmark" internally) and then for non-gvfs-aware apps like Meld that don't simply accept an sftp:// URL you could go to $HOME/.gvfs and all of the mounts would show up there as part of the normal file system.

In Peppermint Three gvfs-fuse seems to be installed by default, and then I've tried installing the gvfs-bin and Gigolo packages, but no matter which method I use to unmount and re-mount my sftp share (including simply typing the URL in to the address bar of PCManFM, which does seem to be gvfs-aware) I don't see anything appearing in the $HOME/.gvfs directory and doing a find search on the filesystem root doesn't return any of the files from the sftp site I'm accessing.

So how would you normally do this in Peppermint? I could manually set up an sshfs FUSE mount, of course, but if there's any easier and more orthodox way I'd prefer to know how.

_________________


Last edited by rua matangi on Sun Feb 10, 2013 11:54 am, edited 1 time in total.

Top
 Profile  
 
 

 Post subject: Re: location of gvfs mounts?
PostPosted: Sat Feb 09, 2013 12:20 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
According to this:
http://blog.lxde.org/?tag=pcman-file-manager

the pcmanfm file manager doesn't support auto-mounting of sftp through gvfs .. have you tried manually mounting them through the terminal with gvfs-mount ?

Then I'd expect them to show up in ~/.gvfs

======================================

[EDIT]

Have you got curlftpfs, sshfs, and fusesmb installed ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: location of gvfs mounts?
PostPosted: Sat Feb 09, 2013 5:19 pm 
Offline
User avatar

Joined: Tue Jan 29, 2013 5:31 pm
Posts: 10
Yes, I've tried mounting them through gvfs-mount and Gigolo, and although it creates the mount successfully so that it's visible in Gigolo and in the output of gvfs-mount --list and gvfs-info and I can work with the files via gvfs-copy, gvfs-move, etc., it doesn't show up in $HOME/.gvfs or anywhere else in the filesystem.

PCManFM does appear to support auto-mounting in some respects - if I type the sftp:// address into the address bar I'm able to view the remote directories and the mount shows up in Gigolo and I can work with it using the other gvfs tools, but it again doesn't appear in $HOME/.gvfs grafted on to the rest of the local filesystem.

Interestingly the sshfs package was not installed; so I guess the capabilities I'm seeing were provided internally by the gvfs-fuse package that appears to have been installed by default. But installing the sshfs package and rebooting didn't help.

[Edit] I tried using the sshfs command itself to mount the sftp site in an empty directory and that doesn't work - even when passing in ssh_command with the command that actually works and connects successfully when used by itself - and unfortunately the debug options don't produce anything informative.

So I'll have to investigate further... I'm using keys rather than passwords, so maybe there's some incompatibility there to prevent it from fully mounting. But thanks for letting me know that you would expect the mounted sites to show up in $HOME/.gvfs rather than somewhere else.

_________________


Top
 Profile  
 
 Post subject: Re: location of gvfs mounts?
PostPosted: Sat Feb 09, 2013 6:29 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
You're right .. using Gigolo doesn't mount it at ~/.gvfs

but mounting it manually wth sshfs worked for me

Code:
mkdir ~/my-vps
sshfs -o idmap=user mark@10.8.0.1:/ ~/my-vps

(10.8.0.1 being my VPS .. through an open-vpn tunnel)

Mounted the root (/) of my VPS at ~/my-vps locally.

Unmount wiith:
Code:
fusermount -u ~/my-vps


Oddly it then showed up in Gigolo .. but as a "Unix Device" so it wasn't bookmarkable.

That said, I suppose you could make a launcher

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: location of gvfs mounts?
PostPosted: Sat Feb 09, 2013 10:31 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Ignore the above.

Just make sure gvfs-fuse and fuse-utils are installed, and you're a member of the fuse group

then when you mount the sftp through Gigolo it appears in ~/.gvfs

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: location of gvfs mounts?
PostPosted: Sun Feb 10, 2013 11:54 am 
Offline
User avatar

Joined: Tue Jan 29, 2013 5:31 pm
Posts: 10
Arrgh - that was such a promising idea! But adding my user account to the fuse group and rebooting didn't make any difference.

However, after a night's rest and a few cups of coffee I was able to figure out what the problem is:

I don't like how the standard Ubuntu ecryptfs tools only encrypt files individually, so instead of using that to encrypt my home directory I create a separate, full-volume-encryption-encrypted volume and mount that as the home directory.

Apparently some part of gvfs or sshfs doesn't like the fact that $HOME/.gvfs is not on the root volume, because if I umount the encrypted volume (so that I'm using a normal, unencrypted home directory on the root volume) and mount an sftp site through gvfs it shows up properly in the $HOME/.gvfs subdirectory.

The encrypted home volume is something I've only started doing in the last year or so and only on servers so far, whereas I'm now rebuilding my normal workstation in Peppermint Three, so I guess I didn't run into this problem before because I hadn't used gvfs and the encrypted home volume at the same time. It's odd, because there are other fused-based filesystems like bindfs which I'm using that do not appear to have any issues crossing filesystem boundaries like this.

So I apologize for putting you to the trouble of fiddling with this; in the future, I'm going to keep a plain, un-customized install of Peppermint handy so that I can test things out on it.

I must say that I'm really liking Peppermint as it's as lightweight as Lubuntu but I vastly prefer the Mint utilities and the other defaults you guys have chosen. And you provide very attentive tech support! Thank you for helping me work this out.

_________________


Top
 Profile  
 
 Post subject: Re: location of gvfs mounts? (SOLVED)
PostPosted: Sun Feb 10, 2013 1:22 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
No problem .. I'm just happy you got to the root of the problem (no pun intended) :)

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL