As of recently I started using a debian-based distro called crunchbang which uses OpenBox as a window manager and thunar as file manager. I did setup Samba server correctly and can now share files back and forth on the network between my other machines (Windows7, Fedora) using Gadmin-samba and manually accessing them through their network path (manually typing smb://
URL in the address bar). However, what I'm looking for is:
- An easy way to share files via right click -> share like in ubuntu & gnome/nautilus.
- An easy way to browse through the network hosts and see the shared files also like in Ubuntu & gnome/nautilus.
I tried the following tips and hints but none of them helped much (or perhaps, there is something that I keep doing wrong):
-
http://crunchbanglinux.org/forums/topic/3735/samba-and-network-browsing/
-
http://crunchbanglinux.org/wiki/howto/samba_shares_with_thunar
Any suggestions or workarounds?
Best Answer
You can create a custom action in Thunar via Edit->Configure custom actions. Create an action to share a directory:
net usershare add %n %f "" Everyone:F guest_ok=y && chmod 777 %f
And to stop sharing:net usershare delete %n
. Make sure the command will show up for Directories only on the Appearance Conditions tab.Try pyNeighborhood.