SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-02-11 11:07:01

silince
#! CrunchBanger
Registered: 2010-07-22
Posts: 166

Thunar and saving network shares

Hiya,

I recently upgraded my work laptop to Waldorf and set about getting my ste-up just so.  What I had in my Statler version was ncpfs mounting my Novell shares automatically on boot, which I did through shell scripts.  I can't really do this now due to an upstream bug in ncpfs so I was thining I would connect with SSH in Thunar.

Trouble is, Thunar does not save these shares after rebooting - is there a way I can do this?


Debian Wheezy on VeryPC Low Energy Desktop | Elementary on Lenovo Thinkpad SL510 | #! on Lenovo Ideapad S205 | Raspbmc on Pi | Linux Mint 17 XFCE on Lenovo W530.

Offline

Help fund CrunchBang, donate to the project!

#2 2013-02-11 23:40:40

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2012-03-22
Posts: 795
Website

Re: Thunar and saving network shares

Well, one possible way is to execute:

$ thunar 'sftp://username@some.site.com/home/dir' &

It will connect to 'some.site.com', and open thunar showing the '/home/dir' directory.

You can even put it on your right-click menu in your WM.

OR: you can open file '$HOME/.gtk-bookmarks' with your favorite text editor, and add line:

sftp://username@some.site.com/home/dirname

And, lower left panel of thunar will show new place called 'dirname'.

Important: for above methods to work seamlessly, you have to use key for your ssh, i.e. you must put your key on remote 'some.site.com'.

Note: it is possible to extend above command to:

thunar 'sftp://username@some.site.com:port/home/dir' &

where port is ssh port on remote site.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#3 2013-02-12 00:43:18

crash_harddrive
Member
From: Troy, Ohio
Registered: 2013-01-26
Posts: 36
Website

Re: Thunar and saving network shares

I use gigolo, It's installed by default in the network menu (Main menu > Network > Remote Filesystems) and serves the same purpose as the "connect to server" option in GNOME. If you want a graphical connection it works great. You can also save bookmarks and even leave it running in your systray if you manage your connections frequently.


Linux _is_ user-friendly. It is not ignorant-friendly or idiot-friendly.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo