
Click here for the Manjaro overview page
In this post, I’d like to explain how to share files between Manjaro and other PCs on your local network.
1. Installing nautilus-share
Search for "nautilus-share" in "Add/Remove Software" and install it.



2. Starting Samba
Samba is installed by default on Manjaro.
However, this is where I ran into a snag.
In Ubuntu-based systems, Samba is "smbd", but in Arch Linux-based systems, it’s apparently "smb".
Open a terminal and run the following command to ensure Samba starts when Manjaro boots.
sudo systemctl enable smb
Also, run the following command.
sudo systemctl enable nmb
Next, start Samba.
sudo systemctl start smb nmb
Set the Samba password.
sudo smbpasswd -a 'Group Name'
Replace 'Group Name' with the group to which your username belongs.
When you run the command, you will be prompted to enter a password.
This password is the one used when accessing Samba from other PCs on your local network.
Restart Samba
sudo systemctl restart smb nmb
3. Configure the public folder for sharing
In this example, we will set up the "Public" folder in your Home folder as a shared folder.

Right-click the public folder and select "Share Options."

Check the boxes for "Share this folder" and "Allow others to create and delete files in this folder."
If you don't plan to send files from another PC , checking only "Share this folder" should suffice.

Click "Apply permissions automatically."

A shared icon will appear on the Public folder.

4. Firewall Settings
Launch "Firewall" from "View apps."


Click "Rules" in the middle section, then click the " + " icon in the lower-left corner.

Set the direction to "Both" (if transferring files to Manjaro), select "Samba" as the application, then click the Add button and close the window.


5. Accessing from Another PC
If you're using Windows, open File Explorer and enter,
\\192.168.xxx.xxx
Replace "xxx" with the private IP address found in Manjaro's settings.




The fact that the Home folder appears is my mistake.
In the Shared Folder, you can move files to the PC you’re accessing from, or transfer files from that PC to the Manjaro PC (if you’ve enabled write permissions for the Shared Folder).
It may take a little while to connect.
If it doesn’t work, try restarting Samba or rebooting both PCs.
Summary
To set up file sharing on Manjaro, first install "nautilus-share" via Software & Updates, then open a terminal to enable and start Samba.
Launch "Firewall" from "Show Applications", add the Samba port, and open it.
If accessing from Windows, open File Explorer and enter "\\192.168.xxx.xxx" in the address bar.
If you found this helpful, please consider supporting us.
