unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Platoxia via <help-guix@gnu.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Permissions issue
Date: Fri, 04 Feb 2022 20:44:53 +0000	[thread overview]
Message-ID: <UpyEYXGkVxBv_lL3KTJ8Jckrx4KaK-g9ZyK2Jn2LDkSW8yoIA9LfZR31HQzYyQvMWltwplhzmMvSF9y1XtZWb9LkshU2qok45BaAhySyvkw=@protonmail.com> (raw)

I have set up my config.scm for my all-in-one HP and printing works fine but I have some weird permissions issue with the scanner. I've tried two scanner programs (simple scan and xsane) and both have the same problem of not finding the scanner unless I launch the program from the cli with sudo.

In accordance with the manual, I modified '%desktop-services' exactly as stated for adding the "sane-backends" hoping that it would handle this issue but nothing has changed after re-configuring the system and rebooting. I even installed sane-backends-minimal, sane-backends, hplip-minimal, and hplip to my profile but it didn't fix the issue. In fact, that just brought up another issue in that the QT front-end to HPLIP doesn't launch at all (I read that it has scanner related settings, which is why I installed it).

Someone on the #guix mentioned something about udev rules but according to the manual the desktop services are supposed to handle that. I'm at a loss for what to do at this point and would appreciate some guidance.

Here is my config.scm incase it helps uncover the issue:

> ;; This is an operating system configuration generated
> ;; by the graphical installer and updated by platoxia.
>
> (use-modules (gnu))
> (use-service-modules
> desktop
> networking
> ssh
> xorg
> cups)
> (use-package-modules
> cups
> scanner)
>
> (define %my-desktop-services
> ;; List of desktop services that supports a broader range of scanners.
> (modify-services %desktop-services
> (sane-service-type _ => sane-backends)))
>
> (operating-system
> (locale "en_US.utf8")
> (timezone "America/Chicago")
> (keyboard-layout (keyboard-layout "us"))
> (host-name "boneyard")
> (users (cons* (user-account
> (name "platoxia")
> (comment "Platoxia")
> (group "users")
> (home-directory "/home/platoxia")
> (supplementary-groups
> '("wheel" "netdev" "audio" "video")))
> %base-user-accounts))
> (packages (append (list (specification->package "nss-certs"))
> %base-packages))
> (services (cons* (service mate-desktop-service-type)
> (set-xorg-configuration
> (xorg-configuration
> (keyboard-layout keyboard-layout)))
> (service cups-service-type
> (cups-configuration
> (web-interface? #t)
> (extensions
> (list cups-filters hplip-minimal))))
> %my-desktop-services))
> (bootloader
> (bootloader-configuration
> (bootloader grub-bootloader)
> (targets '("/dev/sda"))
> (keyboard-layout keyboard-layout)))
> (swap-devices (list
> (swap-space (target
> (uuid "45749447-7c2c-4f61-8006-d861fe9a88d1" )))))
> (file-systems
> (cons*
> (file-system
> (device (uuid "7557000f-8212-4bc5-87f1-d5201e1a30d6" 'ext4))
> (mount-point "/")
> (type "ext4"))
> ;; 4 1TB HDDs in btrfs raid 10
> (file-system
> (device (file-system-label "storage"))
> (mount-point "/media/storage")
> (type "btrfs")
> (flags '(no-atime)))
> %base-file-systems)))

                 reply	other threads:[~2022-02-04 21:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='UpyEYXGkVxBv_lL3KTJ8Jckrx4KaK-g9ZyK2Jn2LDkSW8yoIA9LfZR31HQzYyQvMWltwplhzmMvSF9y1XtZWb9LkshU2qok45BaAhySyvkw=@protonmail.com' \
    --to=help-guix@gnu.org \
    --cc=platoxia@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).