Difference between revisions of "Using Samba in your File Manager"

Format, expand
imported>Cscs
(Updated and formatted)
imported>Cscs
(Format, expand)
Line 3: Line 3:




'''XFCE users''' using Thunar file manager should [https://classicforum.manjaro.org/index.php?topic=11810.msg146682#msg146682 read this (old 2014) forum thread.]
The following tutorial will guide you through setting up usersharing with Samba so that you can use your file manager to share folders. Ubuntu style.




== Installation ==


The following tutorial will guide you through setting up usersharing with Samba so that you can use your file manager to share folders (nautilus-share, nemo-share, Thunar Shares Plugin, etc.). Ubuntu style.
First we need to install a few packages. The base package {{ic|samba}} is required in addition to a few more depending on your desktop or file manager.


== Installation ==
==== GTK+ ====
 
Install samba, gvfs-smb, and the share package for your file manager.
 
'''Cinnamon / Nemo'''
sudo pacman -S samba gvfs-smb nemo-share
 
'''Gnome / Nautilus'''
sudo pacman -S samba gvfs-smb nautilus-share
 
'''Mate / Caja'''
sudo pacman -S samba gvfs-smb caja-share
 
'''XFCE / Thunar'''
sudo pacman -S samba gvfs-smb thunar-shares-plugin
 
==== KDE ====


First we need to install a few packages.
KDE has the ability to browse shares built-in, but still requires {{ic|samba}} to share folders and {{ic|kdenetwork-filesharing}} for settings and easier use.


Install samba, nautilus-share and gvfs-smb. If you use a different file manager, please install the corresponding sharing package for your file manager instead of nautilus-share. In the terminal, enter:
sudo pacman -S samba kdenetwork-filesharing


sudo pacman -S samba nautilus-share gvfs-smb


== Configuration ==
== Configuration ==


=== Automatic ===
==== Automatic ====


  sudo pacman -S manjaro-settings-samba
  sudo pacman -S manjaro-settings-samba


=== Manual ===
==== Manual ====


Now we are ready to set up Manjaro for usershares. Usershares allows a non-root user to add, modify, and delete their own samba shares.
Now we are ready to set up Manjaro for usershares. Usershares allows a non-root user to add, modify, and delete their own samba shares.
Line 88: Line 104:


Log out and log back in. It should now be possible to configure samba shares using the GUI. For instance, in Gnome Files you can right click on any directory and share it on the network.  
Log out and log back in. It should now be possible to configure samba shares using the GUI. For instance, in Gnome Files you can right click on any directory and share it on the network.  
== Sharing In The Home Directory ==


To be able to share directories in your home (<code>/home/<username></code>) you also need to add new permissions to your home (<code>/home/<username></code>). Replace <code><username></code> with your own username. In the terminal, enter:
To be able to share directories in your home (<code>/home/<username></code>) you also need to add new permissions to your home (<code>/home/<username></code>). Replace <code><username></code> with your own username. In the terminal, enter:
Line 96: Line 114:




A forum thread (old 2014) discussing this subject is available here: [https://classicforum.manjaro.org/index.php?topic=16833.0]
== See Also ==


* '''[https://classicforum.manjaro.org/index.php?topic=11810.msg146682#msg146682 Old thread for Thunar Users]'''
* '''[https://classicforum.manjaro.org/index.php?topic=16833.0 Old forum discussion on sharing /home/]'''


[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user