1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-14 17:21:32 +01:00

First try of real printer support

This commit is contained in:
2017-01-17 20:32:55 +01:00
parent 184de3e6fa
commit b8af08c38d
2 changed files with 14 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ vlc qt4 smplayer totem clementine \
gimp inkscape pinta krita \
noto-fonts noto-fonts-cjk noto-fonts-emoji ttf-dejavu ttf-liberation ttf-ms-fonts ttf-google-fonts-git \
evince ristretto librsvg gnome-calculator gnome-disk-utility file-roller lrzip p7zip unace unrar tumbler poppler-glib ffmpegthumbnailer libgsf \
cups cups-filters hplip bluez bluez-utils bluez-cups bluez-firmware bluez-libs blueberry \
cups cups-filters cups-pk-helper system-config-printer hplip bluez bluez-utils bluez-cups bluez-firmware bluez-libs blueberry \
dropbox megasync geary k3b jre8-openjdk wine-staging wine_gecko winetricks lib32-libpng lib32-libldap lib32-gnutls lib32-mpg123 lib32-libpulse lib32-ncurses lib32-openal lib32-alsa-lib lib32-gst-plugins-base-libs bleachbit \
sublime-text-dev sublime-text visual-studio-code jdk8-openjdk eclipse-java monodevelop brackets atom-editor-bin gdevelop poedit arduino \
xorg-server xorg-xinit xorg-server-common xf86-input-libinput xterm lightdm lightdm-gtk-greeter gvfs gvfs-mtp gvfs-afc gvfs-smb udisks networkmanager network-manager-applet gnome-keyring xdialog \

View File

@@ -479,8 +479,10 @@ function programasguiuser {
*6*) packages="$packages tumbler poppler-glib ffmpegthumbnailer libgsf";;&
esac
case $opt7 in
*1*) packages="$packages cups cups-filters";;&
*2*) packages="$packages hplip";;&
*1*) cups=1;;&
*2*) packages="$packages hplip"
cups=1
;;&
*3*) packages="$packages bluez bluez-utils bluez-cups bluez-firmware bluez-libs blueberry";;&
esac
case $opt8 in
@@ -512,6 +514,10 @@ function programasguiuser {
esac
allpackages=$allpackages" "$packages
packages=""
#Añadir soporte cups basico si se selecciona cualquier opcion de impresoras
if [[ $cups = "1" ]];then
allpackages=$allpackages" cups cups-filters cups-pk-helper system-config-printer"
fi
fi
}
@@ -717,6 +723,11 @@ function installconf {
execl chroot systemctl enable lightdm
execl chroot systemctl enable NetworkManager
execl chroot systemctl enable dhcpcd
# Enable cupsd service for printing
if [[ $cups = "1" ]];then
execl chroot systemctl enable org.cups.cupsd
fi
# Configure wine if neccesary