Created
October 15, 2018 14:05
-
-
Save peakBreaker/dcd154f86734e4b97be8dddf6f3959b5 to your computer and use it in GitHub Desktop.
Cups setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Program to enable avahi service discovery of printers and CUPS | |
# In Arch Linux | |
# | |
## First install the needed programs | |
sudo pacman -S cups nss-mdns | |
## Add user to cups group | |
sudo usermod -a -G cups <USER> | |
## Alter the hosts line to be like this | |
# hosts: ... mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns ... | |
sudo vim /etc/nsswitch.conf | |
# Systemd | |
sudo systemctl enable org.cups.cupsd.service | |
sudo systemctl start org.cups.cupsd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment