SANE (Scanner Access Now Easy) is a library that allows you to access various types of scanners and imaging devices from within Linux, BSD, and other Unix-like operating systems. In this tutorial, we will go over the steps required to install SANE Network Scanning on Manjaro.
Before we begin, you will need to have the following:
Open a terminal window by pressing Ctrl+Alt+T
or by searching for "terminal" in the applications menu.
Update your system's package list and upgrade any outdated packages:
sudo pacman -Syu
Install SANE and its dependencies:
sudo pacman -S sane
Install the SANE network backend:
sudo pacman -S sane-net
Edit the /etc/sane.d/net.conf
file using a text editor of your choice (we will use nano in this example):
sudo nano /etc/sane.d/net.conf
Uncomment the following line by removing the #
symbol:
# net localhost
should become:
net localhost
This enables scanning on the local machine.
Save and exit the editor by pressing Ctrl+X
, Y
, and then Enter
.
Restart the SANE daemon:
sudo systemctl restart saned.socket
Ensure that SANE is running and listening for connections:
sudo systemctl status saned.socket
Output will show if SANE is running or not.
Make sure that the scanner is turned on and connected to the network.
Open a terminal window and type the following command:
scanimage -L
This command should list all the available scanners on the network.
If the scanner is listed, run a test scan:
scanimage > test_scan.pnm
Check the current directory for the newly created test_scan.pnm
file. If it is there, the installation of SANE Network Scanning was successful.
Congratulations! You have now installed SANE Network Scanning on Manjaro, and you can now use your scanner from any device on your network.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!