reasign "file open" key

More
26 Feb 2016 17:03 #70676 by lou
reasign "file open" key was created by lou
I would like to be able to reasign my "file open" dialog button to a program such as "nautilus" so I can browse my network. I keep my files on a network server for reasons of security and backup and the current "file open" dialog box will not allow me to see these locations.

Regards

Lou

Please Log in or Create an account to join the conversation.

More
26 Feb 2016 17:16 #70677 by andypugh
Replied by andypugh on topic reasign "file open" key
Annoying, isn't it?

I don't know if it is possible to use a different file selector. Hopefully someone else does.

You might be able to find (mounted) network drives in the gvfs folder.

Alternatively, you could maybe use fstab to mount your network server at nc_files.

Please Log in or Create an account to join the conversation.

More
26 Feb 2016 19:06 #70683 by Todd Zuercher
using the .gvfs folder worked with the older Ubuntu 10.04 installations of Linuxcnc, but the newer Debian setups don't. You will have to create a mount point for your network drive and mount it there, then you will be able to browse to it via the Linuxcnc file open dialog.

Please Log in or Create an account to join the conversation.

More
26 Feb 2016 19:36 #70684 by dgarrett
Replied by dgarrett on topic reasign "file open" key
The axis gui uses a global variable named open_directory for
the initial directory used in the file open dialog.

So you can add a line to your ~/.axisrc file like:
open_directory = "directory_name"
The directory_name may specify an absolute path or a path relative
to the ini file config directory. The directory must exist at startup
and must be in quotes.

This method is subject to future breakage if the axis gui code changes.

Please Log in or Create an account to join the conversation.

More
07 Jul 2016 06:41 #77128 by eFalegname
Replied by eFalegname on topic reasign "file open" key
Hi dgarrett, how could I mount the network drive at startup?
I don't know what I'm doing wrong, axis does not open the folder indicated in the "directory_name", instead open the configuration directory.

Please Log in or Create an account to join the conversation.

More
07 Jul 2016 10:55 #77135 by andypugh
Replied by andypugh on topic reasign "file open" key

Hi dgarrett, how could I mount the network drive at startup?


This is a Linux question rather than LinuxCNC.
The most elegant way is probably to map the network drive to a subfolder of nc_files (or to replace the nc_files folder with a network drive mount-point).

It comes down to setting up an fstab entry. Here is a tutorial, with no particular recommendation, you will find many others.
ubuntuhandbook.org/index.php/2014/08/map...e-onto-ubuntu-14-04/

Please Log in or Create an account to join the conversation.

More
07 Jul 2016 11:18 #77137 by eFalegname
Replied by eFalegname on topic reasign "file open" key
Thank you very much for your advice, in the meantime I found the solution to map my network drive on linuxcnc nc_files directory and posted it here

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum