Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi Everyone
I am a recent convert to Linux and have managed to find alternative software for most of the things I used to to with windows, but there are a few windows programs I still need to use, one of them is Roots Magic a genealogy program, the program works ok in wine but the problem is that I store all the data files & media files on a network server and i cannot access then from within the program the path I want would be home/graeme/gvfs/myservername/backup folder I can browse as far as home/graeme but the gvfs folder isn't listed, is there any way I get my shared folders to list from either Mint or wine settings I've looked in both but don't see any obvious way to solve this problem, any help or advice would be much appreciated.
Hi sag47 thanks for the reply I had a look at the the link but I'm not sure it directly relates to my problem, I can access all my network shares ok, the problem is accessing any network share from within a windows program running in Wine namely Roots Magic,an example would be if I want to back up to my NAS Server the program will only list local directories or the C & Z drives within Wine
As far as wine is concerned, when you mount a network share like that, it is a local directory. The program running in wine, and even wine itself, has no idea that the folder path is a network share. It operates on it like any other directory but it is still a mounted network share.
This means you will have to access it from ROOT but that shouldn't be a problem in wine. Once you have a share location you want to use regularly you can add it in /etc/fstab so that it will automount when the machine is turned on and the share is available or you could feed it the noauto option and just have the mount point saved for later use.
As far as wine is concerned, when you mount a network share like that, it is a local directory. The program running in wine, and even wine itself, has no idea that the folder path is a network share. It operates on it like any other directory but it is still a mounted network share.
This means you will have to access it from ROOT but that shouldn't be a problem in wine. Once you have a share location you want to use regularly you can add it in /etc/fstab so that it will automount when the machine is turned on and the share is available or you could feed it the noauto option and just have the mount point saved for later use.
SAM
Hi Sag47, Thanks again I'm quite new to Linux and not particularly computer literate so I don't quite understand what you're saying, firstly all my shares do auto mount, ie when I boot my machine up all the shares are listed in my computer folder and are available I also have gigolo installed which I've set to auto mount my shares,secondly I don't have a clue what you mean by "noauto option", the odd thing about this for me is this problem only occurred since I re installed Mint 12 to another PC I got at the weekend prior to that I was able to select the gvfs folder from within the Roots Magic program without any problem, I hope I'm not trying your patience I do try to sort these problems out myself and search the web etc before asking for help on the forums (I quite enjoy the learning curve)but I am struggling with this one
My appologies. Since you're more of a graphical oriented user let me try to explain better.
Here's some prerequisite information to your problem.
Open your terminal from Applications > System > Terminal. You can use the terminal to read manual documentation also called man pages. If you have never used the man pages before then type the following command.
Code:
man man
Here are some quick shortcuts to the man pages.
q - (LOWERCASE Q) quits the man pages
SHIFT+G - (i.e. hold the shift key and press the g key) goes to the bottom of the man page
gg - goes to the top of the man page
j - scrolls down the man page
k - scrolls up the man page
/ - searches down for text, type in your search term and then press ENTER
? - searches up for text, type in your search term and then press ENTER
n - goes to the next matching search result
Now that you generally know how to use the man pages in the terminal read the following documentation.
Code:
man fstab
man mount
man fs
From that documentation you can read that the fstab is a file of all of your filesystem mounts are kept and you can use the mount command to mount and unmount them. You can search the mount man page for noauto and it is listed under the "FILESYSTEM INDEPENDENT MOUNT OPTIONS" section of the mount man page. I'll give you a snippet of that here.
Code:
MOUNT(8) Linux Programmer's Manual MOUNT(8)
NAME
mount - mount a filesystem
SYNOPSIS
mount [-lhV]
mount -a [-fFnrsvw] [-t vfstype] [-O optlist]
mount [-fnrsvw] [-o option[,option]...] device|dir
mount [-fnrsvw] [-t vfstype] [-o options] device dir
DESCRIPTION
*--snip--*
FILESYSTEM INDEPENDENT MOUNT OPTIONS
Some of these options are only useful when they appear in the /etc/fstab file.
Some of these options could be enabled or disabled by default in the system kernel. To check the current setting see the options in /proc/mounts.
The following options apply to any filesystem that is being mounted
*--snip--*
noauto Can only be mounted explicitly (i.e., the -a option will not cause the filesystem to be mounted).
*--snip--*
Edit your own fstab
To edit your own fstab file you could run the following command (but be careful because this can break your whole system). Also it's best to make a backup copy of your fstab file if you've never edited fstab before so that you can always go back on your changes.
Here is a sample fstab entry mounting a network file share with the noauto option. Remember you're not typing this as a command in the terminal but it's an entry in your fstab file. This also assumes your share is open without a password.
That mounting share has the options "defaults,noauto,ro". You can read the mount man page for what defaults covers or you could google "fstab mount defaults".
That's about all I have time to explain right now. Hopefully it wasn't too indepth or confusing for you.
Does the /home/username/gvfs (or more likely .gvfs) folder exists? Check it in Thunar or Nautilus (the file manager). Is it populated after mounting your share?
If not, you will need to install the gvfs-fuse (or equivalent) package. After installation you will have to log ot then back in (or restart).
PS gvfs is the "gnome virtual file system", gvfs-fuse is a mechanism designed to "export" the shares mounted via gvfs to all programs (not only those who know gvfs, as gigolo/thunar etc).
Last edited by gradinaruvasile; 01-27-2012 at 12:53 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.