unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* install a Printer
@ 2022-02-15 16:45 Gottfried
  2022-02-15 16:54 ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-15 16:45 UTC (permalink / raw)
  To: help-guix

Hi,

I tried to adjust my /etc/config.scm file, but I made some mistake.

Could anybody help me please?

here the file: (my changes are in bold letters)

(I have installed cups, cups-filters, hplip in my guix system)


;; This is an operating system configuration generated

;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg *cups*)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
             (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))
*(cups-service-type)**
**            (cups-configuration**
**            (web-interface? #t**
**            (extensions list cups-filters hplip))))*
   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))


After running: sudo guix system reconfigure /etc/config.scm

it said:

35:16: Fehler: (cups-service-type): invalid field specifier     
Fehler(german word means mistake)

What do I have to change?


Gottfried

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 16:45 install a Printer Gottfried
@ 2022-02-15 16:54 ` Julien Lepiller
  2022-02-15 17:31   ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-15 16:54 UTC (permalink / raw)
  To: help-guix, Gottfried

Your service specification is not at the right place, and incorrect. You have to be careful with parenthesis, as they define the structure of things (similar to braces in other programming languages).

The service specification needs to be inside the list, at the same level as all these (service …) forms. In the same way, you declare a service with (service foo-service-type <configuration>), and the configuration is usually a record, so it has parenthesis too.

For records, you do:

(<record-name>
  (<field-name> <field-value>)
  …)

With as many fields as you want, as long as they exist. In your config, guix found (cups-service-type) at the same level as other fields of the operating-system, but operating-system doesn't support such a field directly, and the field does not have a value.

Overall, try something like this, at the same parenthetical level as the other (service …) forms.

(service cups-service-type)
   (cups-configuration
     (web-interface? #t)
     (extensions list cups-filters hplip)))

HTH!


On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>Hi,
>
>I tried to adjust my /etc/config.scm file, but I made some mistake.
>
>Could anybody help me please?
>
>here the file: (my changes are in bold letters)
>
>(I have installed cups, cups-filters, hplip in my guix system)
>
>
>;; This is an operating system configuration generated
>
>;; by the graphical installer.
>
>(use-modules (gnu))
>(use-service-modules desktop networking ssh xorg *cups*)
>
>(operating-system
>   (locale "de_DE.utf8")
>   (timezone "Europe/Berlin")
>   (keyboard-layout (keyboard-layout "de"))
>   (host-name "Tuxedo")
>   (users (cons* (user-account
>                   (name "gfp")
>                   (comment "Gfp")
>                   (group "users")
>                   (home-directory "/home/gfp")
>                   (supplementary-groups
>                     '("wheel" "netdev" "audio" "video")))
>                 %base-user-accounts))
>   (packages
>     (append
>       (list (specification->package "awesome")
>             (specification->package "nss-certs"))
>       %base-packages))
>   (services
>     (append
>       (list (service mate-desktop-service-type)
>             (service enlightenment-desktop-service-type)
>             (service openssh-service-type)
>             (service tor-service-type)
>             (set-xorg-configuration
>               (xorg-configuration
>                 (keyboard-layout keyboard-layout))))
>       %desktop-services))
>*(cups-service-type)**
>**            (cups-configuration**
>**            (web-interface? #t**
>**            (extensions list cups-filters hplip))))*
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/boot/efi")
>       (keyboard-layout keyboard-layout)))
>   (swap-devices
>     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>   (file-systems
>     (cons* (file-system
>              (mount-point "/boot/efi")
>              (device (uuid "BB77-FE3B" 'fat32))
>              (type "vfat"))
>            (file-system
>              (mount-point "/")
>              (device
>                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                      'ext4))
>              (type "ext4"))
>            %base-file-systems)))
>
>
>After running: sudo guix system reconfigure /etc/config.scm
>
>it said:
>
>35:16: Fehler: (cups-service-type): invalid field specifier     
>Fehler(german word means mistake)
>
>What do I have to change?
>
>
>Gottfried

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 16:54 ` Julien Lepiller
@ 2022-02-15 17:31   ` Gottfried
  2022-02-15 17:44     ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-15 17:31 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

Hi,

I changed my

/etc/config.scm file,to:
;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))***
(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
             (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))
		
   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))


*The answer was:*

/etc/config.scm:5:0: Fehler: module (gnu services cups-service-type) not 
found Hinweis: Der Befehl `guix system search cups-service-type' sucht 
nach einem zu `cups-service-type' passenden Dienst. Wenn Sie eine 
Ausgabe wie `location: gnu/services/foo.scm:188:2' sehen, fügen Sie 
`foo' in Ihre `use-service-modules'-Form ein.

Gottfried

Am 15.02.22 um 17:54 schrieb Julien Lepiller:
> Your service specification is not at the right place, and incorrect. 
> You have to be careful with parenthesis, as they define the structure 
> of things (similar to braces in other programming languages).
>
> The service specification needs to be inside the list, at the same 
> level as all these (service …) forms. In the same way, you declare a 
> service with (service foo-service-type <configuration>), and the 
> configuration is usually a record, so it has parenthesis too.
>
> For records, you do:
>
> (<record-name>
> (<field-name> <field-value>)
> …)
>
> With as many fields as you want, as long as they exist. In your 
> config, guix found (cups-service-type) at the same level as other 
> fields of the operating-system, but operating-system doesn't support 
> such a field directly, and the field does not have a value.
>
> Overall, try something like this, at the same parenthetical level as 
> the other (service …) forms.
>
> (service cups-service-type)
> (cups-configuration
> (web-interface? #t)
> (extensions list cups-filters hplip)))
>
> HTH!
>
>
> On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried 
> <gottfried@posteo.de> wrote:
>
>     Hi,
>
>     I tried to adjust my /etc/config.scm file, but I made some mistake.
>
>     Could anybody help me please?
>
>     here the file: (my changes are in bold letters)
>
>     (I have installed cups, cups-filters, hplip in my guix system)
>
>
>     ;; This is an operating system configuration generated
>
>     ;; by the graphical installer.
>
>     (use-modules (gnu))
>     (use-service-modules desktop networking ssh xorg *cups*)
>
>     (operating-system
>         (locale "de_DE.utf8")
>         (timezone "Europe/Berlin")
>         (keyboard-layout (keyboard-layout "de"))
>         (host-name "Tuxedo")
>         (users (cons* (user-account
>                         (name "gfp")
>                         (comment "Gfp")
>                         (group "users")
>                         (home-directory "/home/gfp")
>                         (supplementary-groups
>                           '("wheel" "netdev" "audio" "video")))
>                       %base-user-accounts))
>         (packages
>           (append
>             (list (specification->package "awesome")
>                   (specification->package "nss-certs"))
>             %base-packages))
>         (services
>           (append
>             (list (service mate-desktop-service-type)
>                   (service enlightenment-desktop-service-type)
>                   (service openssh-service-type)
>                   (service tor-service-type)
>                   (set-xorg-configuration
>                     (xorg-configuration
>                       (keyboard-layout keyboard-layout))))
>             %desktop-services))
>     *(cups-service-type)**
>     **            (cups-configuration**
>     **            (web-interface? #t**
>     **            (extensions list cups-filters hplip))))*
>         (bootloader
>           (bootloader-configuration
>             (bootloader grub-efi-bootloader)
>             (target "/boot/efi")
>             (keyboard-layout keyboard-layout)))
>         (swap-devices
>           (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>         (file-systems
>           (cons* (file-system
>                    (mount-point "/boot/efi")
>                    (device (uuid "BB77-FE3B" 'fat32))
>                    (type "vfat"))
>                  (file-system
>                    (mount-point "/")
>                    (device
>                      (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                            'ext4))
>                    (type "ext4"))
>                  %base-file-systems)))
>
>
>     After running: sudo guix system reconfigure /etc/config.scm
>
>     it said:
>
>     35:16: Fehler: (cups-service-type): invalid field specifier
>     Fehler(german word means mistake)
>
>     What do I have to change?
>
>
>     Gottfried
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 17:31   ` Gottfried
@ 2022-02-15 17:44     ` Julien Lepiller
  2022-02-15 18:29       ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-15 17:44 UTC (permalink / raw)
  To: Gottfried, help-guix

Hi,

I'm sorry if my answer was confusing. Do not modify the use-service-modules form. Instead, insert the snippet I gave you at the same position as the other (service …) forms, for instance right below  (service enlightenment-desktop-service-type)

On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>Hi,
>
>I changed my
>
>/etc/config.scm file,to:
>;; This is an operating system configuration generated
>;; by the graphical installer.
>
>(use-modules (gnu))
>(use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))***
>(operating-system
>   (locale "de_DE.utf8")
>   (timezone "Europe/Berlin")
>   (keyboard-layout (keyboard-layout "de"))
>   (host-name "Tuxedo")
>   (users (cons* (user-account
>                   (name "gfp")
>                   (comment "Gfp")
>                   (group "users")
>                   (home-directory "/home/gfp")
>                   (supplementary-groups
>                     '("wheel" "netdev" "audio" "video")))
>                 %base-user-accounts))
>   (packages
>     (append
>       (list (specification->package "awesome")
>             (specification->package "nss-certs"))
>       %base-packages))
>   (services
>     (append
>       (list (service mate-desktop-service-type)
>             (service enlightenment-desktop-service-type)
>             (service openssh-service-type)
>             (service tor-service-type)
>             (set-xorg-configuration
>               (xorg-configuration
>                 (keyboard-layout keyboard-layout))))
>       %desktop-services))
>		
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/boot/efi")
>       (keyboard-layout keyboard-layout)))
>   (swap-devices
>     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>   (file-systems
>     (cons* (file-system
>              (mount-point "/boot/efi")
>              (device (uuid "BB77-FE3B" 'fat32))
>              (type "vfat"))
>            (file-system
>              (mount-point "/")
>              (device
>                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                      'ext4))
>              (type "ext4"))
>            %base-file-systems)))
>
>
>*The answer was:*
>
>/etc/config.scm:5:0: Fehler: module (gnu services cups-service-type) not 
>found Hinweis: Der Befehl `guix system search cups-service-type' sucht 
>nach einem zu `cups-service-type' passenden Dienst. Wenn Sie eine 
>Ausgabe wie `location: gnu/services/foo.scm:188:2' sehen, fügen Sie 
>`foo' in Ihre `use-service-modules'-Form ein.
>
>Gottfried
>
>Am 15.02.22 um 17:54 schrieb Julien Lepiller:
>> Your service specification is not at the right place, and incorrect. 
>> You have to be careful with parenthesis, as they define the structure 
>> of things (similar to braces in other programming languages).
>>
>> The service specification needs to be inside the list, at the same 
>> level as all these (service …) forms. In the same way, you declare a 
>> service with (service foo-service-type <configuration>), and the 
>> configuration is usually a record, so it has parenthesis too.
>>
>> For records, you do:
>>
>> (<record-name>
>> (<field-name> <field-value>)
>> …)
>>
>> With as many fields as you want, as long as they exist. In your 
>> config, guix found (cups-service-type) at the same level as other 
>> fields of the operating-system, but operating-system doesn't support 
>> such a field directly, and the field does not have a value.
>>
>> Overall, try something like this, at the same parenthetical level as 
>> the other (service …) forms.
>>
>> (service cups-service-type)
>> (cups-configuration
>> (web-interface? #t)
>> (extensions list cups-filters hplip)))
>>
>> HTH!
>>
>>
>> On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried 
>> <gottfried@posteo.de> wrote:
>>
>>     Hi,
>>
>>     I tried to adjust my /etc/config.scm file, but I made some mistake.
>>
>>     Could anybody help me please?
>>
>>     here the file: (my changes are in bold letters)
>>
>>     (I have installed cups, cups-filters, hplip in my guix system)
>>
>>
>>     ;; This is an operating system configuration generated
>>
>>     ;; by the graphical installer.
>>
>>     (use-modules (gnu))
>>     (use-service-modules desktop networking ssh xorg *cups*)
>>
>>     (operating-system
>>         (locale "de_DE.utf8")
>>         (timezone "Europe/Berlin")
>>         (keyboard-layout (keyboard-layout "de"))
>>         (host-name "Tuxedo")
>>         (users (cons* (user-account
>>                         (name "gfp")
>>                         (comment "Gfp")
>>                         (group "users")
>>                         (home-directory "/home/gfp")
>>                         (supplementary-groups
>>                           '("wheel" "netdev" "audio" "video")))
>>                       %base-user-accounts))
>>         (packages
>>           (append
>>             (list (specification->package "awesome")
>>                   (specification->package "nss-certs"))
>>             %base-packages))
>>         (services
>>           (append
>>             (list (service mate-desktop-service-type)
>>                   (service enlightenment-desktop-service-type)
>>                   (service openssh-service-type)
>>                   (service tor-service-type)
>>                   (set-xorg-configuration
>>                     (xorg-configuration
>>                       (keyboard-layout keyboard-layout))))
>>             %desktop-services))
>>     *(cups-service-type)**
>>     **            (cups-configuration**
>>     **            (web-interface? #t**
>>     **            (extensions list cups-filters hplip))))*
>>         (bootloader
>>           (bootloader-configuration
>>             (bootloader grub-efi-bootloader)
>>             (target "/boot/efi")
>>             (keyboard-layout keyboard-layout)))
>>         (swap-devices
>>           (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>         (file-systems
>>           (cons* (file-system
>>                    (mount-point "/boot/efi")
>>                    (device (uuid "BB77-FE3B" 'fat32))
>>                    (type "vfat"))
>>                  (file-system
>>                    (mount-point "/")
>>                    (device
>>                      (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                            'ext4))
>>                    (type "ext4"))
>>                  %base-file-systems)))
>>
>>
>>     After running: sudo guix system reconfigure /etc/config.scm
>>
>>     it said:
>>
>>     35:16: Fehler: (cups-service-type): invalid field specifier
>>     Fehler(german word means mistake)
>>
>>     What do I have to change?
>>
>>
>>     Gottfried
>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 17:44     ` Julien Lepiller
@ 2022-02-15 18:29       ` Gottfried
  2022-02-15 18:34         ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-15 18:29 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

Hi,

I did this:

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
*(cups-service-type)**
**            (cups-configuration)**
**            (web-interface? #t)**
**            (extensions list cups-filters hplip))) *
             (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))

   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))

*Answer was:*

*/etc/config.scm:25:2: Fehler: (services (append (list (service 
mate-desktop-service-type) (service enlightenment-desktop-service-type) 
(cups-service-type) (cups-configuration) (web-interface? #t) (extensions 
list cups-filters hplip))) (service openssh-service-type) (service 
tor-service-type) (set-xorg-configuration (xorg-configuration 
(keyboard-layout keyboard-layout)))): invalid field specifier
*

  Gottfried



Am 15.02.22 um 18:44 schrieb Julien Lepiller:
> Hi,
>
> I'm sorry if my answer was confusing. Do not modify the 
> use-service-modules form. Instead, insert the snippet I gave you at 
> the same position as the other (service …) forms, for instance right 
> below (service enlightenment-desktop-service-type)
>
> On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried 
> <gottfried@posteo.de> wrote:
>
>     Hi,
>
>     I changed my
>
>     /etc/config.scm file,to:
>     ;; This is an operating system configuration generated
>     ;; by the graphical installer.
>
>     (use-modules (gnu))
>     (use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))***
>     (operating-system
>        (locale "de_DE.utf8")
>        (timezone "Europe/Berlin")
>        (keyboard-layout (keyboard-layout "de"))
>        (host-name "Tuxedo")
>        (users (cons* (user-account
>                        (name "gfp")
>                        (comment "Gfp")
>                        (group "users")
>                        (home-directory "/home/gfp")
>                        (supplementary-groups
>                          '("wheel" "netdev" "audio" "video")))
>                      %base-user-accounts))
>        (packages
>          (append
>            (list (specification->package "awesome")
>                  (specification->package "nss-certs"))
>            %base-packages))
>        (services
>          (append
>            (list (service mate-desktop-service-type)
>                  (service enlightenment-desktop-service-type)
>                  (service openssh-service-type)
>                  (service tor-service-type)
>                  (set-xorg-configuration
>                    (xorg-configuration
>                      (keyboard-layout keyboard-layout))))
>            %desktop-services))
>     		
>        (bootloader
>          (bootloader-configuration
>            (bootloader grub-efi-bootloader)
>            (target "/boot/efi")
>            (keyboard-layout keyboard-layout)))
>        (swap-devices
>          (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>        (file-systems
>          (cons* (file-system
>                   (mount-point "/boot/efi")
>                   (device (uuid "BB77-FE3B" 'fat32))
>                   (type "vfat"))
>                 (file-system
>                   (mount-point "/")
>                   (device
>                     (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                           'ext4))
>                   (type "ext4"))
>                 %base-file-systems)))
>
>
>     *The answer was:*
>
>     /etc/config.scm:5:0: Fehler: module (gnu services
>     cups-service-type) not found Hinweis: Der Befehl `guix system
>     search cups-service-type' sucht nach einem zu `cups-service-type'
>     passenden Dienst. Wenn Sie eine Ausgabe wie `location:
>     gnu/services/foo.scm:188:2' sehen, fügen Sie `foo' in Ihre
>     `use-service-modules'-Form ein.
>
>     Gottfried
>
>     Am 15.02.22 um 17:54 schrieb Julien Lepiller:
>>     Your service specification is not at the right place, and
>>     incorrect. You have to be careful with parenthesis, as they
>>     define the structure of things (similar to braces in other
>>     programming languages).
>>
>>     The service specification needs to be inside the list, at the
>>     same level as all these (service …) forms. In the same way, you
>>     declare a service with (service foo-service-type
>>     <configuration>), and the configuration is usually a record, so
>>     it has parenthesis too.
>>
>>     For records, you do:
>>
>>     (<record-name>
>>     (<field-name> <field-value>)
>>     …)
>>
>>     With as many fields as you want, as long as they exist. In your
>>     config, guix found (cups-service-type) at the same level as other
>>     fields of the operating-system, but operating-system doesn't
>>     support such a field directly, and the field does not have a value.
>>
>>     Overall, try something like this, at the same parenthetical level
>>     as the other (service …) forms.
>>
>>     (service cups-service-type)
>>     (cups-configuration
>>     (web-interface? #t)
>>     (extensions list cups-filters hplip)))
>>
>>     HTH!
>>
>>
>>     On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>     <gottfried@posteo.de> wrote:
>>
>>         Hi,
>>
>>         I tried to adjust my /etc/config.scm file, but I made some mistake.
>>
>>         Could anybody help me please?
>>
>>         here the file: (my changes are in bold letters)
>>
>>         (I have installed cups, cups-filters, hplip in my guix system)
>>
>>
>>         ;; This is an operating system configuration generated
>>
>>         ;; by the graphical installer.
>>
>>         (use-modules (gnu))
>>         (use-service-modules desktop networking ssh xorg *cups*)
>>
>>         (operating-system
>>             (locale "de_DE.utf8")
>>             (timezone "Europe/Berlin")
>>             (keyboard-layout (keyboard-layout "de"))
>>             (host-name "Tuxedo")
>>             (users (cons* (user-account
>>                             (name "gfp")
>>                             (comment "Gfp")
>>                             (group "users")
>>                             (home-directory "/home/gfp")
>>                             (supplementary-groups
>>                               '("wheel" "netdev" "audio" "video")))
>>                           %base-user-accounts))
>>             (packages
>>               (append
>>                 (list (specification->package "awesome")
>>                       (specification->package "nss-certs"))
>>                 %base-packages))
>>             (services
>>               (append
>>                 (list (service mate-desktop-service-type)
>>                       (service enlightenment-desktop-service-type)
>>                       (service openssh-service-type)
>>                       (service tor-service-type)
>>                       (set-xorg-configuration
>>                         (xorg-configuration
>>                           (keyboard-layout keyboard-layout))))
>>                 %desktop-services))
>>         *(cups-service-type)**
>>         **            (cups-configuration**
>>         **            (web-interface? #t**
>>         **            (extensions list cups-filters hplip))))*
>>             (bootloader
>>               (bootloader-configuration
>>                 (bootloader grub-efi-bootloader)
>>                 (target "/boot/efi")
>>                 (keyboard-layout keyboard-layout)))
>>             (swap-devices
>>               (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>             (file-systems
>>               (cons* (file-system
>>                        (mount-point "/boot/efi")
>>                        (device (uuid "BB77-FE3B" 'fat32))
>>                        (type "vfat"))
>>                      (file-system
>>                        (mount-point "/")
>>                        (device
>>                          (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                                'ext4))
>>                        (type "ext4"))
>>                      %base-file-systems)))
>>
>>
>>         After running: sudo guix system reconfigure /etc/config.scm
>>
>>         it said:
>>
>>         35:16: Fehler: (cups-service-type): invalid field specifier
>>         Fehler(german word means mistake)
>>
>>         What do I have to change?
>>
>>
>>         Gottfried
>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 18:29       ` Gottfried
@ 2022-02-15 18:34         ` Julien Lepiller
  2022-02-15 18:59           ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-15 18:34 UTC (permalink / raw)
  To: Gottfried, help-guix

Almost. Right place, wrong parenthesis. Please read my first message again and use the snippet I gave you. What you add must start with "(service". Make sure the parenthesis are exactly at the same place I showed you in the example, otherwise you're creating separate objects. They're used to group things together. service, cups-service-type and its configuration need to be in the same group.

On February 15, 2022 7:29:19 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>Hi,
>
>I did this:
>
>;; This is an operating system configuration generated
>;; by the graphical installer.
>
>(use-modules (gnu))
>(use-service-modules desktop networking ssh xorg)
>
>(operating-system
>   (locale "de_DE.utf8")
>   (timezone "Europe/Berlin")
>   (keyboard-layout (keyboard-layout "de"))
>   (host-name "Tuxedo")
>   (users (cons* (user-account
>                   (name "gfp")
>                   (comment "Gfp")
>                   (group "users")
>                   (home-directory "/home/gfp")
>                   (supplementary-groups
>                     '("wheel" "netdev" "audio" "video")))
>                 %base-user-accounts))
>   (packages
>     (append
>       (list (specification->package "awesome")
>             (specification->package "nss-certs"))
>       %base-packages))
>   (services
>     (append
>       (list (service mate-desktop-service-type)
>             (service enlightenment-desktop-service-type)
>*(cups-service-type)**
>**            (cups-configuration)**
>**            (web-interface? #t)**
>**            (extensions list cups-filters hplip))) *
>             (service openssh-service-type)
>             (service tor-service-type)
>             (set-xorg-configuration
>               (xorg-configuration
>                 (keyboard-layout keyboard-layout))))
>       %desktop-services))
>
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/boot/efi")
>       (keyboard-layout keyboard-layout)))
>   (swap-devices
>     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>   (file-systems
>     (cons* (file-system
>              (mount-point "/boot/efi")
>              (device (uuid "BB77-FE3B" 'fat32))
>              (type "vfat"))
>            (file-system
>              (mount-point "/")
>              (device
>                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                      'ext4))
>              (type "ext4"))
>            %base-file-systems)))
>
>*Answer was:*
>
>*/etc/config.scm:25:2: Fehler: (services (append (list (service 
>mate-desktop-service-type) (service enlightenment-desktop-service-type) 
>(cups-service-type) (cups-configuration) (web-interface? #t) (extensions 
>list cups-filters hplip))) (service openssh-service-type) (service 
>tor-service-type) (set-xorg-configuration (xorg-configuration 
>(keyboard-layout keyboard-layout)))): invalid field specifier
>*
>
>  Gottfried
>
>
>
>Am 15.02.22 um 18:44 schrieb Julien Lepiller:
>> Hi,
>>
>> I'm sorry if my answer was confusing. Do not modify the 
>> use-service-modules form. Instead, insert the snippet I gave you at 
>> the same position as the other (service …) forms, for instance right 
>> below (service enlightenment-desktop-service-type)
>>
>> On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried 
>> <gottfried@posteo.de> wrote:
>>
>>     Hi,
>>
>>     I changed my
>>
>>     /etc/config.scm file,to:
>>     ;; This is an operating system configuration generated
>>     ;; by the graphical installer.
>>
>>     (use-modules (gnu))
>>     (use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))***
>>     (operating-system
>>        (locale "de_DE.utf8")
>>        (timezone "Europe/Berlin")
>>        (keyboard-layout (keyboard-layout "de"))
>>        (host-name "Tuxedo")
>>        (users (cons* (user-account
>>                        (name "gfp")
>>                        (comment "Gfp")
>>                        (group "users")
>>                        (home-directory "/home/gfp")
>>                        (supplementary-groups
>>                          '("wheel" "netdev" "audio" "video")))
>>                      %base-user-accounts))
>>        (packages
>>          (append
>>            (list (specification->package "awesome")
>>                  (specification->package "nss-certs"))
>>            %base-packages))
>>        (services
>>          (append
>>            (list (service mate-desktop-service-type)
>>                  (service enlightenment-desktop-service-type)
>>                  (service openssh-service-type)
>>                  (service tor-service-type)
>>                  (set-xorg-configuration
>>                    (xorg-configuration
>>                      (keyboard-layout keyboard-layout))))
>>            %desktop-services))
>>     		
>>        (bootloader
>>          (bootloader-configuration
>>            (bootloader grub-efi-bootloader)
>>            (target "/boot/efi")
>>            (keyboard-layout keyboard-layout)))
>>        (swap-devices
>>          (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>        (file-systems
>>          (cons* (file-system
>>                   (mount-point "/boot/efi")
>>                   (device (uuid "BB77-FE3B" 'fat32))
>>                   (type "vfat"))
>>                 (file-system
>>                   (mount-point "/")
>>                   (device
>>                     (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                           'ext4))
>>                   (type "ext4"))
>>                 %base-file-systems)))
>>
>>
>>     *The answer was:*
>>
>>     /etc/config.scm:5:0: Fehler: module (gnu services
>>     cups-service-type) not found Hinweis: Der Befehl `guix system
>>     search cups-service-type' sucht nach einem zu `cups-service-type'
>>     passenden Dienst. Wenn Sie eine Ausgabe wie `location:
>>     gnu/services/foo.scm:188:2' sehen, fügen Sie `foo' in Ihre
>>     `use-service-modules'-Form ein.
>>
>>     Gottfried
>>
>>     Am 15.02.22 um 17:54 schrieb Julien Lepiller:
>>>     Your service specification is not at the right place, and
>>>     incorrect. You have to be careful with parenthesis, as they
>>>     define the structure of things (similar to braces in other
>>>     programming languages).
>>>
>>>     The service specification needs to be inside the list, at the
>>>     same level as all these (service …) forms. In the same way, you
>>>     declare a service with (service foo-service-type
>>>     <configuration>), and the configuration is usually a record, so
>>>     it has parenthesis too.
>>>
>>>     For records, you do:
>>>
>>>     (<record-name>
>>>     (<field-name> <field-value>)
>>>     …)
>>>
>>>     With as many fields as you want, as long as they exist. In your
>>>     config, guix found (cups-service-type) at the same level as other
>>>     fields of the operating-system, but operating-system doesn't
>>>     support such a field directly, and the field does not have a value.
>>>
>>>     Overall, try something like this, at the same parenthetical level
>>>     as the other (service …) forms.
>>>
>>>     (service cups-service-type)
>>>     (cups-configuration
>>>     (web-interface? #t)
>>>     (extensions list cups-filters hplip)))
>>>
>>>     HTH!
>>>
>>>
>>>     On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>>     <gottfried@posteo.de> wrote:
>>>
>>>         Hi,
>>>
>>>         I tried to adjust my /etc/config.scm file, but I made some mistake.
>>>
>>>         Could anybody help me please?
>>>
>>>         here the file: (my changes are in bold letters)
>>>
>>>         (I have installed cups, cups-filters, hplip in my guix system)
>>>
>>>
>>>         ;; This is an operating system configuration generated
>>>
>>>         ;; by the graphical installer.
>>>
>>>         (use-modules (gnu))
>>>         (use-service-modules desktop networking ssh xorg *cups*)
>>>
>>>         (operating-system
>>>             (locale "de_DE.utf8")
>>>             (timezone "Europe/Berlin")
>>>             (keyboard-layout (keyboard-layout "de"))
>>>             (host-name "Tuxedo")
>>>             (users (cons* (user-account
>>>                             (name "gfp")
>>>                             (comment "Gfp")
>>>                             (group "users")
>>>                             (home-directory "/home/gfp")
>>>                             (supplementary-groups
>>>                               '("wheel" "netdev" "audio" "video")))
>>>                           %base-user-accounts))
>>>             (packages
>>>               (append
>>>                 (list (specification->package "awesome")
>>>                       (specification->package "nss-certs"))
>>>                 %base-packages))
>>>             (services
>>>               (append
>>>                 (list (service mate-desktop-service-type)
>>>                       (service enlightenment-desktop-service-type)
>>>                       (service openssh-service-type)
>>>                       (service tor-service-type)
>>>                       (set-xorg-configuration
>>>                         (xorg-configuration
>>>                           (keyboard-layout keyboard-layout))))
>>>                 %desktop-services))
>>>         *(cups-service-type)**
>>>         **            (cups-configuration**
>>>         **            (web-interface? #t**
>>>         **            (extensions list cups-filters hplip))))*
>>>             (bootloader
>>>               (bootloader-configuration
>>>                 (bootloader grub-efi-bootloader)
>>>                 (target "/boot/efi")
>>>                 (keyboard-layout keyboard-layout)))
>>>             (swap-devices
>>>               (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>             (file-systems
>>>               (cons* (file-system
>>>                        (mount-point "/boot/efi")
>>>                        (device (uuid "BB77-FE3B" 'fat32))
>>>                        (type "vfat"))
>>>                      (file-system
>>>                        (mount-point "/")
>>>                        (device
>>>                          (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                'ext4))
>>>                        (type "ext4"))
>>>                      %base-file-systems)))
>>>
>>>
>>>         After running: sudo guix system reconfigure /etc/config.scm
>>>
>>>         it said:
>>>
>>>         35:16: Fehler: (cups-service-type): invalid field specifier
>>>         Fehler(german word means mistake)
>>>
>>>         What do I have to change?
>>>
>>>
>>>         Gottfried
>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 18:34         ` Julien Lepiller
@ 2022-02-15 18:59           ` Gottfried
  2022-02-15 19:02             ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-15 18:59 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

Hi,

I did it, as You said, or did I do something wrong?

because the message was again:

*/etc/config.scm:25:2: Fehler: (services (append (list (service 
mate-desktop-service-type) (service enlightenment-desktop-service-type) 
(service cups-service-type) (cups-configuration (web-interface? #t) 
(extensions list cups-filters hplip))) (service openssh-service-type) 
(service tor-service-type) (set-xorg-configuration (xorg-configuration 
(keyboard-layout keyboard-layout)))) %desktop-services): invalid field 
specifier*

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
*(service cups-service-type)**
**                (cups-configuration**
**                    (web-interface? #t)**
**                    (extensions list cups-filters hplip))) *
             (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))

   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))

Gottfried


Am 15.02.22 um 19:34 schrieb Julien Lepiller:
> Almost. Right place, wrong parenthesis. Please read my first message 
> again and use the snippet I gave you. What you add must start with 
> "(service". Make sure the parenthesis are exactly at the same place I 
> showed you in the example, otherwise you're creating separate objects. 
> They're used to group things together. service, cups-service-type and 
> its configuration need to be in the same group.
>
> On February 15, 2022 7:29:19 PM GMT+01:00, Gottfried 
> <gottfried@posteo.de> wrote:
>
>     Hi,
>
>     I did this:
>
>     ;; This is an operating system configuration generated
>     ;; by the graphical installer.
>
>     (use-modules (gnu))
>     (use-service-modules desktop networking ssh xorg)
>
>     (operating-system
>       (locale "de_DE.utf8")
>       (timezone "Europe/Berlin")
>       (keyboard-layout (keyboard-layout "de"))
>       (host-name "Tuxedo")
>       (users (cons* (user-account
>                       (name "gfp")
>                       (comment "Gfp")
>                       (group "users")
>                       (home-directory "/home/gfp")
>                       (supplementary-groups
>                         '("wheel" "netdev" "audio" "video")))
>                     %base-user-accounts))
>       (packages
>         (append
>           (list (specification->package "awesome")
>                 (specification->package "nss-certs"))
>           %base-packages))
>       (services
>         (append
>           (list (service mate-desktop-service-type)
>                 (service enlightenment-desktop-service-type)
>     *(cups-service-type)**
>     **            (cups-configuration)**
>     **            (web-interface? #t)**
>     **            (extensions list cups-filters hplip))) *
>                 (service openssh-service-type)
>                 (service tor-service-type)
>                 (set-xorg-configuration
>                   (xorg-configuration
>                     (keyboard-layout keyboard-layout))))
>           %desktop-services))
>
>       (bootloader
>         (bootloader-configuration
>           (bootloader grub-efi-bootloader)
>           (target "/boot/efi")
>           (keyboard-layout keyboard-layout)))
>       (swap-devices
>         (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>       (file-systems
>         (cons* (file-system
>                  (mount-point "/boot/efi")
>                  (device (uuid "BB77-FE3B" 'fat32))
>                  (type "vfat"))
>                (file-system
>                  (mount-point "/")
>                  (device
>                    (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                          'ext4))
>                  (type "ext4"))
>                %base-file-systems)))
>
>     *Answer was:*
>
>     */etc/config.scm:25:2: Fehler: (services (append (list (service
>     mate-desktop-service-type) (service
>     enlightenment-desktop-service-type) (cups-service-type)
>     (cups-configuration) (web-interface? #t) (extensions list
>     cups-filters hplip))) (service openssh-service-type) (service
>     tor-service-type) (set-xorg-configuration (xorg-configuration
>     (keyboard-layout keyboard-layout)))): invalid field specifier
>     *
>
>      Gottfried
>
>
>
>     Am 15.02.22 um 18:44 schrieb Julien Lepiller:
>>     Hi,
>>
>>     I'm sorry if my answer was confusing. Do not modify the
>>     use-service-modules form. Instead, insert the snippet I gave you
>>     at the same position as the other (service …) forms, for instance
>>     right below (service enlightenment-desktop-service-type)
>>
>>     On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried
>>     <gottfried@posteo.de> wrote:
>>
>>         Hi,
>>
>>         I changed my
>>
>>         /etc/config.scm file,to:
>>         ;; This is an operating system configuration generated
>>         ;; by the graphical installer.
>>
>>         (use-modules (gnu))
>>         (use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))***
>>         (operating-system
>>            (locale "de_DE.utf8")
>>            (timezone "Europe/Berlin")
>>            (keyboard-layout (keyboard-layout "de"))
>>            (host-name "Tuxedo")
>>            (users (cons* (user-account
>>                            (name "gfp")
>>                            (comment "Gfp")
>>                            (group "users")
>>                            (home-directory "/home/gfp")
>>                            (supplementary-groups
>>                              '("wheel" "netdev" "audio" "video")))
>>                          %base-user-accounts))
>>            (packages
>>              (append
>>                (list (specification->package "awesome")
>>                      (specification->package "nss-certs"))
>>                %base-packages))
>>            (services
>>              (append
>>                (list (service mate-desktop-service-type)
>>                      (service enlightenment-desktop-service-type)
>>                      (service openssh-service-type)
>>                      (service tor-service-type)
>>                      (set-xorg-configuration
>>                        (xorg-configuration
>>                          (keyboard-layout keyboard-layout))))
>>                %desktop-services))
>>         		
>>            (bootloader
>>              (bootloader-configuration
>>                (bootloader grub-efi-bootloader)
>>                (target "/boot/efi")
>>                (keyboard-layout keyboard-layout)))
>>            (swap-devices
>>              (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>            (file-systems
>>              (cons* (file-system
>>                       (mount-point "/boot/efi")
>>                       (device (uuid "BB77-FE3B" 'fat32))
>>                       (type "vfat"))
>>                     (file-system
>>                       (mount-point "/")
>>                       (device
>>                         (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                               'ext4))
>>                       (type "ext4"))
>>                     %base-file-systems)))
>>
>>
>>         *The answer was:*
>>
>>         /etc/config.scm:5:0: Fehler: module (gnu services
>>         cups-service-type) not found Hinweis: Der Befehl `guix system
>>         search cups-service-type' sucht nach einem zu
>>         `cups-service-type' passenden Dienst. Wenn Sie eine Ausgabe
>>         wie `location: gnu/services/foo.scm:188:2' sehen, fügen Sie
>>         `foo' in Ihre `use-service-modules'-Form ein.
>>
>>         Gottfried
>>
>>         Am 15.02.22 um 17:54 schrieb Julien Lepiller:
>>>         Your service specification is not at the right place, and
>>>         incorrect. You have to be careful with parenthesis, as they
>>>         define the structure of things (similar to braces in other
>>>         programming languages).
>>>
>>>         The service specification needs to be inside the list, at
>>>         the same level as all these (service …) forms. In the same
>>>         way, you declare a service with (service foo-service-type
>>>         <configuration>), and the configuration is usually a record,
>>>         so it has parenthesis too.
>>>
>>>         For records, you do:
>>>
>>>         (<record-name>
>>>         (<field-name> <field-value>)
>>>         …)
>>>
>>>         With as many fields as you want, as long as they exist. In
>>>         your config, guix found (cups-service-type) at the same
>>>         level as other fields of the operating-system, but
>>>         operating-system doesn't support such a field directly, and
>>>         the field does not have a value.
>>>
>>>         Overall, try something like this, at the same parenthetical
>>>         level as the other (service …) forms.
>>>
>>>         (service cups-service-type)
>>>         (cups-configuration
>>>         (web-interface? #t)
>>>         (extensions list cups-filters hplip)))
>>>
>>>         HTH!
>>>
>>>
>>>         On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>>         <gottfried@posteo.de> wrote:
>>>
>>>             Hi,
>>>
>>>             I tried to adjust my /etc/config.scm file, but I made some mistake.
>>>
>>>             Could anybody help me please?
>>>
>>>             here the file: (my changes are in bold letters)
>>>
>>>             (I have installed cups, cups-filters, hplip in my guix system)
>>>
>>>
>>>             ;; This is an operating system configuration generated
>>>
>>>             ;; by the graphical installer.
>>>
>>>             (use-modules (gnu))
>>>             (use-service-modules desktop networking ssh xorg *cups*)
>>>
>>>             (operating-system
>>>                 (locale "de_DE.utf8")
>>>                 (timezone "Europe/Berlin")
>>>                 (keyboard-layout (keyboard-layout "de"))
>>>                 (host-name "Tuxedo")
>>>                 (users (cons* (user-account
>>>                                 (name "gfp")
>>>                                 (comment "Gfp")
>>>                                 (group "users")
>>>                                 (home-directory "/home/gfp")
>>>                                 (supplementary-groups
>>>                                   '("wheel" "netdev" "audio" "video")))
>>>                               %base-user-accounts))
>>>                 (packages
>>>                   (append
>>>                     (list (specification->package "awesome")
>>>                           (specification->package "nss-certs"))
>>>                     %base-packages))
>>>                 (services
>>>                   (append
>>>                     (list (service mate-desktop-service-type)
>>>                           (service enlightenment-desktop-service-type)
>>>                           (service openssh-service-type)
>>>                           (service tor-service-type)
>>>                           (set-xorg-configuration
>>>                             (xorg-configuration
>>>                               (keyboard-layout keyboard-layout))))
>>>                     %desktop-services))
>>>             *(cups-service-type)**
>>>             **            (cups-configuration**
>>>             **            (web-interface? #t**
>>>             **            (extensions list cups-filters hplip))))*
>>>                 (bootloader
>>>                   (bootloader-configuration
>>>                     (bootloader grub-efi-bootloader)
>>>                     (target "/boot/efi")
>>>                     (keyboard-layout keyboard-layout)))
>>>                 (swap-devices
>>>                   (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>                 (file-systems
>>>                   (cons* (file-system
>>>                            (mount-point "/boot/efi")
>>>                            (device (uuid "BB77-FE3B" 'fat32))
>>>                            (type "vfat"))
>>>                          (file-system
>>>                            (mount-point "/")
>>>                            (device
>>>                              (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                    'ext4))
>>>                            (type "ext4"))
>>>                          %base-file-systems)))
>>>
>>>
>>>             After running: sudo guix system reconfigure /etc/config.scm
>>>
>>>             it said:
>>>
>>>             35:16: Fehler: (cups-service-type): invalid field specifier
>>>             Fehler(german word means mistake)
>>>
>>>             What do I have to change?
>>>
>>>
>>>             Gottfried
>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 18:59           ` Gottfried
@ 2022-02-15 19:02             ` Julien Lepiller
  2022-02-15 19:17               ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-15 19:02 UTC (permalink / raw)
  To: Gottfried, help-guix

Remove one closing parenthesis here: (service cups-service-type)

On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>Hi,
>
>I did it, as You said, or did I do something wrong?
>
>because the message was again:
>
>*/etc/config.scm:25:2: Fehler: (services (append (list (service 
>mate-desktop-service-type) (service enlightenment-desktop-service-type) 
>(service cups-service-type) (cups-configuration (web-interface? #t) 
>(extensions list cups-filters hplip))) (service openssh-service-type) 
>(service tor-service-type) (set-xorg-configuration (xorg-configuration 
>(keyboard-layout keyboard-layout)))) %desktop-services): invalid field 
>specifier*
>
>;; This is an operating system configuration generated
>;; by the graphical installer.
>
>(use-modules (gnu))
>(use-service-modules desktop networking ssh xorg)
>
>(operating-system
>   (locale "de_DE.utf8")
>   (timezone "Europe/Berlin")
>   (keyboard-layout (keyboard-layout "de"))
>   (host-name "Tuxedo")
>   (users (cons* (user-account
>                   (name "gfp")
>                   (comment "Gfp")
>                   (group "users")
>                   (home-directory "/home/gfp")
>                   (supplementary-groups
>                     '("wheel" "netdev" "audio" "video")))
>                 %base-user-accounts))
>   (packages
>     (append
>       (list (specification->package "awesome")
>             (specification->package "nss-certs"))
>       %base-packages))
>   (services
>     (append
>       (list (service mate-desktop-service-type)
>             (service enlightenment-desktop-service-type)
>*(service cups-service-type)**
>**                (cups-configuration**
>**                    (web-interface? #t)**
>**                    (extensions list cups-filters hplip))) *
>             (service openssh-service-type)
>             (service tor-service-type)
>             (set-xorg-configuration
>               (xorg-configuration
>                 (keyboard-layout keyboard-layout))))
>       %desktop-services))
>
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/boot/efi")
>       (keyboard-layout keyboard-layout)))
>   (swap-devices
>     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>   (file-systems
>     (cons* (file-system
>              (mount-point "/boot/efi")
>              (device (uuid "BB77-FE3B" 'fat32))
>              (type "vfat"))
>            (file-system
>              (mount-point "/")
>              (device
>                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                      'ext4))
>              (type "ext4"))
>            %base-file-systems)))
>
>Gottfried
>
>
>Am 15.02.22 um 19:34 schrieb Julien Lepiller:
>> Almost. Right place, wrong parenthesis. Please read my first message 
>> again and use the snippet I gave you. What you add must start with 
>> "(service". Make sure the parenthesis are exactly at the same place I 
>> showed you in the example, otherwise you're creating separate objects. 
>> They're used to group things together. service, cups-service-type and 
>> its configuration need to be in the same group.
>>
>> On February 15, 2022 7:29:19 PM GMT+01:00, Gottfried 
>> <gottfried@posteo.de> wrote:
>>
>>     Hi,
>>
>>     I did this:
>>
>>     ;; This is an operating system configuration generated
>>     ;; by the graphical installer.
>>
>>     (use-modules (gnu))
>>     (use-service-modules desktop networking ssh xorg)
>>
>>     (operating-system
>>       (locale "de_DE.utf8")
>>       (timezone "Europe/Berlin")
>>       (keyboard-layout (keyboard-layout "de"))
>>       (host-name "Tuxedo")
>>       (users (cons* (user-account
>>                       (name "gfp")
>>                       (comment "Gfp")
>>                       (group "users")
>>                       (home-directory "/home/gfp")
>>                       (supplementary-groups
>>                         '("wheel" "netdev" "audio" "video")))
>>                     %base-user-accounts))
>>       (packages
>>         (append
>>           (list (specification->package "awesome")
>>                 (specification->package "nss-certs"))
>>           %base-packages))
>>       (services
>>         (append
>>           (list (service mate-desktop-service-type)
>>                 (service enlightenment-desktop-service-type)
>>     *(cups-service-type)**
>>     **            (cups-configuration)**
>>     **            (web-interface? #t)**
>>     **            (extensions list cups-filters hplip))) *
>>                 (service openssh-service-type)
>>                 (service tor-service-type)
>>                 (set-xorg-configuration
>>                   (xorg-configuration
>>                     (keyboard-layout keyboard-layout))))
>>           %desktop-services))
>>
>>       (bootloader
>>         (bootloader-configuration
>>           (bootloader grub-efi-bootloader)
>>           (target "/boot/efi")
>>           (keyboard-layout keyboard-layout)))
>>       (swap-devices
>>         (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>       (file-systems
>>         (cons* (file-system
>>                  (mount-point "/boot/efi")
>>                  (device (uuid "BB77-FE3B" 'fat32))
>>                  (type "vfat"))
>>                (file-system
>>                  (mount-point "/")
>>                  (device
>>                    (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                          'ext4))
>>                  (type "ext4"))
>>                %base-file-systems)))
>>
>>     *Answer was:*
>>
>>     */etc/config.scm:25:2: Fehler: (services (append (list (service
>>     mate-desktop-service-type) (service
>>     enlightenment-desktop-service-type) (cups-service-type)
>>     (cups-configuration) (web-interface? #t) (extensions list
>>     cups-filters hplip))) (service openssh-service-type) (service
>>     tor-service-type) (set-xorg-configuration (xorg-configuration
>>     (keyboard-layout keyboard-layout)))): invalid field specifier
>>     *
>>
>>      Gottfried
>>
>>
>>
>>     Am 15.02.22 um 18:44 schrieb Julien Lepiller:
>>>     Hi,
>>>
>>>     I'm sorry if my answer was confusing. Do not modify the
>>>     use-service-modules form. Instead, insert the snippet I gave you
>>>     at the same position as the other (service …) forms, for instance
>>>     right below (service enlightenment-desktop-service-type)
>>>
>>>     On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried
>>>     <gottfried@posteo.de> wrote:
>>>
>>>         Hi,
>>>
>>>         I changed my
>>>
>>>         /etc/config.scm file,to:
>>>         ;; This is an operating system configuration generated
>>>         ;; by the graphical installer.
>>>
>>>         (use-modules (gnu))
>>>         (use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))***
>>>         (operating-system
>>>            (locale "de_DE.utf8")
>>>            (timezone "Europe/Berlin")
>>>            (keyboard-layout (keyboard-layout "de"))
>>>            (host-name "Tuxedo")
>>>            (users (cons* (user-account
>>>                            (name "gfp")
>>>                            (comment "Gfp")
>>>                            (group "users")
>>>                            (home-directory "/home/gfp")
>>>                            (supplementary-groups
>>>                              '("wheel" "netdev" "audio" "video")))
>>>                          %base-user-accounts))
>>>            (packages
>>>              (append
>>>                (list (specification->package "awesome")
>>>                      (specification->package "nss-certs"))
>>>                %base-packages))
>>>            (services
>>>              (append
>>>                (list (service mate-desktop-service-type)
>>>                      (service enlightenment-desktop-service-type)
>>>                      (service openssh-service-type)
>>>                      (service tor-service-type)
>>>                      (set-xorg-configuration
>>>                        (xorg-configuration
>>>                          (keyboard-layout keyboard-layout))))
>>>                %desktop-services))
>>>         		
>>>            (bootloader
>>>              (bootloader-configuration
>>>                (bootloader grub-efi-bootloader)
>>>                (target "/boot/efi")
>>>                (keyboard-layout keyboard-layout)))
>>>            (swap-devices
>>>              (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>            (file-systems
>>>              (cons* (file-system
>>>                       (mount-point "/boot/efi")
>>>                       (device (uuid "BB77-FE3B" 'fat32))
>>>                       (type "vfat"))
>>>                     (file-system
>>>                       (mount-point "/")
>>>                       (device
>>>                         (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                               'ext4))
>>>                       (type "ext4"))
>>>                     %base-file-systems)))
>>>
>>>
>>>         *The answer was:*
>>>
>>>         /etc/config.scm:5:0: Fehler: module (gnu services
>>>         cups-service-type) not found Hinweis: Der Befehl `guix system
>>>         search cups-service-type' sucht nach einem zu
>>>         `cups-service-type' passenden Dienst. Wenn Sie eine Ausgabe
>>>         wie `location: gnu/services/foo.scm:188:2' sehen, fügen Sie
>>>         `foo' in Ihre `use-service-modules'-Form ein.
>>>
>>>         Gottfried
>>>
>>>         Am 15.02.22 um 17:54 schrieb Julien Lepiller:
>>>>         Your service specification is not at the right place, and
>>>>         incorrect. You have to be careful with parenthesis, as they
>>>>         define the structure of things (similar to braces in other
>>>>         programming languages).
>>>>
>>>>         The service specification needs to be inside the list, at
>>>>         the same level as all these (service …) forms. In the same
>>>>         way, you declare a service with (service foo-service-type
>>>>         <configuration>), and the configuration is usually a record,
>>>>         so it has parenthesis too.
>>>>
>>>>         For records, you do:
>>>>
>>>>         (<record-name>
>>>>         (<field-name> <field-value>)
>>>>         …)
>>>>
>>>>         With as many fields as you want, as long as they exist. In
>>>>         your config, guix found (cups-service-type) at the same
>>>>         level as other fields of the operating-system, but
>>>>         operating-system doesn't support such a field directly, and
>>>>         the field does not have a value.
>>>>
>>>>         Overall, try something like this, at the same parenthetical
>>>>         level as the other (service …) forms.
>>>>
>>>>         (service cups-service-type)
>>>>         (cups-configuration
>>>>         (web-interface? #t)
>>>>         (extensions list cups-filters hplip)))
>>>>
>>>>         HTH!
>>>>
>>>>
>>>>         On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>>>         <gottfried@posteo.de> wrote:
>>>>
>>>>             Hi,
>>>>
>>>>             I tried to adjust my /etc/config.scm file, but I made some mistake.
>>>>
>>>>             Could anybody help me please?
>>>>
>>>>             here the file: (my changes are in bold letters)
>>>>
>>>>             (I have installed cups, cups-filters, hplip in my guix system)
>>>>
>>>>
>>>>             ;; This is an operating system configuration generated
>>>>
>>>>             ;; by the graphical installer.
>>>>
>>>>             (use-modules (gnu))
>>>>             (use-service-modules desktop networking ssh xorg *cups*)
>>>>
>>>>             (operating-system
>>>>                 (locale "de_DE.utf8")
>>>>                 (timezone "Europe/Berlin")
>>>>                 (keyboard-layout (keyboard-layout "de"))
>>>>                 (host-name "Tuxedo")
>>>>                 (users (cons* (user-account
>>>>                                 (name "gfp")
>>>>                                 (comment "Gfp")
>>>>                                 (group "users")
>>>>                                 (home-directory "/home/gfp")
>>>>                                 (supplementary-groups
>>>>                                   '("wheel" "netdev" "audio" "video")))
>>>>                               %base-user-accounts))
>>>>                 (packages
>>>>                   (append
>>>>                     (list (specification->package "awesome")
>>>>                           (specification->package "nss-certs"))
>>>>                     %base-packages))
>>>>                 (services
>>>>                   (append
>>>>                     (list (service mate-desktop-service-type)
>>>>                           (service enlightenment-desktop-service-type)
>>>>                           (service openssh-service-type)
>>>>                           (service tor-service-type)
>>>>                           (set-xorg-configuration
>>>>                             (xorg-configuration
>>>>                               (keyboard-layout keyboard-layout))))
>>>>                     %desktop-services))
>>>>             *(cups-service-type)**
>>>>             **            (cups-configuration**
>>>>             **            (web-interface? #t**
>>>>             **            (extensions list cups-filters hplip))))*
>>>>                 (bootloader
>>>>                   (bootloader-configuration
>>>>                     (bootloader grub-efi-bootloader)
>>>>                     (target "/boot/efi")
>>>>                     (keyboard-layout keyboard-layout)))
>>>>                 (swap-devices
>>>>                   (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>                 (file-systems
>>>>                   (cons* (file-system
>>>>                            (mount-point "/boot/efi")
>>>>                            (device (uuid "BB77-FE3B" 'fat32))
>>>>                            (type "vfat"))
>>>>                          (file-system
>>>>                            (mount-point "/")
>>>>                            (device
>>>>                              (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                                    'ext4))
>>>>                            (type "ext4"))
>>>>                          %base-file-systems)))
>>>>
>>>>
>>>>             After running: sudo guix system reconfigure /etc/config.scm
>>>>
>>>>             it said:
>>>>
>>>>             35:16: Fehler: (cups-service-type): invalid field specifier
>>>>             Fehler(german word means mistake)
>>>>
>>>>             What do I have to change?
>>>>
>>>>
>>>>             Gottfried
>>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 19:02             ` Julien Lepiller
@ 2022-02-15 19:17               ` Julien Lepiller
  2022-02-15 19:39                 ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-15 19:17 UTC (permalink / raw)
  To: help-guix, Gottfried

Noticed the issue with what I typed (sorry not a the computer right now). Type this instead, at the same location:

(service cups-service-type
     (cups-configuration
         (web-interface? #t)
         (extensions (list cups-filters hplip))))

I added a closing parenthesis on the first line that shouldn't be here, and I forgot to wrap the value of the extensions (now it's a proper list instead of three values which is an error). Also check that the last closing parenthesis at the end of the fourth line closes the first one on the first line and you should be good!


On February 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller <julien@lepiller.eu> wrote:
>Remove one closing parenthesis here: (service cups-service-type)
>
>On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>>Hi,
>>
>>I did it, as You said, or did I do something wrong?
>>
>>because the message was again:
>>
>>*/etc/config.scm:25:2: Fehler: (services (append (list (service 
>>mate-desktop-service-type) (service enlightenment-desktop-service-type) 
>>(service cups-service-type) (cups-configuration (web-interface? #t) 
>>(extensions list cups-filters hplip))) (service openssh-service-type) 
>>(service tor-service-type) (set-xorg-configuration (xorg-configuration 
>>(keyboard-layout keyboard-layout)))) %desktop-services): invalid field 
>>specifier*
>>
>>;; This is an operating system configuration generated
>>;; by the graphical installer.
>>
>>(use-modules (gnu))
>>(use-service-modules desktop networking ssh xorg)
>>
>>(operating-system
>>   (locale "de_DE.utf8")
>>   (timezone "Europe/Berlin")
>>   (keyboard-layout (keyboard-layout "de"))
>>   (host-name "Tuxedo")
>>   (users (cons* (user-account
>>                   (name "gfp")
>>                   (comment "Gfp")
>>                   (group "users")
>>                   (home-directory "/home/gfp")
>>                   (supplementary-groups
>>                     '("wheel" "netdev" "audio" "video")))
>>                 %base-user-accounts))
>>   (packages
>>     (append
>>       (list (specification->package "awesome")
>>             (specification->package "nss-certs"))
>>       %base-packages))
>>   (services
>>     (append
>>       (list (service mate-desktop-service-type)
>>             (service enlightenment-desktop-service-type)
>>*(service cups-service-type)**
>>**                (cups-configuration**
>>**                    (web-interface? #t)**
>>**                    (extensions list cups-filters hplip))) *
>>             (service openssh-service-type)
>>             (service tor-service-type)
>>             (set-xorg-configuration
>>               (xorg-configuration
>>                 (keyboard-layout keyboard-layout))))
>>       %desktop-services))
>>
>>   (bootloader
>>     (bootloader-configuration
>>       (bootloader grub-efi-bootloader)
>>       (target "/boot/efi")
>>       (keyboard-layout keyboard-layout)))
>>   (swap-devices
>>     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>   (file-systems
>>     (cons* (file-system
>>              (mount-point "/boot/efi")
>>              (device (uuid "BB77-FE3B" 'fat32))
>>              (type "vfat"))
>>            (file-system
>>              (mount-point "/")
>>              (device
>>                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                      'ext4))
>>              (type "ext4"))
>>            %base-file-systems)))
>>
>>Gottfried
>>
>>
>>Am 15.02.22 um 19:34 schrieb Julien Lepiller:
>>> Almost. Right place, wrong parenthesis. Please read my first message 
>>> again and use the snippet I gave you. What you add must start with 
>>> "(service". Make sure the parenthesis are exactly at the same place I 
>>> showed you in the example, otherwise you're creating separate objects. 
>>> They're used to group things together. service, cups-service-type and 
>>> its configuration need to be in the same group.
>>>
>>> On February 15, 2022 7:29:19 PM GMT+01:00, Gottfried 
>>> <gottfried@posteo.de> wrote:
>>>
>>>     Hi,
>>>
>>>     I did this:
>>>
>>>     ;; This is an operating system configuration generated
>>>     ;; by the graphical installer.
>>>
>>>     (use-modules (gnu))
>>>     (use-service-modules desktop networking ssh xorg)
>>>
>>>     (operating-system
>>>       (locale "de_DE.utf8")
>>>       (timezone "Europe/Berlin")
>>>       (keyboard-layout (keyboard-layout "de"))
>>>       (host-name "Tuxedo")
>>>       (users (cons* (user-account
>>>                       (name "gfp")
>>>                       (comment "Gfp")
>>>                       (group "users")
>>>                       (home-directory "/home/gfp")
>>>                       (supplementary-groups
>>>                         '("wheel" "netdev" "audio" "video")))
>>>                     %base-user-accounts))
>>>       (packages
>>>         (append
>>>           (list (specification->package "awesome")
>>>                 (specification->package "nss-certs"))
>>>           %base-packages))
>>>       (services
>>>         (append
>>>           (list (service mate-desktop-service-type)
>>>                 (service enlightenment-desktop-service-type)
>>>     *(cups-service-type)**
>>>     **            (cups-configuration)**
>>>     **            (web-interface? #t)**
>>>     **            (extensions list cups-filters hplip))) *
>>>                 (service openssh-service-type)
>>>                 (service tor-service-type)
>>>                 (set-xorg-configuration
>>>                   (xorg-configuration
>>>                     (keyboard-layout keyboard-layout))))
>>>           %desktop-services))
>>>
>>>       (bootloader
>>>         (bootloader-configuration
>>>           (bootloader grub-efi-bootloader)
>>>           (target "/boot/efi")
>>>           (keyboard-layout keyboard-layout)))
>>>       (swap-devices
>>>         (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>       (file-systems
>>>         (cons* (file-system
>>>                  (mount-point "/boot/efi")
>>>                  (device (uuid "BB77-FE3B" 'fat32))
>>>                  (type "vfat"))
>>>                (file-system
>>>                  (mount-point "/")
>>>                  (device
>>>                    (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                          'ext4))
>>>                  (type "ext4"))
>>>                %base-file-systems)))
>>>
>>>     *Answer was:*
>>>
>>>     */etc/config.scm:25:2: Fehler: (services (append (list (service
>>>     mate-desktop-service-type) (service
>>>     enlightenment-desktop-service-type) (cups-service-type)
>>>     (cups-configuration) (web-interface? #t) (extensions list
>>>     cups-filters hplip))) (service openssh-service-type) (service
>>>     tor-service-type) (set-xorg-configuration (xorg-configuration
>>>     (keyboard-layout keyboard-layout)))): invalid field specifier
>>>     *
>>>
>>>      Gottfried
>>>
>>>
>>>
>>>     Am 15.02.22 um 18:44 schrieb Julien Lepiller:
>>>>     Hi,
>>>>
>>>>     I'm sorry if my answer was confusing. Do not modify the
>>>>     use-service-modules form. Instead, insert the snippet I gave you
>>>>     at the same position as the other (service …) forms, for instance
>>>>     right below (service enlightenment-desktop-service-type)
>>>>
>>>>     On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried
>>>>     <gottfried@posteo.de> wrote:
>>>>
>>>>         Hi,
>>>>
>>>>         I changed my
>>>>
>>>>         /etc/config.scm file,to:
>>>>         ;; This is an operating system configuration generated
>>>>         ;; by the graphical installer.
>>>>
>>>>         (use-modules (gnu))
>>>>         (use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))***
>>>>         (operating-system
>>>>            (locale "de_DE.utf8")
>>>>            (timezone "Europe/Berlin")
>>>>            (keyboard-layout (keyboard-layout "de"))
>>>>            (host-name "Tuxedo")
>>>>            (users (cons* (user-account
>>>>                            (name "gfp")
>>>>                            (comment "Gfp")
>>>>                            (group "users")
>>>>                            (home-directory "/home/gfp")
>>>>                            (supplementary-groups
>>>>                              '("wheel" "netdev" "audio" "video")))
>>>>                          %base-user-accounts))
>>>>            (packages
>>>>              (append
>>>>                (list (specification->package "awesome")
>>>>                      (specification->package "nss-certs"))
>>>>                %base-packages))
>>>>            (services
>>>>              (append
>>>>                (list (service mate-desktop-service-type)
>>>>                      (service enlightenment-desktop-service-type)
>>>>                      (service openssh-service-type)
>>>>                      (service tor-service-type)
>>>>                      (set-xorg-configuration
>>>>                        (xorg-configuration
>>>>                          (keyboard-layout keyboard-layout))))
>>>>                %desktop-services))
>>>>         		
>>>>            (bootloader
>>>>              (bootloader-configuration
>>>>                (bootloader grub-efi-bootloader)
>>>>                (target "/boot/efi")
>>>>                (keyboard-layout keyboard-layout)))
>>>>            (swap-devices
>>>>              (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>            (file-systems
>>>>              (cons* (file-system
>>>>                       (mount-point "/boot/efi")
>>>>                       (device (uuid "BB77-FE3B" 'fat32))
>>>>                       (type "vfat"))
>>>>                     (file-system
>>>>                       (mount-point "/")
>>>>                       (device
>>>>                         (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                               'ext4))
>>>>                       (type "ext4"))
>>>>                     %base-file-systems)))
>>>>
>>>>
>>>>         *The answer was:*
>>>>
>>>>         /etc/config.scm:5:0: Fehler: module (gnu services
>>>>         cups-service-type) not found Hinweis: Der Befehl `guix system
>>>>         search cups-service-type' sucht nach einem zu
>>>>         `cups-service-type' passenden Dienst. Wenn Sie eine Ausgabe
>>>>         wie `location: gnu/services/foo.scm:188:2' sehen, fügen Sie
>>>>         `foo' in Ihre `use-service-modules'-Form ein.
>>>>
>>>>         Gottfried
>>>>
>>>>         Am 15.02.22 um 17:54 schrieb Julien Lepiller:
>>>>>         Your service specification is not at the right place, and
>>>>>         incorrect. You have to be careful with parenthesis, as they
>>>>>         define the structure of things (similar to braces in other
>>>>>         programming languages).
>>>>>
>>>>>         The service specification needs to be inside the list, at
>>>>>         the same level as all these (service …) forms. In the same
>>>>>         way, you declare a service with (service foo-service-type
>>>>>         <configuration>), and the configuration is usually a record,
>>>>>         so it has parenthesis too.
>>>>>
>>>>>         For records, you do:
>>>>>
>>>>>         (<record-name>
>>>>>         (<field-name> <field-value>)
>>>>>         …)
>>>>>
>>>>>         With as many fields as you want, as long as they exist. In
>>>>>         your config, guix found (cups-service-type) at the same
>>>>>         level as other fields of the operating-system, but
>>>>>         operating-system doesn't support such a field directly, and
>>>>>         the field does not have a value.
>>>>>
>>>>>         Overall, try something like this, at the same parenthetical
>>>>>         level as the other (service …) forms.
>>>>>
>>>>>         (service cups-service-type)
>>>>>         (cups-configuration
>>>>>         (web-interface? #t)
>>>>>         (extensions list cups-filters hplip)))
>>>>>
>>>>>         HTH!
>>>>>
>>>>>
>>>>>         On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>>>>         <gottfried@posteo.de> wrote:
>>>>>
>>>>>             Hi,
>>>>>
>>>>>             I tried to adjust my /etc/config.scm file, but I made some mistake.
>>>>>
>>>>>             Could anybody help me please?
>>>>>
>>>>>             here the file: (my changes are in bold letters)
>>>>>
>>>>>             (I have installed cups, cups-filters, hplip in my guix system)
>>>>>
>>>>>
>>>>>             ;; This is an operating system configuration generated
>>>>>
>>>>>             ;; by the graphical installer.
>>>>>
>>>>>             (use-modules (gnu))
>>>>>             (use-service-modules desktop networking ssh xorg *cups*)
>>>>>
>>>>>             (operating-system
>>>>>                 (locale "de_DE.utf8")
>>>>>                 (timezone "Europe/Berlin")
>>>>>                 (keyboard-layout (keyboard-layout "de"))
>>>>>                 (host-name "Tuxedo")
>>>>>                 (users (cons* (user-account
>>>>>                                 (name "gfp")
>>>>>                                 (comment "Gfp")
>>>>>                                 (group "users")
>>>>>                                 (home-directory "/home/gfp")
>>>>>                                 (supplementary-groups
>>>>>                                   '("wheel" "netdev" "audio" "video")))
>>>>>                               %base-user-accounts))
>>>>>                 (packages
>>>>>                   (append
>>>>>                     (list (specification->package "awesome")
>>>>>                           (specification->package "nss-certs"))
>>>>>                     %base-packages))
>>>>>                 (services
>>>>>                   (append
>>>>>                     (list (service mate-desktop-service-type)
>>>>>                           (service enlightenment-desktop-service-type)
>>>>>                           (service openssh-service-type)
>>>>>                           (service tor-service-type)
>>>>>                           (set-xorg-configuration
>>>>>                             (xorg-configuration
>>>>>                               (keyboard-layout keyboard-layout))))
>>>>>                     %desktop-services))
>>>>>             *(cups-service-type)**
>>>>>             **            (cups-configuration**
>>>>>             **            (web-interface? #t**
>>>>>             **            (extensions list cups-filters hplip))))*
>>>>>                 (bootloader
>>>>>                   (bootloader-configuration
>>>>>                     (bootloader grub-efi-bootloader)
>>>>>                     (target "/boot/efi")
>>>>>                     (keyboard-layout keyboard-layout)))
>>>>>                 (swap-devices
>>>>>                   (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>>                 (file-systems
>>>>>                   (cons* (file-system
>>>>>                            (mount-point "/boot/efi")
>>>>>                            (device (uuid "BB77-FE3B" 'fat32))
>>>>>                            (type "vfat"))
>>>>>                          (file-system
>>>>>                            (mount-point "/")
>>>>>                            (device
>>>>>                              (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>>                                    'ext4))
>>>>>                            (type "ext4"))
>>>>>                          %base-file-systems)))
>>>>>
>>>>>
>>>>>             After running: sudo guix system reconfigure /etc/config.scm
>>>>>
>>>>>             it said:
>>>>>
>>>>>             35:16: Fehler: (cups-service-type): invalid field specifier
>>>>>             Fehler(german word means mistake)
>>>>>
>>>>>             What do I have to change?
>>>>>
>>>>>
>>>>>             Gottfried
>>>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 19:17               ` Julien Lepiller
@ 2022-02-15 19:39                 ` Gottfried
  2022-02-15 19:51                   ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-15 19:39 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

After:

(list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
*(service cups-service-type**
**                (cups-configuration**
**                    (web-interface? #t)**
**                    (extensions (list cups-filters hplip)))) *
             (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))

/etc# guix system reconfigure /etc/config.scm

/etc/config.scm:43:14: Warnung: the 'target' field is deprecated, please 
use 'targets' instead
guix system: Warnung: Vielleicht wollen Sie „guix pull“ ausführen vor 
„guix system reconfigure“, um
aktuelle Pakete und Sicherheitsaktualisierungen zu bekommen.

guix system: Warnung: Konnte die Provenienz von GNU Guix nicht feststellen
Backtrace:
In ice-9/boot-9.scm:
     724:2 19 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
     619:8 18 (_ #(#(#<directory (guile-user) 7f228c3c8c80>)))
In guix/ui.scm:
    2209:7 17 (run-guix . _)
   2172:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
   1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
     822:3 14 (_)
     802:4 13 (call-with-status-report _ _)
In guix/scripts/system.scm:
    1256:4 12 (_)
In ice-9/boot-9.scm:
   1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
    658:37 10 (thunk)
    1320:8  9 (call-with-build-handler #<procedure 7f2287e773c0 at g…> …)
   2123:24  8 (run-with-store #<store-connection 256.99 7f227638a730> …)
In guix/scripts/system.scm:
     827:2  7 (_ _)
     703:7  6 (_ #<store-connection 256.99 7f227638a730>)
In gnu/system.scm:
   1227:19  5 (operating-system-derivation _)
    748:11  4 (operating-system-services #<<operating-system> kernel:…>)
    782:20  3 (services _)
In /etc/config.scm:
     29:33  2 (services #<<operating-system> kernel: #<package linux-…>)
In ice-9/boot-9.scm:
   1685:16  1 (raise-exception _ #:continuable? _)
   1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
*Fehler: cups-service-type: Nicht gebundene Variable*

root@Tuxedo /etc#


There is still a mistake I guess.

Thanks for helping, but please deal with it not today anymore. "Lets 
call it a day".


Gottfried


Am 15.02.22 um 20:17 schrieb Julien Lepiller:
> Noticed the issue with what I typed (sorry not a the computer right 
> now). Type this instead, at the same location:
>
> (service cups-service-type
> (cups-configuration
> (web-interface? #t)
> (extensions (list cups-filters hplip))))
>
> I added a closing parenthesis on the first line that shouldn't be 
> here, and I forgot to wrap the value of the extensions (now it's a 
> proper list instead of three values which is an error). Also check 
> that the last closing parenthesis at the end of the fourth line closes 
> the first one on the first line and you should be good!
>
>
> On February 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller 
> <julien@lepiller.eu> wrote:
>
>     Remove one closing parenthesis here: (service cups-service-type)
>
>     On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried<gottfried@posteo.de>  wrote:
>
>         Hi, I did it, as You said, or did I do something wrong?
>         because the message was again: */etc/config.scm:25:2: Fehler:
>         (services (append (list (service mate-desktop-service-type)
>         (service enlightenment-desktop-service-type) (service
>         cups-service-type) (cups-configuration (web-interface? #t)
>         (extensions list cups-filters hplip))) (service
>         openssh-service-type) (service tor-service-type)
>         (set-xorg-configuration (xorg-configuration (keyboard-layout
>         keyboard-layout)))) %desktop-services): invalid field
>         specifier* ;; This is an operating system configuration
>         generated ;; by the graphical installer. (use-modules (gnu))
>         (use-service-modules desktop networking ssh xorg)
>         (operating-system   (locale "de_DE.utf8")   (timezone
>         "Europe/Berlin")   (keyboard-layout (keyboard-layout "de"))  
>         (host-name "Tuxedo")   (users (cons* (user-account
>                           (name "gfp")                   (comment
>         "Gfp")                   (group "users")                  
>         (home-directory "/home/gfp")                  
>         (supplementary-groups                     '("wheel" "netdev"
>         "audio" "video")))                 %base-user-accounts))  
>         (packages     (append       (list (specification->package
>         "awesome")             (specification->package "nss-certs"))
>               %base-packages))   (services     (append       (list
>         (service mate-desktop-service-type)             (service
>         enlightenment-desktop-service-type) *(service
>         cups-service-type)** **                (cups-configuration**
>         **                    (web-interface? #t)** **               
>             (extensions list cups-filters hplip))) *            
>         (service openssh-service-type)             (service
>         tor-service-type)             (set-xorg-configuration
>                       (xorg-configuration                
>         (keyboard-layout keyboard-layout))))       %desktop-services))
>           (bootloader     (bootloader-configuration       (bootloader
>         grub-efi-bootloader)       (target "/boot/efi")      
>         (keyboard-layout keyboard-layout)))   (swap-devices     (list
>         (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>         (file-systems     (cons* (file-system             
>         (mount-point "/boot/efi")              (device (uuid
>         "BB77-FE3B" 'fat32))              (type "vfat"))           
>         (file-system              (mount-point "/")             
>         (device                (uuid
>         "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"                     
>         'ext4))              (type "ext4"))           
>         %base-file-systems))) Gottfried Am 15.02.22 um 19:34 schrieb
>         Julien Lepiller:
>
>             Almost. Right place, wrong parenthesis. Please read my
>             first message again and use the snippet I gave you. What
>             you add must start with "(service". Make sure the
>             parenthesis are exactly at the same place I showed you in
>             the example, otherwise you're creating separate objects.
>             They're used to group things together. service,
>             cups-service-type and its configuration need to be in the
>             same group. On February 15, 2022 7:29:19 PM GMT+01:00,
>             Gottfried <gottfried@posteo.de> wrote: Hi, I did this: ;;
>             This is an operating system configuration generated ;; by
>             the graphical installer. (use-modules (gnu))
>             (use-service-modules desktop networking ssh xorg)
>             (operating-system   (locale "de_DE.utf8")   (timezone
>             "Europe/Berlin")   (keyboard-layout (keyboard-layout
>             "de"))   (host-name "Tuxedo")   (users (cons*
>             (user-account                   (name "gfp")
>                               (comment "Gfp")                   (group
>             "users")                   (home-directory "/home/gfp")
>                               (supplementary-groups
>                                 '("wheel" "netdev" "audio" "video")))
>                             %base-user-accounts))   (packages    
>             (append       (list (specification->package "awesome")
>                         (specification->package "nss-certs"))      
>             %base-packages))   (services     (append       (list
>             (service mate-desktop-service-type)             (service
>             enlightenment-desktop-service-type) *(cups-service-type)**
>             **            (cups-configuration)** **           
>             (web-interface? #t)** **            (extensions list
>             cups-filters hplip))) *             (service
>             openssh-service-type)             (service
>             tor-service-type)             (set-xorg-configuration
>                           (xorg-configuration                
>             (keyboard-layout keyboard-layout))))      
>             %desktop-services))   (bootloader    
>             (bootloader-configuration       (bootloader
>             grub-efi-bootloader)       (target "/boot/efi")      
>             (keyboard-layout keyboard-layout)))   (swap-devices    
>             (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>             (file-systems     (cons* (file-system             
>             (mount-point "/boot/efi")              (device (uuid
>             "BB77-FE3B" 'fat32))              (type "vfat"))
>                        (file-system              (mount-point "/")
>                          (device                (uuid
>             "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                                  'ext4))              (type "ext4"))
>                        %base-file-systems))) *Answer was:*
>             */etc/config.scm:25:2: Fehler: (services (append (list
>             (service mate-desktop-service-type) (service
>             enlightenment-desktop-service-type) (cups-service-type)
>             (cups-configuration) (web-interface? #t) (extensions list
>             cups-filters hplip))) (service openssh-service-type)
>             (service tor-service-type) (set-xorg-configuration
>             (xorg-configuration (keyboard-layout keyboard-layout)))):
>             invalid field specifier *  Gottfried Am 15.02.22 um 18:44
>             schrieb Julien Lepiller:
>
>                 Hi, I'm sorry if my answer was confusing. Do not
>                 modify the use-service-modules form. Instead, insert
>                 the snippet I gave you at the same position as the
>                 other (service …) forms, for instance right below
>                 (service enlightenment-desktop-service-type) On
>                 February 15, 2022 6:31:46 PM GMT+01:00, Gottfried
>                 <gottfried@posteo.de> wrote: Hi, I changed my
>                 /etc/config.scm file,to: ;; This is an operating
>                 system configuration generated ;; by the graphical
>                 installer. (use-modules (gnu)) (use-service-modules
>                 desktop networking ssh
>                 xorg*cups-service-type)****(cups-configuration****(web-interface?
>                 #t)****(extensions list cups-filters hplip)))***
>                 (operating-system (locale "de_DE.utf8") (timezone
>                 "Europe/Berlin") (keyboard-layout (keyboard-layout
>                 "de")) (host-name "Tuxedo") (users (cons*
>                 (user-account (name "gfp") (comment "Gfp") (group
>                 "users") (home-directory "/home/gfp")
>                 (supplementary-groups '("wheel" "netdev" "audio"
>                 "video"))) %base-user-accounts)) (packages (append
>                 (list (specification->package "awesome")
>                 (specification->package "nss-certs")) %base-packages))
>                 (services (append (list (service
>                 mate-desktop-service-type) (service
>                 enlightenment-desktop-service-type) (service
>                 openssh-service-type) (service tor-service-type)
>                 (set-xorg-configuration (xorg-configuration
>                 (keyboard-layout keyboard-layout))))
>                 %desktop-services)) (bootloader
>                 (bootloader-configuration (bootloader
>                 grub-efi-bootloader) (target "/boot/efi")
>                 (keyboard-layout keyboard-layout))) (swap-devices
>                 (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>                 (file-systems (cons* (file-system (mount-point
>                 "/boot/efi") (device (uuid "BB77-FE3B" 'fat32)) (type
>                 "vfat")) (file-system (mount-point "/") (device (uuid
>                 "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" 'ext4)) (type
>                 "ext4")) %base-file-systems))) *The answer was:*
>                 /etc/config.scm:5:0: Fehler: module (gnu services
>                 cups-service-type) not found Hinweis: Der Befehl `guix
>                 system search cups-service-type' sucht nach einem zu
>                 `cups-service-type' passenden Dienst. Wenn Sie eine
>                 Ausgabe wie `location: gnu/services/foo.scm:188:2'
>                 sehen, fügen Sie `foo' in Ihre
>                 `use-service-modules'-Form ein. Gottfried Am 15.02.22
>                 um 17:54 schrieb Julien Lepiller:
>
>                     Your service specification is not at the right
>                     place, and incorrect. You have to be careful with
>                     parenthesis, as they define the structure of
>                     things (similar to braces in other programming
>                     languages). The service specification needs to be
>                     inside the list, at the same level as all these
>                     (service …) forms. In the same way, you declare a
>                     service with (service foo-service-type
>                     <configuration>), and the configuration is usually
>                     a record, so it has parenthesis too. For records,
>                     you do: (<record-name> (<field-name>
>                     <field-value>) …) With as many fields as you want,
>                     as long as they exist. In your config, guix found
>                     (cups-service-type) at the same level as other
>                     fields of the operating-system, but
>                     operating-system doesn't support such a field
>                     directly, and the field does not have a value.
>                     Overall, try something like this, at the same
>                     parenthetical level as the other (service …)
>                     forms. (service cups-service-type)
>                     (cups-configuration (web-interface? #t)
>                     (extensions list cups-filters hplip))) HTH! On
>                     February 15, 2022 5:45:34 PM GMT+01:00, Gottfried
>                     <gottfried@posteo.de> wrote: Hi, I tried to adjust
>                     my /etc/config.scm file, but I made some mistake.
>                     Could anybody help me please? here the file: (my
>                     changes are in bold letters) (I have installed
>                     cups, cups-filters, hplip in my guix system) ;;
>                     This is an operating system configuration
>                     generated ;; by the graphical installer.
>                     (use-modules (gnu)) (use-service-modules desktop
>                     networking ssh xorg *cups*) (operating-system  
>                     (locale "de_DE.utf8")   (timezone "Europe/Berlin")
>                       (keyboard-layout (keyboard-layout "de"))  
>                     (host-name "Tuxedo")   (users (cons* (user-account
>                                       (name "gfp")                  
>                     (comment "Gfp")                   (group "users")
>                                       (home-directory "/home/gfp")
>                                       (supplementary-groups
>                                         '("wheel" "netdev" "audio"
>                     "video")))                 %base-user-accounts))  
>                     (packages     (append       (list
>                     (specification->package "awesome")            
>                     (specification->package "nss-certs"))      
>                     %base-packages))   (services     (append      
>                     (list (service mate-desktop-service-type)
>                                 (service
>                     enlightenment-desktop-service-type)            
>                     (service openssh-service-type)            
>                     (service tor-service-type)            
>                     (set-xorg-configuration              
>                     (xorg-configuration                
>                     (keyboard-layout keyboard-layout))))      
>                     %desktop-services)) *(cups-service-type)** **  
>                              (cups-configuration** **           
>                     (web-interface? #t** **            (extensions
>                     list cups-filters hplip))))*   (bootloader    
>                     (bootloader-configuration       (bootloader
>                     grub-efi-bootloader)       (target "/boot/efi")
>                           (keyboard-layout keyboard-layout)))  
>                     (swap-devices     (list (uuid
>                     "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>                     (file-systems     (cons* (file-system             
>                     (mount-point "/boot/efi")              (device
>                     (uuid "BB77-FE3B" 'fat32))              (type
>                     "vfat"))            (file-system             
>                     (mount-point "/")              (device
>                                    (uuid
>                     "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                                          'ext4))              (type
>                     "ext4"))            %base-file-systems))) After
>                     running: sudo guix system reconfigure
>                     /etc/config.scm it said: 35:16: Fehler:
>                     (cups-service-type): invalid field specifier
>                     Fehler(german word means mistake) What do I have
>                     to change? Gottfried 
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 19:39                 ` Gottfried
@ 2022-02-15 19:51                   ` Julien Lepiller
  2022-02-16 16:04                     ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-15 19:51 UTC (permalink / raw)
  To: Gottfried, help-guix

You're all good. In addition to your modifications, you need to add cups to the list of service modules, at the top of the file:

(use-service-modules cups desktop networking ssh xorg)

HTH!

On February 15, 2022 8:39:30 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>After:
>
>(list (service mate-desktop-service-type)
>             (service enlightenment-desktop-service-type)
>*(service cups-service-type**
>**                (cups-configuration**
>**                    (web-interface? #t)**
>**                    (extensions (list cups-filters hplip)))) *
>             (service openssh-service-type)
>             (service tor-service-type)
>             (set-xorg-configuration
>               (xorg-configuration
>                 (keyboard-layout keyboard-layout))))
>       %desktop-services))
>
>/etc# guix system reconfigure /etc/config.scm
>
>/etc/config.scm:43:14: Warnung: the 'target' field is deprecated, please 
>use 'targets' instead
>guix system: Warnung: Vielleicht wollen Sie „guix pull“ ausführen vor 
>„guix system reconfigure“, um
>aktuelle Pakete und Sicherheitsaktualisierungen zu bekommen.
>
>guix system: Warnung: Konnte die Provenienz von GNU Guix nicht feststellen
>Backtrace:
>In ice-9/boot-9.scm:
>     724:2 19 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
>In ice-9/eval.scm:
>     619:8 18 (_ #(#(#<directory (guile-user) 7f228c3c8c80>)))
>In guix/ui.scm:
>    2209:7 17 (run-guix . _)
>   2172:10 16 (run-guix-command _ . _)
>In ice-9/boot-9.scm:
>   1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
>In guix/status.scm:
>     822:3 14 (_)
>     802:4 13 (call-with-status-report _ _)
>In guix/scripts/system.scm:
>    1256:4 12 (_)
>In ice-9/boot-9.scm:
>   1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
>In guix/store.scm:
>    658:37 10 (thunk)
>    1320:8  9 (call-with-build-handler #<procedure 7f2287e773c0 at g…> …)
>   2123:24  8 (run-with-store #<store-connection 256.99 7f227638a730> …)
>In guix/scripts/system.scm:
>     827:2  7 (_ _)
>     703:7  6 (_ #<store-connection 256.99 7f227638a730>)
>In gnu/system.scm:
>   1227:19  5 (operating-system-derivation _)
>    748:11  4 (operating-system-services #<<operating-system> kernel:…>)
>    782:20  3 (services _)
>In /etc/config.scm:
>     29:33  2 (services #<<operating-system> kernel: #<package linux-…>)
>In ice-9/boot-9.scm:
>   1685:16  1 (raise-exception _ #:continuable? _)
>   1685:16  0 (raise-exception _ #:continuable? _)
>
>ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>*Fehler: cups-service-type: Nicht gebundene Variable*
>
>root@Tuxedo /etc#
>
>
>There is still a mistake I guess.
>
>Thanks for helping, but please deal with it not today anymore. "Lets 
>call it a day".
>
>
>Gottfried
>
>
>Am 15.02.22 um 20:17 schrieb Julien Lepiller:
>> Noticed the issue with what I typed (sorry not a the computer right 
>> now). Type this instead, at the same location:
>>
>> (service cups-service-type
>> (cups-configuration
>> (web-interface? #t)
>> (extensions (list cups-filters hplip))))
>>
>> I added a closing parenthesis on the first line that shouldn't be 
>> here, and I forgot to wrap the value of the extensions (now it's a 
>> proper list instead of three values which is an error). Also check 
>> that the last closing parenthesis at the end of the fourth line closes 
>> the first one on the first line and you should be good!
>>
>>
>> On February 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller 
>> <julien@lepiller.eu> wrote:
>>
>>     Remove one closing parenthesis here: (service cups-service-type)
>>
>>     On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried<gottfried@posteo.de>  wrote:
>>
>>         Hi, I did it, as You said, or did I do something wrong?
>>         because the message was again: */etc/config.scm:25:2: Fehler:
>>         (services (append (list (service mate-desktop-service-type)
>>         (service enlightenment-desktop-service-type) (service
>>         cups-service-type) (cups-configuration (web-interface? #t)
>>         (extensions list cups-filters hplip))) (service
>>         openssh-service-type) (service tor-service-type)
>>         (set-xorg-configuration (xorg-configuration (keyboard-layout
>>         keyboard-layout)))) %desktop-services): invalid field
>>         specifier* ;; This is an operating system configuration
>>         generated ;; by the graphical installer. (use-modules (gnu))
>>         (use-service-modules desktop networking ssh xorg)
>>         (operating-system   (locale "de_DE.utf8")   (timezone
>>         "Europe/Berlin")   (keyboard-layout (keyboard-layout "de"))  
>>         (host-name "Tuxedo")   (users (cons* (user-account
>>                           (name "gfp")                   (comment
>>         "Gfp")                   (group "users")                  
>>         (home-directory "/home/gfp")                  
>>         (supplementary-groups                     '("wheel" "netdev"
>>         "audio" "video")))                 %base-user-accounts))  
>>         (packages     (append       (list (specification->package
>>         "awesome")             (specification->package "nss-certs"))
>>               %base-packages))   (services     (append       (list
>>         (service mate-desktop-service-type)             (service
>>         enlightenment-desktop-service-type) *(service
>>         cups-service-type)** **                (cups-configuration**
>>         **                    (web-interface? #t)** **               
>>             (extensions list cups-filters hplip))) *            
>>         (service openssh-service-type)             (service
>>         tor-service-type)             (set-xorg-configuration
>>                       (xorg-configuration                
>>         (keyboard-layout keyboard-layout))))       %desktop-services))
>>           (bootloader     (bootloader-configuration       (bootloader
>>         grub-efi-bootloader)       (target "/boot/efi")      
>>         (keyboard-layout keyboard-layout)))   (swap-devices     (list
>>         (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>         (file-systems     (cons* (file-system             
>>         (mount-point "/boot/efi")              (device (uuid
>>         "BB77-FE3B" 'fat32))              (type "vfat"))           
>>         (file-system              (mount-point "/")             
>>         (device                (uuid
>>         "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"                     
>>         'ext4))              (type "ext4"))           
>>         %base-file-systems))) Gottfried Am 15.02.22 um 19:34 schrieb
>>         Julien Lepiller:
>>
>>             Almost. Right place, wrong parenthesis. Please read my
>>             first message again and use the snippet I gave you. What
>>             you add must start with "(service". Make sure the
>>             parenthesis are exactly at the same place I showed you in
>>             the example, otherwise you're creating separate objects.
>>             They're used to group things together. service,
>>             cups-service-type and its configuration need to be in the
>>             same group. On February 15, 2022 7:29:19 PM GMT+01:00,
>>             Gottfried <gottfried@posteo.de> wrote: Hi, I did this: ;;
>>             This is an operating system configuration generated ;; by
>>             the graphical installer. (use-modules (gnu))
>>             (use-service-modules desktop networking ssh xorg)
>>             (operating-system   (locale "de_DE.utf8")   (timezone
>>             "Europe/Berlin")   (keyboard-layout (keyboard-layout
>>             "de"))   (host-name "Tuxedo")   (users (cons*
>>             (user-account                   (name "gfp")
>>                               (comment "Gfp")                   (group
>>             "users")                   (home-directory "/home/gfp")
>>                               (supplementary-groups
>>                                 '("wheel" "netdev" "audio" "video")))
>>                             %base-user-accounts))   (packages    
>>             (append       (list (specification->package "awesome")
>>                         (specification->package "nss-certs"))      
>>             %base-packages))   (services     (append       (list
>>             (service mate-desktop-service-type)             (service
>>             enlightenment-desktop-service-type) *(cups-service-type)**
>>             **            (cups-configuration)** **           
>>             (web-interface? #t)** **            (extensions list
>>             cups-filters hplip))) *             (service
>>             openssh-service-type)             (service
>>             tor-service-type)             (set-xorg-configuration
>>                           (xorg-configuration                
>>             (keyboard-layout keyboard-layout))))      
>>             %desktop-services))   (bootloader    
>>             (bootloader-configuration       (bootloader
>>             grub-efi-bootloader)       (target "/boot/efi")      
>>             (keyboard-layout keyboard-layout)))   (swap-devices    
>>             (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>             (file-systems     (cons* (file-system             
>>             (mount-point "/boot/efi")              (device (uuid
>>             "BB77-FE3B" 'fat32))              (type "vfat"))
>>                        (file-system              (mount-point "/")
>>                          (device                (uuid
>>             "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                                  'ext4))              (type "ext4"))
>>                        %base-file-systems))) *Answer was:*
>>             */etc/config.scm:25:2: Fehler: (services (append (list
>>             (service mate-desktop-service-type) (service
>>             enlightenment-desktop-service-type) (cups-service-type)
>>             (cups-configuration) (web-interface? #t) (extensions list
>>             cups-filters hplip))) (service openssh-service-type)
>>             (service tor-service-type) (set-xorg-configuration
>>             (xorg-configuration (keyboard-layout keyboard-layout)))):
>>             invalid field specifier *  Gottfried Am 15.02.22 um 18:44
>>             schrieb Julien Lepiller:
>>
>>                 Hi, I'm sorry if my answer was confusing. Do not
>>                 modify the use-service-modules form. Instead, insert
>>                 the snippet I gave you at the same position as the
>>                 other (service …) forms, for instance right below
>>                 (service enlightenment-desktop-service-type) On
>>                 February 15, 2022 6:31:46 PM GMT+01:00, Gottfried
>>                 <gottfried@posteo.de> wrote: Hi, I changed my
>>                 /etc/config.scm file,to: ;; This is an operating
>>                 system configuration generated ;; by the graphical
>>                 installer. (use-modules (gnu)) (use-service-modules
>>                 desktop networking ssh
>>                 xorg*cups-service-type)****(cups-configuration****(web-interface?
>>                 #t)****(extensions list cups-filters hplip)))***
>>                 (operating-system (locale "de_DE.utf8") (timezone
>>                 "Europe/Berlin") (keyboard-layout (keyboard-layout
>>                 "de")) (host-name "Tuxedo") (users (cons*
>>                 (user-account (name "gfp") (comment "Gfp") (group
>>                 "users") (home-directory "/home/gfp")
>>                 (supplementary-groups '("wheel" "netdev" "audio"
>>                 "video"))) %base-user-accounts)) (packages (append
>>                 (list (specification->package "awesome")
>>                 (specification->package "nss-certs")) %base-packages))
>>                 (services (append (list (service
>>                 mate-desktop-service-type) (service
>>                 enlightenment-desktop-service-type) (service
>>                 openssh-service-type) (service tor-service-type)
>>                 (set-xorg-configuration (xorg-configuration
>>                 (keyboard-layout keyboard-layout))))
>>                 %desktop-services)) (bootloader
>>                 (bootloader-configuration (bootloader
>>                 grub-efi-bootloader) (target "/boot/efi")
>>                 (keyboard-layout keyboard-layout))) (swap-devices
>>                 (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>                 (file-systems (cons* (file-system (mount-point
>>                 "/boot/efi") (device (uuid "BB77-FE3B" 'fat32)) (type
>>                 "vfat")) (file-system (mount-point "/") (device (uuid
>>                 "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" 'ext4)) (type
>>                 "ext4")) %base-file-systems))) *The answer was:*
>>                 /etc/config.scm:5:0: Fehler: module (gnu services
>>                 cups-service-type) not found Hinweis: Der Befehl `guix
>>                 system search cups-service-type' sucht nach einem zu
>>                 `cups-service-type' passenden Dienst. Wenn Sie eine
>>                 Ausgabe wie `location: gnu/services/foo.scm:188:2'
>>                 sehen, fügen Sie `foo' in Ihre
>>                 `use-service-modules'-Form ein. Gottfried Am 15.02.22
>>                 um 17:54 schrieb Julien Lepiller:
>>
>>                     Your service specification is not at the right
>>                     place, and incorrect. You have to be careful with
>>                     parenthesis, as they define the structure of
>>                     things (similar to braces in other programming
>>                     languages). The service specification needs to be
>>                     inside the list, at the same level as all these
>>                     (service …) forms. In the same way, you declare a
>>                     service with (service foo-service-type
>>                     <configuration>), and the configuration is usually
>>                     a record, so it has parenthesis too. For records,
>>                     you do: (<record-name> (<field-name>
>>                     <field-value>) …) With as many fields as you want,
>>                     as long as they exist. In your config, guix found
>>                     (cups-service-type) at the same level as other
>>                     fields of the operating-system, but
>>                     operating-system doesn't support such a field
>>                     directly, and the field does not have a value.
>>                     Overall, try something like this, at the same
>>                     parenthetical level as the other (service …)
>>                     forms. (service cups-service-type)
>>                     (cups-configuration (web-interface? #t)
>>                     (extensions list cups-filters hplip))) HTH! On
>>                     February 15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>                     <gottfried@posteo.de> wrote: Hi, I tried to adjust
>>                     my /etc/config.scm file, but I made some mistake.
>>                     Could anybody help me please? here the file: (my
>>                     changes are in bold letters) (I have installed
>>                     cups, cups-filters, hplip in my guix system) ;;
>>                     This is an operating system configuration
>>                     generated ;; by the graphical installer.
>>                     (use-modules (gnu)) (use-service-modules desktop
>>                     networking ssh xorg *cups*) (operating-system  
>>                     (locale "de_DE.utf8")   (timezone "Europe/Berlin")
>>                       (keyboard-layout (keyboard-layout "de"))  
>>                     (host-name "Tuxedo")   (users (cons* (user-account
>>                                       (name "gfp")                  
>>                     (comment "Gfp")                   (group "users")
>>                                       (home-directory "/home/gfp")
>>                                       (supplementary-groups
>>                                         '("wheel" "netdev" "audio"
>>                     "video")))                 %base-user-accounts))  
>>                     (packages     (append       (list
>>                     (specification->package "awesome")            
>>                     (specification->package "nss-certs"))      
>>                     %base-packages))   (services     (append      
>>                     (list (service mate-desktop-service-type)
>>                                 (service
>>                     enlightenment-desktop-service-type)            
>>                     (service openssh-service-type)            
>>                     (service tor-service-type)            
>>                     (set-xorg-configuration              
>>                     (xorg-configuration                
>>                     (keyboard-layout keyboard-layout))))      
>>                     %desktop-services)) *(cups-service-type)** **  
>>                              (cups-configuration** **           
>>                     (web-interface? #t** **            (extensions
>>                     list cups-filters hplip))))*   (bootloader    
>>                     (bootloader-configuration       (bootloader
>>                     grub-efi-bootloader)       (target "/boot/efi")
>>                           (keyboard-layout keyboard-layout)))  
>>                     (swap-devices     (list (uuid
>>                     "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>                     (file-systems     (cons* (file-system             
>>                     (mount-point "/boot/efi")              (device
>>                     (uuid "BB77-FE3B" 'fat32))              (type
>>                     "vfat"))            (file-system             
>>                     (mount-point "/")              (device
>>                                    (uuid
>>                     "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                                          'ext4))              (type
>>                     "ext4"))            %base-file-systems))) After
>>                     running: sudo guix system reconfigure
>>                     /etc/config.scm it said: 35:16: Fehler:
>>                     (cups-service-type): invalid field specifier
>>                     Fehler(german word means mistake) What do I have
>>                     to change? Gottfried 
>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-15 19:51                   ` Julien Lepiller
@ 2022-02-16 16:04                     ` Gottfried
  2022-02-16 17:01                       ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-16 16:04 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

Hello,

thanks for Your email.

I added cups to the service-modules (use-service-modules cups desktop 
networking ssh xorg),

after guix system reconfigure /etc/config.scm

still it says:

*Fehler: cups-service-type: Nicht gebundene Variable (Error: 
cups-service-type: Unbound variable) *I don´t understand what that means.*
*

*I can´t**run: http://localhost:631*

*my printer settings don´t recognise my printer yet.
*

*
*

Gottfried*
*



Am 15.02.22 um 20:51 schrieb Julien Lepiller:
> You're all good. In addition to your modifications, you need to add 
> cups to the list of service modules, at the top of the file:
>
> (use-service-modules cups desktop networking ssh xorg)
>
> HTH!
>
> On February 15, 2022 8:39:30 PM GMT+01:00, Gottfried 
> <gottfried@posteo.de> wrote:
>
>     After:
>
>     (list (service mate-desktop-service-type)
>                 (service enlightenment-desktop-service-type)
>     *(service cups-service-type**
>     **                (cups-configuration**
>     **                    (web-interface? #t)**
>     **                    (extensions (list cups-filters hplip)))) *
>                 (service openssh-service-type)
>                 (service tor-service-type)
>                 (set-xorg-configuration
>                   (xorg-configuration
>                     (keyboard-layout keyboard-layout))))
>           %desktop-services))
>
>     /etc# guix system reconfigure /etc/config.scm
>
>     /etc/config.scm:43:14: Warnung: the 'target' field is deprecated,
>     please use 'targets' instead
>     guix system: Warnung: Vielleicht wollen Sie „guix pull“ ausführen
>     vor „guix system reconfigure“, um
>     aktuelle Pakete und Sicherheitsaktualisierungen zu bekommen.
>
>     guix system: Warnung: Konnte die Provenienz von GNU Guix nicht
>     feststellen
>     Backtrace:
>     In ice-9/boot-9.scm:
>         724:2 19 (call-with-prompt _ _ #<procedure
>     default-prompt-handle…>)
>     In ice-9/eval.scm:
>         619:8 18 (_ #(#(#<directory (guile-user) 7f228c3c8c80>)))
>     In guix/ui.scm:
>        2209:7 17 (run-guix . _)
>       2172:10 16 (run-guix-command _ . _)
>     In ice-9/boot-9.scm:
>       1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
>     In guix/status.scm:
>         822:3 14 (_)
>         802:4 13 (call-with-status-report _ _)
>     In guix/scripts/system.scm:
>        1256:4 12 (_)
>     In ice-9/boot-9.scm:
>       1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
>     In guix/store.scm:
>        658:37 10 (thunk)
>        1320:8  9 (call-with-build-handler #<procedure 7f2287e773c0 at
>     g…> …)
>       2123:24  8 (run-with-store #<store-connection 256.99
>     7f227638a730> …)
>     In guix/scripts/system.scm:
>         827:2  7 (_ _)
>         703:7  6 (_ #<store-connection 256.99 7f227638a730>)
>     In gnu/system.scm:
>       1227:19  5 (operating-system-derivation _)
>        748:11  4 (operating-system-services #<<operating-system>
>     kernel:…>)
>        782:20  3 (services _)
>     In /etc/config.scm:
>         29:33  2 (services #<<operating-system> kernel: #<package
>     linux-…>)
>     In ice-9/boot-9.scm:
>       1685:16  1 (raise-exception _ #:continuable? _)
>       1685:16  0 (raise-exception _ #:continuable? _)
>
>     ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>     *Fehler: cups-service-type: Nicht gebundene Variable*
>
>     root@Tuxedo /etc#
>
>
>     There is still a mistake I guess.
>
>     Thanks for helping, but please deal with it not today anymore.
>     "Lets call it a day".
>
>
>     Gottfried
>
>
>     Am 15.02.22 um 20:17 schrieb Julien Lepiller:
>>     Noticed the issue with what I typed (sorry not a the computer
>>     right now). Type this instead, at the same location:
>>
>>     (service cups-service-type
>>     (cups-configuration
>>     (web-interface? #t)
>>     (extensions (list cups-filters hplip))))
>>
>>     I added a closing parenthesis on the first line that shouldn't be
>>     here, and I forgot to wrap the value of the extensions (now it's
>>     a proper list instead of three values which is an error). Also
>>     check that the last closing parenthesis at the end of the fourth
>>     line closes the first one on the first line and you should be good!
>>
>>
>>     On February 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller
>>     <julien@lepiller.eu> wrote:
>>
>>         Remove one closing parenthesis here: (service cups-service-type)
>>
>>         On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried<gottfried@posteo.de>  wrote:
>>
>>             Hi, I did it, as You said, or did I do something wrong?
>>             because the message was again: */etc/config.scm:25:2:
>>             Fehler: (services (append (list (service
>>             mate-desktop-service-type) (service
>>             enlightenment-desktop-service-type) (service
>>             cups-service-type) (cups-configuration (web-interface?
>>             #t) (extensions list cups-filters hplip))) (service
>>             openssh-service-type) (service tor-service-type)
>>             (set-xorg-configuration (xorg-configuration
>>             (keyboard-layout keyboard-layout)))) %desktop-services):
>>             invalid field specifier* ;; This is an operating system
>>             configuration generated ;; by the graphical installer.
>>             (use-modules (gnu)) (use-service-modules desktop
>>             networking ssh xorg) (operating-system   (locale
>>             "de_DE.utf8")   (timezone "Europe/Berlin")  
>>             (keyboard-layout (keyboard-layout "de"))   (host-name
>>             "Tuxedo")   (users (cons* (user-account                  
>>             (name "gfp")                   (comment "Gfp")
>>                               (group "users")                  
>>             (home-directory "/home/gfp")                  
>>             (supplementary-groups                     '("wheel"
>>             "netdev" "audio" "video")))                
>>             %base-user-accounts))   (packages     (append       (list
>>             (specification->package "awesome")            
>>             (specification->package "nss-certs"))      
>>             %base-packages))   (services     (append       (list
>>             (service mate-desktop-service-type)             (service
>>             enlightenment-desktop-service-type) *(service
>>             cups-service-type)** **               
>>             (cups-configuration** **                   
>>             (web-interface? #t)** **                    (extensions
>>             list cups-filters hplip))) *             (service
>>             openssh-service-type)             (service
>>             tor-service-type)             (set-xorg-configuration
>>                           (xorg-configuration                
>>             (keyboard-layout keyboard-layout))))      
>>             %desktop-services))   (bootloader    
>>             (bootloader-configuration       (bootloader
>>             grub-efi-bootloader)       (target "/boot/efi")      
>>             (keyboard-layout keyboard-layout)))   (swap-devices    
>>             (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>             (file-systems     (cons* (file-system             
>>             (mount-point "/boot/efi")              (device (uuid
>>             "BB77-FE3B" 'fat32))              (type "vfat"))
>>                        (file-system              (mount-point "/")
>>                          (device                (uuid
>>             "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                                  'ext4))              (type "ext4"))
>>                        %base-file-systems))) Gottfried Am 15.02.22 um
>>             19:34 schrieb Julien Lepiller:
>>
>>                 Almost. Right place, wrong parenthesis. Please read
>>                 my first message again and use the snippet I gave
>>                 you. What you add must start with "(service". Make
>>                 sure the parenthesis are exactly at the same place I
>>                 showed you in the example, otherwise you're creating
>>                 separate objects. They're used to group things
>>                 together. service, cups-service-type and its
>>                 configuration need to be in the same group. On
>>                 February 15, 2022 7:29:19 PM GMT+01:00, Gottfried
>>                 <gottfried@posteo.de> wrote: Hi, I did this: ;; This
>>                 is an operating system configuration generated ;; by
>>                 the graphical installer. (use-modules (gnu))
>>                 (use-service-modules desktop networking ssh xorg)
>>                 (operating-system   (locale "de_DE.utf8")   (timezone
>>                 "Europe/Berlin")   (keyboard-layout (keyboard-layout
>>                 "de"))   (host-name "Tuxedo")   (users (cons*
>>                 (user-account                   (name "gfp")
>>                                   (comment "Gfp")                  
>>                 (group "users")                   (home-directory
>>                 "/home/gfp")                   (supplementary-groups
>>                                     '("wheel" "netdev" "audio"
>>                 "video")))                 %base-user-accounts))  
>>                 (packages     (append       (list
>>                 (specification->package "awesome")            
>>                 (specification->package "nss-certs"))      
>>                 %base-packages))   (services     (append       (list
>>                 (service mate-desktop-service-type)            
>>                 (service enlightenment-desktop-service-type)
>>                 *(cups-service-type)** **           
>>                 (cups-configuration)** **            (web-interface?
>>                 #t)** **            (extensions list cups-filters
>>                 hplip))) *             (service openssh-service-type)
>>                             (service tor-service-type)            
>>                 (set-xorg-configuration              
>>                 (xorg-configuration                 (keyboard-layout
>>                 keyboard-layout))))       %desktop-services))  
>>                 (bootloader     (bootloader-configuration      
>>                 (bootloader grub-efi-bootloader)       (target
>>                 "/boot/efi")       (keyboard-layout
>>                 keyboard-layout)))   (swap-devices     (list (uuid
>>                 "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>                 (file-systems     (cons* (file-system             
>>                 (mount-point "/boot/efi")              (device (uuid
>>                 "BB77-FE3B" 'fat32))              (type "vfat"))
>>                            (file-system              (mount-point
>>                 "/")              (device                (uuid
>>                 "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                                      'ext4))              (type
>>                 "ext4"))            %base-file-systems))) *Answer
>>                 was:* */etc/config.scm:25:2: Fehler: (services
>>                 (append (list (service mate-desktop-service-type)
>>                 (service enlightenment-desktop-service-type)
>>                 (cups-service-type) (cups-configuration)
>>                 (web-interface? #t) (extensions list cups-filters
>>                 hplip))) (service openssh-service-type) (service
>>                 tor-service-type) (set-xorg-configuration
>>                 (xorg-configuration (keyboard-layout
>>                 keyboard-layout)))): invalid field specifier *
>>                  Gottfried Am 15.02.22 um 18:44 schrieb Julien Lepiller:
>>
>>                     Hi, I'm sorry if my answer was confusing. Do not
>>                     modify the use-service-modules form. Instead,
>>                     insert the snippet I gave you at the same
>>                     position as the other (service …) forms, for
>>                     instance right below (service
>>                     enlightenment-desktop-service-type) On February
>>                     15, 2022 6:31:46 PM GMT+01:00, Gottfried
>>                     <gottfried@posteo.de> wrote: Hi, I changed my
>>                     /etc/config.scm file,to: ;; This is an operating
>>                     system configuration generated ;; by the
>>                     graphical installer. (use-modules (gnu))
>>                     (use-service-modules desktop networking ssh
>>                     xorg*cups-service-type)****(cups-configuration****(web-interface?
>>                     #t)****(extensions list cups-filters hplip)))***
>>                     (operating-system (locale "de_DE.utf8") (timezone
>>                     "Europe/Berlin") (keyboard-layout
>>                     (keyboard-layout "de")) (host-name "Tuxedo")
>>                     (users (cons* (user-account (name "gfp") (comment
>>                     "Gfp") (group "users") (home-directory
>>                     "/home/gfp") (supplementary-groups '("wheel"
>>                     "netdev" "audio" "video"))) %base-user-accounts))
>>                     (packages (append (list (specification->package
>>                     "awesome") (specification->package "nss-certs"))
>>                     %base-packages)) (services (append (list (service
>>                     mate-desktop-service-type) (service
>>                     enlightenment-desktop-service-type) (service
>>                     openssh-service-type) (service tor-service-type)
>>                     (set-xorg-configuration (xorg-configuration
>>                     (keyboard-layout keyboard-layout))))
>>                     %desktop-services)) (bootloader
>>                     (bootloader-configuration (bootloader
>>                     grub-efi-bootloader) (target "/boot/efi")
>>                     (keyboard-layout keyboard-layout))) (swap-devices
>>                     (list (uuid
>>                     "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>                     (file-systems (cons* (file-system (mount-point
>>                     "/boot/efi") (device (uuid "BB77-FE3B" 'fat32))
>>                     (type "vfat")) (file-system (mount-point "/")
>>                     (device (uuid
>>                     "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" 'ext4))
>>                     (type "ext4")) %base-file-systems))) *The answer
>>                     was:* /etc/config.scm:5:0: Fehler: module (gnu
>>                     services cups-service-type) not found Hinweis:
>>                     Der Befehl `guix system search cups-service-type'
>>                     sucht nach einem zu `cups-service-type' passenden
>>                     Dienst. Wenn Sie eine Ausgabe wie `location:
>>                     gnu/services/foo.scm:188:2' sehen, fügen Sie
>>                     `foo' in Ihre `use-service-modules'-Form ein.
>>                     Gottfried Am 15.02.22 um 17:54 schrieb Julien
>>                     Lepiller:
>>
>>                         Your service specification is not at the
>>                         right place, and incorrect. You have to be
>>                         careful with parenthesis, as they define the
>>                         structure of things (similar to braces in
>>                         other programming languages). The service
>>                         specification needs to be inside the list, at
>>                         the same level as all these (service …)
>>                         forms. In the same way, you declare a service
>>                         with (service foo-service-type
>>                         <configuration>), and the configuration is
>>                         usually a record, so it has parenthesis too.
>>                         For records, you do: (<record-name>
>>                         (<field-name> <field-value>) …) With as many
>>                         fields as you want, as long as they exist. In
>>                         your config, guix found (cups-service-type)
>>                         at the same level as other fields of the
>>                         operating-system, but operating-system
>>                         doesn't support such a field directly, and
>>                         the field does not have a value. Overall, try
>>                         something like this, at the same
>>                         parenthetical level as the other (service …)
>>                         forms. (service cups-service-type)
>>                         (cups-configuration (web-interface? #t)
>>                         (extensions list cups-filters hplip))) HTH!
>>                         On February 15, 2022 5:45:34 PM GMT+01:00,
>>                         Gottfried <gottfried@posteo.de> wrote: Hi, I
>>                         tried to adjust my /etc/config.scm file, but
>>                         I made some mistake. Could anybody help me
>>                         please? here the file: (my changes are in
>>                         bold letters) (I have installed cups,
>>                         cups-filters, hplip in my guix system) ;;
>>                         This is an operating system configuration
>>                         generated ;; by the graphical installer.
>>                         (use-modules (gnu)) (use-service-modules
>>                         desktop networking ssh xorg *cups*)
>>                         (operating-system   (locale "de_DE.utf8")  
>>                         (timezone "Europe/Berlin")   (keyboard-layout
>>                         (keyboard-layout "de"))   (host-name
>>                         "Tuxedo")   (users (cons* (user-account
>>                                           (name "gfp")
>>                                           (comment "Gfp")
>>                                           (group "users")
>>                                           (home-directory
>>                         "/home/gfp")                  
>>                         (supplementary-groups                    
>>                         '("wheel" "netdev" "audio" "video")))
>>                                         %base-user-accounts))  
>>                         (packages     (append       (list
>>                         (specification->package "awesome")
>>                                     (specification->package
>>                         "nss-certs"))       %base-packages))  
>>                         (services     (append       (list (service
>>                         mate-desktop-service-type)            
>>                         (service enlightenment-desktop-service-type)
>>                                     (service openssh-service-type)
>>                                     (service tor-service-type)
>>                                     (set-xorg-configuration
>>                                       (xorg-configuration
>>                                         (keyboard-layout
>>                         keyboard-layout))))       %desktop-services))
>>                         *(cups-service-type)** **           
>>                         (cups-configuration** **           
>>                         (web-interface? #t** **           
>>                         (extensions list cups-filters hplip))))*  
>>                         (bootloader     (bootloader-configuration
>>                               (bootloader grub-efi-bootloader)      
>>                         (target "/boot/efi")       (keyboard-layout
>>                         keyboard-layout)))   (swap-devices     (list
>>                         (uuid
>>                         "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>                         (file-systems     (cons* (file-system
>>                                      (mount-point "/boot/efi")
>>                                      (device (uuid "BB77-FE3B"
>>                         'fat32))              (type "vfat"))
>>                                    (file-system             
>>                         (mount-point "/")              (device
>>                                        (uuid
>>                         "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>                                              'ext4))             
>>                         (type "ext4"))           
>>                         %base-file-systems))) After running: sudo
>>                         guix system reconfigure /etc/config.scm it
>>                         said: 35:16: Fehler: (cups-service-type):
>>                         invalid field specifier Fehler(german word
>>                         means mistake) What do I have to change?
>>                         Gottfried 
>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-16 16:04                     ` Gottfried
@ 2022-02-16 17:01                       ` Julien Lepiller
  2022-02-16 19:40                         ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-16 17:01 UTC (permalink / raw)
  To: Gottfried, help-guix

Can you share again the content of your /etc/config.scm file?

On February 16, 2022 5:04:02 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>Hello,
>
>thanks for Your email.
>
>I added cups to the service-modules (use-service-modules cups desktop 
>networking ssh xorg),
>
>after guix system reconfigure /etc/config.scm
>
>still it says:
>
>*Fehler: cups-service-type: Nicht gebundene Variable (Error: 
>cups-service-type: Unbound variable) *I don´t understand what that means.*
>*
>
>*I can´t**run: http://localhost:631*
>
>*my printer settings don´t recognise my printer yet.
>*
>
>*
>*
>
>Gottfried*
>*
>
>
>
>Am 15.02.22 um 20:51 schrieb Julien Lepiller:
>> You're all good. In addition to your modifications, you need to add 
>> cups to the list of service modules, at the top of the file:
>>
>> (use-service-modules cups desktop networking ssh xorg)
>>
>> HTH!
>>
>> On February 15, 2022 8:39:30 PM GMT+01:00, Gottfried 
>> <gottfried@posteo.de> wrote:
>>
>>     After:
>>
>>     (list (service mate-desktop-service-type)
>>                 (service enlightenment-desktop-service-type)
>>     *(service cups-service-type**
>>     **                (cups-configuration**
>>     **                    (web-interface? #t)**
>>     **                    (extensions (list cups-filters hplip)))) *
>>                 (service openssh-service-type)
>>                 (service tor-service-type)
>>                 (set-xorg-configuration
>>                   (xorg-configuration
>>                     (keyboard-layout keyboard-layout))))
>>           %desktop-services))
>>
>>     /etc# guix system reconfigure /etc/config.scm
>>
>>     /etc/config.scm:43:14: Warnung: the 'target' field is deprecated,
>>     please use 'targets' instead
>>     guix system: Warnung: Vielleicht wollen Sie „guix pull“ ausführen
>>     vor „guix system reconfigure“, um
>>     aktuelle Pakete und Sicherheitsaktualisierungen zu bekommen.
>>
>>     guix system: Warnung: Konnte die Provenienz von GNU Guix nicht
>>     feststellen
>>     Backtrace:
>>     In ice-9/boot-9.scm:
>>         724:2 19 (call-with-prompt _ _ #<procedure
>>     default-prompt-handle…>)
>>     In ice-9/eval.scm:
>>         619:8 18 (_ #(#(#<directory (guile-user) 7f228c3c8c80>)))
>>     In guix/ui.scm:
>>        2209:7 17 (run-guix . _)
>>       2172:10 16 (run-guix-command _ . _)
>>     In ice-9/boot-9.scm:
>>       1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
>>     In guix/status.scm:
>>         822:3 14 (_)
>>         802:4 13 (call-with-status-report _ _)
>>     In guix/scripts/system.scm:
>>        1256:4 12 (_)
>>     In ice-9/boot-9.scm:
>>       1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
>>     In guix/store.scm:
>>        658:37 10 (thunk)
>>        1320:8  9 (call-with-build-handler #<procedure 7f2287e773c0 at
>>     g…> …)
>>       2123:24  8 (run-with-store #<store-connection 256.99
>>     7f227638a730> …)
>>     In guix/scripts/system.scm:
>>         827:2  7 (_ _)
>>         703:7  6 (_ #<store-connection 256.99 7f227638a730>)
>>     In gnu/system.scm:
>>       1227:19  5 (operating-system-derivation _)
>>        748:11  4 (operating-system-services #<<operating-system>
>>     kernel:…>)
>>        782:20  3 (services _)
>>     In /etc/config.scm:
>>         29:33  2 (services #<<operating-system> kernel: #<package
>>     linux-…>)
>>     In ice-9/boot-9.scm:
>>       1685:16  1 (raise-exception _ #:continuable? _)
>>       1685:16  0 (raise-exception _ #:continuable? _)
>>
>>     ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>>     *Fehler: cups-service-type: Nicht gebundene Variable*
>>
>>     root@Tuxedo /etc#
>>
>>
>>     There is still a mistake I guess.
>>
>>     Thanks for helping, but please deal with it not today anymore.
>>     "Lets call it a day".
>>
>>
>>     Gottfried
>>
>>
>>     Am 15.02.22 um 20:17 schrieb Julien Lepiller:
>>>     Noticed the issue with what I typed (sorry not a the computer
>>>     right now). Type this instead, at the same location:
>>>
>>>     (service cups-service-type
>>>     (cups-configuration
>>>     (web-interface? #t)
>>>     (extensions (list cups-filters hplip))))
>>>
>>>     I added a closing parenthesis on the first line that shouldn't be
>>>     here, and I forgot to wrap the value of the extensions (now it's
>>>     a proper list instead of three values which is an error). Also
>>>     check that the last closing parenthesis at the end of the fourth
>>>     line closes the first one on the first line and you should be good!
>>>
>>>
>>>     On February 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller
>>>     <julien@lepiller.eu> wrote:
>>>
>>>         Remove one closing parenthesis here: (service cups-service-type)
>>>
>>>         On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried<gottfried@posteo.de>  wrote:
>>>
>>>             Hi, I did it, as You said, or did I do something wrong?
>>>             because the message was again: */etc/config.scm:25:2:
>>>             Fehler: (services (append (list (service
>>>             mate-desktop-service-type) (service
>>>             enlightenment-desktop-service-type) (service
>>>             cups-service-type) (cups-configuration (web-interface?
>>>             #t) (extensions list cups-filters hplip))) (service
>>>             openssh-service-type) (service tor-service-type)
>>>             (set-xorg-configuration (xorg-configuration
>>>             (keyboard-layout keyboard-layout)))) %desktop-services):
>>>             invalid field specifier* ;; This is an operating system
>>>             configuration generated ;; by the graphical installer.
>>>             (use-modules (gnu)) (use-service-modules desktop
>>>             networking ssh xorg) (operating-system   (locale
>>>             "de_DE.utf8")   (timezone "Europe/Berlin")  
>>>             (keyboard-layout (keyboard-layout "de"))   (host-name
>>>             "Tuxedo")   (users (cons* (user-account                  
>>>             (name "gfp")                   (comment "Gfp")
>>>                               (group "users")                  
>>>             (home-directory "/home/gfp")                  
>>>             (supplementary-groups                     '("wheel"
>>>             "netdev" "audio" "video")))                
>>>             %base-user-accounts))   (packages     (append       (list
>>>             (specification->package "awesome")            
>>>             (specification->package "nss-certs"))      
>>>             %base-packages))   (services     (append       (list
>>>             (service mate-desktop-service-type)             (service
>>>             enlightenment-desktop-service-type) *(service
>>>             cups-service-type)** **               
>>>             (cups-configuration** **                   
>>>             (web-interface? #t)** **                    (extensions
>>>             list cups-filters hplip))) *             (service
>>>             openssh-service-type)             (service
>>>             tor-service-type)             (set-xorg-configuration
>>>                           (xorg-configuration                
>>>             (keyboard-layout keyboard-layout))))      
>>>             %desktop-services))   (bootloader    
>>>             (bootloader-configuration       (bootloader
>>>             grub-efi-bootloader)       (target "/boot/efi")      
>>>             (keyboard-layout keyboard-layout)))   (swap-devices    
>>>             (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>             (file-systems     (cons* (file-system             
>>>             (mount-point "/boot/efi")              (device (uuid
>>>             "BB77-FE3B" 'fat32))              (type "vfat"))
>>>                        (file-system              (mount-point "/")
>>>                          (device                (uuid
>>>             "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                  'ext4))              (type "ext4"))
>>>                        %base-file-systems))) Gottfried Am 15.02.22 um
>>>             19:34 schrieb Julien Lepiller:
>>>
>>>                 Almost. Right place, wrong parenthesis. Please read
>>>                 my first message again and use the snippet I gave
>>>                 you. What you add must start with "(service". Make
>>>                 sure the parenthesis are exactly at the same place I
>>>                 showed you in the example, otherwise you're creating
>>>                 separate objects. They're used to group things
>>>                 together. service, cups-service-type and its
>>>                 configuration need to be in the same group. On
>>>                 February 15, 2022 7:29:19 PM GMT+01:00, Gottfried
>>>                 <gottfried@posteo.de> wrote: Hi, I did this: ;; This
>>>                 is an operating system configuration generated ;; by
>>>                 the graphical installer. (use-modules (gnu))
>>>                 (use-service-modules desktop networking ssh xorg)
>>>                 (operating-system   (locale "de_DE.utf8")   (timezone
>>>                 "Europe/Berlin")   (keyboard-layout (keyboard-layout
>>>                 "de"))   (host-name "Tuxedo")   (users (cons*
>>>                 (user-account                   (name "gfp")
>>>                                   (comment "Gfp")                  
>>>                 (group "users")                   (home-directory
>>>                 "/home/gfp")                   (supplementary-groups
>>>                                     '("wheel" "netdev" "audio"
>>>                 "video")))                 %base-user-accounts))  
>>>                 (packages     (append       (list
>>>                 (specification->package "awesome")            
>>>                 (specification->package "nss-certs"))      
>>>                 %base-packages))   (services     (append       (list
>>>                 (service mate-desktop-service-type)            
>>>                 (service enlightenment-desktop-service-type)
>>>                 *(cups-service-type)** **           
>>>                 (cups-configuration)** **            (web-interface?
>>>                 #t)** **            (extensions list cups-filters
>>>                 hplip))) *             (service openssh-service-type)
>>>                             (service tor-service-type)            
>>>                 (set-xorg-configuration              
>>>                 (xorg-configuration                 (keyboard-layout
>>>                 keyboard-layout))))       %desktop-services))  
>>>                 (bootloader     (bootloader-configuration      
>>>                 (bootloader grub-efi-bootloader)       (target
>>>                 "/boot/efi")       (keyboard-layout
>>>                 keyboard-layout)))   (swap-devices     (list (uuid
>>>                 "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>                 (file-systems     (cons* (file-system             
>>>                 (mount-point "/boot/efi")              (device (uuid
>>>                 "BB77-FE3B" 'fat32))              (type "vfat"))
>>>                            (file-system              (mount-point
>>>                 "/")              (device                (uuid
>>>                 "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                      'ext4))              (type
>>>                 "ext4"))            %base-file-systems))) *Answer
>>>                 was:* */etc/config.scm:25:2: Fehler: (services
>>>                 (append (list (service mate-desktop-service-type)
>>>                 (service enlightenment-desktop-service-type)
>>>                 (cups-service-type) (cups-configuration)
>>>                 (web-interface? #t) (extensions list cups-filters
>>>                 hplip))) (service openssh-service-type) (service
>>>                 tor-service-type) (set-xorg-configuration
>>>                 (xorg-configuration (keyboard-layout
>>>                 keyboard-layout)))): invalid field specifier *
>>>                  Gottfried Am 15.02.22 um 18:44 schrieb Julien Lepiller:
>>>
>>>                     Hi, I'm sorry if my answer was confusing. Do not
>>>                     modify the use-service-modules form. Instead,
>>>                     insert the snippet I gave you at the same
>>>                     position as the other (service …) forms, for
>>>                     instance right below (service
>>>                     enlightenment-desktop-service-type) On February
>>>                     15, 2022 6:31:46 PM GMT+01:00, Gottfried
>>>                     <gottfried@posteo.de> wrote: Hi, I changed my
>>>                     /etc/config.scm file,to: ;; This is an operating
>>>                     system configuration generated ;; by the
>>>                     graphical installer. (use-modules (gnu))
>>>                     (use-service-modules desktop networking ssh
>>>                     xorg*cups-service-type)****(cups-configuration****(web-interface?
>>>                     #t)****(extensions list cups-filters hplip)))***
>>>                     (operating-system (locale "de_DE.utf8") (timezone
>>>                     "Europe/Berlin") (keyboard-layout
>>>                     (keyboard-layout "de")) (host-name "Tuxedo")
>>>                     (users (cons* (user-account (name "gfp") (comment
>>>                     "Gfp") (group "users") (home-directory
>>>                     "/home/gfp") (supplementary-groups '("wheel"
>>>                     "netdev" "audio" "video"))) %base-user-accounts))
>>>                     (packages (append (list (specification->package
>>>                     "awesome") (specification->package "nss-certs"))
>>>                     %base-packages)) (services (append (list (service
>>>                     mate-desktop-service-type) (service
>>>                     enlightenment-desktop-service-type) (service
>>>                     openssh-service-type) (service tor-service-type)
>>>                     (set-xorg-configuration (xorg-configuration
>>>                     (keyboard-layout keyboard-layout))))
>>>                     %desktop-services)) (bootloader
>>>                     (bootloader-configuration (bootloader
>>>                     grub-efi-bootloader) (target "/boot/efi")
>>>                     (keyboard-layout keyboard-layout))) (swap-devices
>>>                     (list (uuid
>>>                     "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>                     (file-systems (cons* (file-system (mount-point
>>>                     "/boot/efi") (device (uuid "BB77-FE3B" 'fat32))
>>>                     (type "vfat")) (file-system (mount-point "/")
>>>                     (device (uuid
>>>                     "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" 'ext4))
>>>                     (type "ext4")) %base-file-systems))) *The answer
>>>                     was:* /etc/config.scm:5:0: Fehler: module (gnu
>>>                     services cups-service-type) not found Hinweis:
>>>                     Der Befehl `guix system search cups-service-type'
>>>                     sucht nach einem zu `cups-service-type' passenden
>>>                     Dienst. Wenn Sie eine Ausgabe wie `location:
>>>                     gnu/services/foo.scm:188:2' sehen, fügen Sie
>>>                     `foo' in Ihre `use-service-modules'-Form ein.
>>>                     Gottfried Am 15.02.22 um 17:54 schrieb Julien
>>>                     Lepiller:
>>>
>>>                         Your service specification is not at the
>>>                         right place, and incorrect. You have to be
>>>                         careful with parenthesis, as they define the
>>>                         structure of things (similar to braces in
>>>                         other programming languages). The service
>>>                         specification needs to be inside the list, at
>>>                         the same level as all these (service …)
>>>                         forms. In the same way, you declare a service
>>>                         with (service foo-service-type
>>>                         <configuration>), and the configuration is
>>>                         usually a record, so it has parenthesis too.
>>>                         For records, you do: (<record-name>
>>>                         (<field-name> <field-value>) …) With as many
>>>                         fields as you want, as long as they exist. In
>>>                         your config, guix found (cups-service-type)
>>>                         at the same level as other fields of the
>>>                         operating-system, but operating-system
>>>                         doesn't support such a field directly, and
>>>                         the field does not have a value. Overall, try
>>>                         something like this, at the same
>>>                         parenthetical level as the other (service …)
>>>                         forms. (service cups-service-type)
>>>                         (cups-configuration (web-interface? #t)
>>>                         (extensions list cups-filters hplip))) HTH!
>>>                         On February 15, 2022 5:45:34 PM GMT+01:00,
>>>                         Gottfried <gottfried@posteo.de> wrote: Hi, I
>>>                         tried to adjust my /etc/config.scm file, but
>>>                         I made some mistake. Could anybody help me
>>>                         please? here the file: (my changes are in
>>>                         bold letters) (I have installed cups,
>>>                         cups-filters, hplip in my guix system) ;;
>>>                         This is an operating system configuration
>>>                         generated ;; by the graphical installer.
>>>                         (use-modules (gnu)) (use-service-modules
>>>                         desktop networking ssh xorg *cups*)
>>>                         (operating-system   (locale "de_DE.utf8")  
>>>                         (timezone "Europe/Berlin")   (keyboard-layout
>>>                         (keyboard-layout "de"))   (host-name
>>>                         "Tuxedo")   (users (cons* (user-account
>>>                                           (name "gfp")
>>>                                           (comment "Gfp")
>>>                                           (group "users")
>>>                                           (home-directory
>>>                         "/home/gfp")                  
>>>                         (supplementary-groups                    
>>>                         '("wheel" "netdev" "audio" "video")))
>>>                                         %base-user-accounts))  
>>>                         (packages     (append       (list
>>>                         (specification->package "awesome")
>>>                                     (specification->package
>>>                         "nss-certs"))       %base-packages))  
>>>                         (services     (append       (list (service
>>>                         mate-desktop-service-type)            
>>>                         (service enlightenment-desktop-service-type)
>>>                                     (service openssh-service-type)
>>>                                     (service tor-service-type)
>>>                                     (set-xorg-configuration
>>>                                       (xorg-configuration
>>>                                         (keyboard-layout
>>>                         keyboard-layout))))       %desktop-services))
>>>                         *(cups-service-type)** **           
>>>                         (cups-configuration** **           
>>>                         (web-interface? #t** **           
>>>                         (extensions list cups-filters hplip))))*  
>>>                         (bootloader     (bootloader-configuration
>>>                               (bootloader grub-efi-bootloader)      
>>>                         (target "/boot/efi")       (keyboard-layout
>>>                         keyboard-layout)))   (swap-devices     (list
>>>                         (uuid
>>>                         "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>                         (file-systems     (cons* (file-system
>>>                                      (mount-point "/boot/efi")
>>>                                      (device (uuid "BB77-FE3B"
>>>                         'fat32))              (type "vfat"))
>>>                                    (file-system             
>>>                         (mount-point "/")              (device
>>>                                        (uuid
>>>                         "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                              'ext4))             
>>>                         (type "ext4"))           
>>>                         %base-file-systems))) After running: sudo
>>>                         guix system reconfigure /etc/config.scm it
>>>                         said: 35:16: Fehler: (cups-service-type):
>>>                         invalid field specifier Fehler(german word
>>>                         means mistake) What do I have to change?
>>>                         Gottfried 
>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-16 17:01                       ` Julien Lepiller
@ 2022-02-16 19:40                         ` Gottfried
  2022-02-16 20:06                           ` Julien Lepiller
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-16 19:40 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

This is the file content of /etc/config.scm file:  (*bold* are my 
printer settings for better finding and reading)


;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(*use-service-modules cups* desktop networking ssh xorg)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
*(service cups-service-type**
**                (cups-configuration**
**                    (web-interface? #t)**
**                    (extensions (list cups-filters hplip)))) *
             (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))

   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))

Am 16.02.22 um 18:01 schrieb Julien Lepiller:
> Can you share again the content of your /etc/config.scm file?
>
> On February 16, 2022 5:04:02 PM GMT+01:00, Gottfried 
> <gottfried@posteo.de> wrote:
>
>     Hello,
>
>     thanks for Your email.
>
>     I added cups to the service-modules (use-service-modules cups
>     desktop networking ssh xorg),
>
>     after guix system reconfigure /etc/config.scm
>
>     still it says:
>
>     *Fehler: cups-service-type: Nicht gebundene Variable (Error:
>     cups-service-type: Unbound variable) *I don´t understand what that
>     means.*
>     *
>
>     *I can´t**run: http://localhost:631*
>
>     *my printer settings don´t recognise my printer yet.
>     *
>
>     *
>     *
>
>     Gottfried*
>     *
>
>
>
>     Am 15.02.22 um 20:51 schrieb Julien Lepiller:
>>     You're all good. In addition to your modifications, you need to
>>     add cups to the list of service modules, at the top of the file:
>>
>>     (use-service-modules cups desktop networking ssh xorg)
>>
>>     HTH!
>>
>>     On February 15, 2022 8:39:30 PM GMT+01:00, Gottfried
>>     <gottfried@posteo.de> wrote:
>>
>>         After:
>>
>>         (list (service mate-desktop-service-type)
>>                     (service enlightenment-desktop-service-type)
>>         *(service cups-service-type**
>>         **                (cups-configuration**
>>         **                    (web-interface? #t)**
>>         **                    (extensions (list cups-filters hplip)))) *
>>                     (service openssh-service-type)
>>                     (service tor-service-type)
>>                     (set-xorg-configuration
>>                       (xorg-configuration
>>                         (keyboard-layout keyboard-layout))))
>>               %desktop-services))
>>
>>         /etc# guix system reconfigure /etc/config.scm
>>
>>         /etc/config.scm:43:14: Warnung: the 'target' field is
>>         deprecated, please use 'targets' instead
>>         guix system: Warnung: Vielleicht wollen Sie „guix pull“
>>         ausführen vor „guix system reconfigure“, um
>>         aktuelle Pakete und Sicherheitsaktualisierungen zu bekommen.
>>
>>         guix system: Warnung: Konnte die Provenienz von GNU Guix
>>         nicht feststellen
>>         Backtrace:
>>         In ice-9/boot-9.scm:
>>             724:2 19 (call-with-prompt _ _ #<procedure
>>         default-prompt-handle…>)
>>         In ice-9/eval.scm:
>>             619:8 18 (_ #(#(#<directory (guile-user) 7f228c3c8c80>)))
>>         In guix/ui.scm:
>>            2209:7 17 (run-guix . _)
>>           2172:10 16 (run-guix-command _ . _)
>>         In ice-9/boot-9.scm:
>>           1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
>>         In guix/status.scm:
>>             822:3 14 (_)
>>             802:4 13 (call-with-status-report _ _)
>>         In guix/scripts/system.scm:
>>            1256:4 12 (_)
>>         In ice-9/boot-9.scm:
>>           1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
>>         In guix/store.scm:
>>            658:37 10 (thunk)
>>            1320:8  9 (call-with-build-handler #<procedure
>>         7f2287e773c0 at g…> …)
>>           2123:24  8 (run-with-store #<store-connection 256.99
>>         7f227638a730> …)
>>         In guix/scripts/system.scm:
>>             827:2  7 (_ _)
>>             703:7  6 (_ #<store-connection 256.99 7f227638a730>)
>>         In gnu/system.scm:
>>           1227:19  5 (operating-system-derivation _)
>>            748:11  4 (operating-system-services #<<operating-system>
>>         kernel:…>)
>>            782:20  3 (services _)
>>         In /etc/config.scm:
>>             29:33  2 (services #<<operating-system> kernel: #<package
>>         linux-…>)
>>         In ice-9/boot-9.scm:
>>           1685:16  1 (raise-exception _ #:continuable? _)
>>           1685:16  0 (raise-exception _ #:continuable? _)
>>
>>         ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>>         *Fehler: cups-service-type: Nicht gebundene Variable*
>>
>>         root@Tuxedo /etc#
>>
>>
>>         There is still a mistake I guess.
>>
>>         Thanks for helping, but please deal with it not today
>>         anymore. "Lets call it a day".
>>
>>
>>         Gottfried
>>
>>
>>         Am 15.02.22 um 20:17 schrieb Julien Lepiller:
>>>         Noticed the issue with what I typed (sorry not a the
>>>         computer right now). Type this instead, at the same location:
>>>
>>>         (service cups-service-type
>>>         (cups-configuration
>>>         (web-interface? #t)
>>>         (extensions (list cups-filters hplip))))
>>>
>>>         I added a closing parenthesis on the first line that
>>>         shouldn't be here, and I forgot to wrap the value of the
>>>         extensions (now it's a proper list instead of three values
>>>         which is an error). Also check that the last closing
>>>         parenthesis at the end of the fourth line closes the first
>>>         one on the first line and you should be good!
>>>
>>>
>>>         On February 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller
>>>         <julien@lepiller.eu> wrote:
>>>
>>>             Remove one closing parenthesis here: (service cups-service-type)
>>>
>>>             On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried<gottfried@posteo.de>  wrote:
>>>
>>>                 Hi, I did it, as You said, or did I do something
>>>                 wrong? because the message was again:
>>>                 */etc/config.scm:25:2: Fehler: (services (append
>>>                 (list (service mate-desktop-service-type) (service
>>>                 enlightenment-desktop-service-type) (service
>>>                 cups-service-type) (cups-configuration
>>>                 (web-interface? #t) (extensions list cups-filters
>>>                 hplip))) (service openssh-service-type) (service
>>>                 tor-service-type) (set-xorg-configuration
>>>                 (xorg-configuration (keyboard-layout
>>>                 keyboard-layout)))) %desktop-services): invalid
>>>                 field specifier* ;; This is an operating system
>>>                 configuration generated ;; by the graphical
>>>                 installer. (use-modules (gnu)) (use-service-modules
>>>                 desktop networking ssh xorg) (operating-system  
>>>                 (locale "de_DE.utf8")   (timezone "Europe/Berlin")  
>>>                 (keyboard-layout (keyboard-layout "de"))  
>>>                 (host-name "Tuxedo")   (users (cons* (user-account
>>>                                   (name "gfp")                  
>>>                 (comment "Gfp")                   (group "users")
>>>                                   (home-directory "/home/gfp")
>>>                                   (supplementary-groups
>>>                                     '("wheel" "netdev" "audio"
>>>                 "video")))                 %base-user-accounts))  
>>>                 (packages     (append       (list
>>>                 (specification->package "awesome")            
>>>                 (specification->package "nss-certs"))      
>>>                 %base-packages))   (services     (append       (list
>>>                 (service mate-desktop-service-type)            
>>>                 (service enlightenment-desktop-service-type)
>>>                 *(service cups-service-type)** **               
>>>                 (cups-configuration** **                   
>>>                 (web-interface? #t)** **                   
>>>                 (extensions list cups-filters hplip))) *            
>>>                 (service openssh-service-type)             (service
>>>                 tor-service-type)            
>>>                 (set-xorg-configuration              
>>>                 (xorg-configuration                 (keyboard-layout
>>>                 keyboard-layout))))       %desktop-services))  
>>>                 (bootloader     (bootloader-configuration      
>>>                 (bootloader grub-efi-bootloader)       (target
>>>                 "/boot/efi")       (keyboard-layout
>>>                 keyboard-layout)))   (swap-devices     (list (uuid
>>>                 "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>                 (file-systems     (cons* (file-system             
>>>                 (mount-point "/boot/efi")              (device (uuid
>>>                 "BB77-FE3B" 'fat32))              (type "vfat"))
>>>                            (file-system              (mount-point
>>>                 "/")              (device                (uuid
>>>                 "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                      'ext4))              (type
>>>                 "ext4"))            %base-file-systems))) Gottfried
>>>                 Am 15.02.22 um 19:34 schrieb Julien Lepiller:
>>>
>>>                     Almost. Right place, wrong parenthesis. Please
>>>                     read my first message again and use the snippet
>>>                     I gave you. What you add must start with
>>>                     "(service". Make sure the parenthesis are
>>>                     exactly at the same place I showed you in the
>>>                     example, otherwise you're creating separate
>>>                     objects. They're used to group things together.
>>>                     service, cups-service-type and its configuration
>>>                     need to be in the same group. On February 15,
>>>                     2022 7:29:19 PM GMT+01:00, Gottfried
>>>                     <gottfried@posteo.de> wrote: Hi, I did this: ;;
>>>                     This is an operating system configuration
>>>                     generated ;; by the graphical installer.
>>>                     (use-modules (gnu)) (use-service-modules desktop
>>>                     networking ssh xorg) (operating-system   (locale
>>>                     "de_DE.utf8")   (timezone "Europe/Berlin")  
>>>                     (keyboard-layout (keyboard-layout "de"))  
>>>                     (host-name "Tuxedo")   (users (cons*
>>>                     (user-account                   (name "gfp")
>>>                                       (comment "Gfp")
>>>                                       (group "users")
>>>                                       (home-directory "/home/gfp")
>>>                                       (supplementary-groups
>>>                                         '("wheel" "netdev" "audio"
>>>                     "video")))                 %base-user-accounts))
>>>                       (packages     (append       (list
>>>                     (specification->package "awesome")            
>>>                     (specification->package "nss-certs"))      
>>>                     %base-packages))   (services     (append      
>>>                     (list (service mate-desktop-service-type)
>>>                                 (service
>>>                     enlightenment-desktop-service-type)
>>>                     *(cups-service-type)** **           
>>>                     (cups-configuration)** **           
>>>                     (web-interface? #t)** **            (extensions
>>>                     list cups-filters hplip))) *            
>>>                     (service openssh-service-type)            
>>>                     (service tor-service-type)            
>>>                     (set-xorg-configuration              
>>>                     (xorg-configuration                
>>>                     (keyboard-layout keyboard-layout))))      
>>>                     %desktop-services))   (bootloader    
>>>                     (bootloader-configuration       (bootloader
>>>                     grub-efi-bootloader)       (target "/boot/efi")
>>>                           (keyboard-layout keyboard-layout)))  
>>>                     (swap-devices     (list (uuid
>>>                     "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>                     (file-systems     (cons* (file-system
>>>                                  (mount-point "/boot/efi")
>>>                                  (device (uuid "BB77-FE3B" 'fat32))
>>>                                  (type "vfat"))           
>>>                     (file-system              (mount-point "/")
>>>                                  (device                (uuid
>>>                     "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                          'ext4))              (type
>>>                     "ext4"))            %base-file-systems)))
>>>                     *Answer was:* */etc/config.scm:25:2: Fehler:
>>>                     (services (append (list (service
>>>                     mate-desktop-service-type) (service
>>>                     enlightenment-desktop-service-type)
>>>                     (cups-service-type) (cups-configuration)
>>>                     (web-interface? #t) (extensions list
>>>                     cups-filters hplip))) (service
>>>                     openssh-service-type) (service tor-service-type)
>>>                     (set-xorg-configuration (xorg-configuration
>>>                     (keyboard-layout keyboard-layout)))): invalid
>>>                     field specifier *  Gottfried Am 15.02.22 um
>>>                     18:44 schrieb Julien Lepiller:
>>>
>>>                         Hi, I'm sorry if my answer was confusing. Do
>>>                         not modify the use-service-modules form.
>>>                         Instead, insert the snippet I gave you at
>>>                         the same position as the other (service …)
>>>                         forms, for instance right below (service
>>>                         enlightenment-desktop-service-type) On
>>>                         February 15, 2022 6:31:46 PM GMT+01:00,
>>>                         Gottfried <gottfried@posteo.de> wrote: Hi, I
>>>                         changed my /etc/config.scm file,to: ;; This
>>>                         is an operating system configuration
>>>                         generated ;; by the graphical installer.
>>>                         (use-modules (gnu)) (use-service-modules
>>>                         desktop networking ssh
>>>                         xorg*cups-service-type)****(cups-configuration****(web-interface?
>>>                         #t)****(extensions list cups-filters
>>>                         hplip)))*** (operating-system (locale
>>>                         "de_DE.utf8") (timezone "Europe/Berlin")
>>>                         (keyboard-layout (keyboard-layout "de"))
>>>                         (host-name "Tuxedo") (users (cons*
>>>                         (user-account (name "gfp") (comment "Gfp")
>>>                         (group "users") (home-directory "/home/gfp")
>>>                         (supplementary-groups '("wheel" "netdev"
>>>                         "audio" "video"))) %base-user-accounts))
>>>                         (packages (append (list
>>>                         (specification->package "awesome")
>>>                         (specification->package "nss-certs"))
>>>                         %base-packages)) (services (append (list
>>>                         (service mate-desktop-service-type) (service
>>>                         enlightenment-desktop-service-type) (service
>>>                         openssh-service-type) (service
>>>                         tor-service-type) (set-xorg-configuration
>>>                         (xorg-configuration (keyboard-layout
>>>                         keyboard-layout)))) %desktop-services))
>>>                         (bootloader (bootloader-configuration
>>>                         (bootloader grub-efi-bootloader) (target
>>>                         "/boot/efi") (keyboard-layout
>>>                         keyboard-layout))) (swap-devices (list (uuid
>>>                         "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>                         (file-systems (cons* (file-system
>>>                         (mount-point "/boot/efi") (device (uuid
>>>                         "BB77-FE3B" 'fat32)) (type "vfat"))
>>>                         (file-system (mount-point "/") (device (uuid
>>>                         "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                         'ext4)) (type "ext4")) %base-file-systems)))
>>>                         *The answer was:* /etc/config.scm:5:0:
>>>                         Fehler: module (gnu services
>>>                         cups-service-type) not found Hinweis: Der
>>>                         Befehl `guix system search
>>>                         cups-service-type' sucht nach einem zu
>>>                         `cups-service-type' passenden Dienst. Wenn
>>>                         Sie eine Ausgabe wie `location:
>>>                         gnu/services/foo.scm:188:2' sehen, fügen Sie
>>>                         `foo' in Ihre `use-service-modules'-Form
>>>                         ein. Gottfried Am 15.02.22 um 17:54 schrieb
>>>                         Julien Lepiller:
>>>
>>>                             Your service specification is not at the
>>>                             right place, and incorrect. You have to
>>>                             be careful with parenthesis, as they
>>>                             define the structure of things (similar
>>>                             to braces in other programming
>>>                             languages). The service specification
>>>                             needs to be inside the list, at the same
>>>                             level as all these (service …) forms. In
>>>                             the same way, you declare a service with
>>>                             (service foo-service-type
>>>                             <configuration>), and the configuration
>>>                             is usually a record, so it has
>>>                             parenthesis too. For records, you do:
>>>                             (<record-name> (<field-name>
>>>                             <field-value>) …) With as many fields as
>>>                             you want, as long as they exist. In your
>>>                             config, guix found (cups-service-type)
>>>                             at the same level as other fields of the
>>>                             operating-system, but operating-system
>>>                             doesn't support such a field directly,
>>>                             and the field does not have a value.
>>>                             Overall, try something like this, at the
>>>                             same parenthetical level as the other
>>>                             (service …) forms. (service
>>>                             cups-service-type) (cups-configuration
>>>                             (web-interface? #t) (extensions list
>>>                             cups-filters hplip))) HTH! On February
>>>                             15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>>                             <gottfried@posteo.de> wrote: Hi, I tried
>>>                             to adjust my /etc/config.scm file, but I
>>>                             made some mistake. Could anybody help me
>>>                             please? here the file: (my changes are
>>>                             in bold letters) (I have installed cups,
>>>                             cups-filters, hplip in my guix system)
>>>                             ;; This is an operating system
>>>                             configuration generated ;; by the
>>>                             graphical installer. (use-modules (gnu))
>>>                             (use-service-modules desktop networking
>>>                             ssh xorg *cups*) (operating-system  
>>>                             (locale "de_DE.utf8")   (timezone
>>>                             "Europe/Berlin")   (keyboard-layout
>>>                             (keyboard-layout "de"))   (host-name
>>>                             "Tuxedo")   (users (cons* (user-account
>>>                                               (name "gfp")
>>>                                               (comment "Gfp")
>>>                                               (group "users")
>>>                                               (home-directory
>>>                             "/home/gfp")                  
>>>                             (supplementary-groups
>>>                                                 '("wheel" "netdev"
>>>                             "audio" "video")))                
>>>                             %base-user-accounts))   (packages    
>>>                             (append       (list
>>>                             (specification->package "awesome")
>>>                                         (specification->package
>>>                             "nss-certs"))       %base-packages))  
>>>                             (services     (append       (list
>>>                             (service mate-desktop-service-type)
>>>                                         (service
>>>                             enlightenment-desktop-service-type)
>>>                                         (service
>>>                             openssh-service-type)            
>>>                             (service tor-service-type)            
>>>                             (set-xorg-configuration              
>>>                             (xorg-configuration                
>>>                             (keyboard-layout keyboard-layout))))
>>>                                   %desktop-services))
>>>                             *(cups-service-type)** **           
>>>                             (cups-configuration** **           
>>>                             (web-interface? #t** **           
>>>                             (extensions list cups-filters hplip))))*
>>>                               (bootloader    
>>>                             (bootloader-configuration      
>>>                             (bootloader grub-efi-bootloader)      
>>>                             (target "/boot/efi")      
>>>                             (keyboard-layout keyboard-layout)))  
>>>                             (swap-devices     (list (uuid
>>>                             "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>                               (file-systems     (cons* (file-system
>>>                                          (mount-point "/boot/efi")
>>>                                          (device (uuid "BB77-FE3B"
>>>                             'fat32))              (type "vfat"))
>>>                                        (file-system             
>>>                             (mount-point "/")              (device
>>>                                            (uuid
>>>                             "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>                                                  'ext4))
>>>                                          (type "ext4"))           
>>>                             %base-file-systems))) After running:
>>>                             sudo guix system reconfigure
>>>                             /etc/config.scm it said: 35:16: Fehler:
>>>                             (cups-service-type): invalid field
>>>                             specifier Fehler(german word means
>>>                             mistake) What do I have to change?
>>>                             Gottfried 
>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-16 19:40                         ` Gottfried
@ 2022-02-16 20:06                           ` Julien Lepiller
  2022-02-16 21:09                             ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Julien Lepiller @ 2022-02-16 20:06 UTC (permalink / raw)
  To: Gottfried, help-guix

I tried your file, but I don't have the same issue. For me it fails with *cups-filters: unbound variable* (instead of cups-service-type). I only had to add this line near the top of the file (line 3):

(use-package-modules cups)

To make it available. Then the system builds.

On February 16, 2022 8:40:44 PM GMT+01:00, Gottfried <gottfried@posteo.de> wrote:
>This is the file content of /etc/config.scm file:  (*bold* are my 
>printer settings for better finding and reading)
>
>
>;; This is an operating system configuration generated
>;; by the graphical installer.
>
>(use-modules (gnu))
>(*use-service-modules cups* desktop networking ssh xorg)
>
>(operating-system
>   (locale "de_DE.utf8")
>   (timezone "Europe/Berlin")
>   (keyboard-layout (keyboard-layout "de"))
>   (host-name "Tuxedo")
>   (users (cons* (user-account
>                   (name "gfp")
>                   (comment "Gfp")
>                   (group "users")
>                   (home-directory "/home/gfp")
>                   (supplementary-groups
>                     '("wheel" "netdev" "audio" "video")))
>                 %base-user-accounts))
>   (packages
>     (append
>       (list (specification->package "awesome")
>             (specification->package "nss-certs"))
>       %base-packages))
>   (services
>     (append
>       (list (service mate-desktop-service-type)
>             (service enlightenment-desktop-service-type)
>*(service cups-service-type**
>**                (cups-configuration**
>**                    (web-interface? #t)**
>**                    (extensions (list cups-filters hplip)))) *
>             (service openssh-service-type)
>             (service tor-service-type)
>             (set-xorg-configuration
>               (xorg-configuration
>                 (keyboard-layout keyboard-layout))))
>       %desktop-services))
>
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/boot/efi")
>       (keyboard-layout keyboard-layout)))
>   (swap-devices
>     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>   (file-systems
>     (cons* (file-system
>              (mount-point "/boot/efi")
>              (device (uuid "BB77-FE3B" 'fat32))
>              (type "vfat"))
>            (file-system
>              (mount-point "/")
>              (device
>                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                      'ext4))
>              (type "ext4"))
>            %base-file-systems)))
>
>Am 16.02.22 um 18:01 schrieb Julien Lepiller:
>> Can you share again the content of your /etc/config.scm file?
>>
>> On February 16, 2022 5:04:02 PM GMT+01:00, Gottfried 
>> <gottfried@posteo.de> wrote:
>>
>>     Hello,
>>
>>     thanks for Your email.
>>
>>     I added cups to the service-modules (use-service-modules cups
>>     desktop networking ssh xorg),
>>
>>     after guix system reconfigure /etc/config.scm
>>
>>     still it says:
>>
>>     *Fehler: cups-service-type: Nicht gebundene Variable (Error:
>>     cups-service-type: Unbound variable) *I don´t understand what that
>>     means.*
>>     *
>>
>>     *I can´t**run: http://localhost:631*
>>
>>     *my printer settings don´t recognise my printer yet.
>>     *
>>
>>     *
>>     *
>>
>>     Gottfried*
>>     *
>>
>>
>>
>>     Am 15.02.22 um 20:51 schrieb Julien Lepiller:
>>>     You're all good. In addition to your modifications, you need to
>>>     add cups to the list of service modules, at the top of the file:
>>>
>>>     (use-service-modules cups desktop networking ssh xorg)
>>>
>>>     HTH!
>>>
>>>     On February 15, 2022 8:39:30 PM GMT+01:00, Gottfried
>>>     <gottfried@posteo.de> wrote:
>>>
>>>         After:
>>>
>>>         (list (service mate-desktop-service-type)
>>>                     (service enlightenment-desktop-service-type)
>>>         *(service cups-service-type**
>>>         **                (cups-configuration**
>>>         **                    (web-interface? #t)**
>>>         **                    (extensions (list cups-filters hplip)))) *
>>>                     (service openssh-service-type)
>>>                     (service tor-service-type)
>>>                     (set-xorg-configuration
>>>                       (xorg-configuration
>>>                         (keyboard-layout keyboard-layout))))
>>>               %desktop-services))
>>>
>>>         /etc# guix system reconfigure /etc/config.scm
>>>
>>>         /etc/config.scm:43:14: Warnung: the 'target' field is
>>>         deprecated, please use 'targets' instead
>>>         guix system: Warnung: Vielleicht wollen Sie „guix pull“
>>>         ausführen vor „guix system reconfigure“, um
>>>         aktuelle Pakete und Sicherheitsaktualisierungen zu bekommen.
>>>
>>>         guix system: Warnung: Konnte die Provenienz von GNU Guix
>>>         nicht feststellen
>>>         Backtrace:
>>>         In ice-9/boot-9.scm:
>>>             724:2 19 (call-with-prompt _ _ #<procedure
>>>         default-prompt-handle…>)
>>>         In ice-9/eval.scm:
>>>             619:8 18 (_ #(#(#<directory (guile-user) 7f228c3c8c80>)))
>>>         In guix/ui.scm:
>>>            2209:7 17 (run-guix . _)
>>>           2172:10 16 (run-guix-command _ . _)
>>>         In ice-9/boot-9.scm:
>>>           1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
>>>         In guix/status.scm:
>>>             822:3 14 (_)
>>>             802:4 13 (call-with-status-report _ _)
>>>         In guix/scripts/system.scm:
>>>            1256:4 12 (_)
>>>         In ice-9/boot-9.scm:
>>>           1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
>>>         In guix/store.scm:
>>>            658:37 10 (thunk)
>>>            1320:8  9 (call-with-build-handler #<procedure
>>>         7f2287e773c0 at g…> …)
>>>           2123:24  8 (run-with-store #<store-connection 256.99
>>>         7f227638a730> …)
>>>         In guix/scripts/system.scm:
>>>             827:2  7 (_ _)
>>>             703:7  6 (_ #<store-connection 256.99 7f227638a730>)
>>>         In gnu/system.scm:
>>>           1227:19  5 (operating-system-derivation _)
>>>            748:11  4 (operating-system-services #<<operating-system>
>>>         kernel:…>)
>>>            782:20  3 (services _)
>>>         In /etc/config.scm:
>>>             29:33  2 (services #<<operating-system> kernel: #<package
>>>         linux-…>)
>>>         In ice-9/boot-9.scm:
>>>           1685:16  1 (raise-exception _ #:continuable? _)
>>>           1685:16  0 (raise-exception _ #:continuable? _)
>>>
>>>         ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>>>         *Fehler: cups-service-type: Nicht gebundene Variable*
>>>
>>>         root@Tuxedo /etc#
>>>
>>>
>>>         There is still a mistake I guess.
>>>
>>>         Thanks for helping, but please deal with it not today
>>>         anymore. "Lets call it a day".
>>>
>>>
>>>         Gottfried
>>>
>>>
>>>         Am 15.02.22 um 20:17 schrieb Julien Lepiller:
>>>>         Noticed the issue with what I typed (sorry not a the
>>>>         computer right now). Type this instead, at the same location:
>>>>
>>>>         (service cups-service-type
>>>>         (cups-configuration
>>>>         (web-interface? #t)
>>>>         (extensions (list cups-filters hplip))))
>>>>
>>>>         I added a closing parenthesis on the first line that
>>>>         shouldn't be here, and I forgot to wrap the value of the
>>>>         extensions (now it's a proper list instead of three values
>>>>         which is an error). Also check that the last closing
>>>>         parenthesis at the end of the fourth line closes the first
>>>>         one on the first line and you should be good!
>>>>
>>>>
>>>>         On February 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller
>>>>         <julien@lepiller.eu> wrote:
>>>>
>>>>             Remove one closing parenthesis here: (service cups-service-type)
>>>>
>>>>             On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried<gottfried@posteo.de>  wrote:
>>>>
>>>>                 Hi, I did it, as You said, or did I do something
>>>>                 wrong? because the message was again:
>>>>                 */etc/config.scm:25:2: Fehler: (services (append
>>>>                 (list (service mate-desktop-service-type) (service
>>>>                 enlightenment-desktop-service-type) (service
>>>>                 cups-service-type) (cups-configuration
>>>>                 (web-interface? #t) (extensions list cups-filters
>>>>                 hplip))) (service openssh-service-type) (service
>>>>                 tor-service-type) (set-xorg-configuration
>>>>                 (xorg-configuration (keyboard-layout
>>>>                 keyboard-layout)))) %desktop-services): invalid
>>>>                 field specifier* ;; This is an operating system
>>>>                 configuration generated ;; by the graphical
>>>>                 installer. (use-modules (gnu)) (use-service-modules
>>>>                 desktop networking ssh xorg) (operating-system  
>>>>                 (locale "de_DE.utf8")   (timezone "Europe/Berlin")  
>>>>                 (keyboard-layout (keyboard-layout "de"))  
>>>>                 (host-name "Tuxedo")   (users (cons* (user-account
>>>>                                   (name "gfp")                  
>>>>                 (comment "Gfp")                   (group "users")
>>>>                                   (home-directory "/home/gfp")
>>>>                                   (supplementary-groups
>>>>                                     '("wheel" "netdev" "audio"
>>>>                 "video")))                 %base-user-accounts))  
>>>>                 (packages     (append       (list
>>>>                 (specification->package "awesome")            
>>>>                 (specification->package "nss-certs"))      
>>>>                 %base-packages))   (services     (append       (list
>>>>                 (service mate-desktop-service-type)            
>>>>                 (service enlightenment-desktop-service-type)
>>>>                 *(service cups-service-type)** **               
>>>>                 (cups-configuration** **                   
>>>>                 (web-interface? #t)** **                   
>>>>                 (extensions list cups-filters hplip))) *            
>>>>                 (service openssh-service-type)             (service
>>>>                 tor-service-type)            
>>>>                 (set-xorg-configuration              
>>>>                 (xorg-configuration                 (keyboard-layout
>>>>                 keyboard-layout))))       %desktop-services))  
>>>>                 (bootloader     (bootloader-configuration      
>>>>                 (bootloader grub-efi-bootloader)       (target
>>>>                 "/boot/efi")       (keyboard-layout
>>>>                 keyboard-layout)))   (swap-devices     (list (uuid
>>>>                 "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>>                 (file-systems     (cons* (file-system             
>>>>                 (mount-point "/boot/efi")              (device (uuid
>>>>                 "BB77-FE3B" 'fat32))              (type "vfat"))
>>>>                            (file-system              (mount-point
>>>>                 "/")              (device                (uuid
>>>>                 "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                                      'ext4))              (type
>>>>                 "ext4"))            %base-file-systems))) Gottfried
>>>>                 Am 15.02.22 um 19:34 schrieb Julien Lepiller:
>>>>
>>>>                     Almost. Right place, wrong parenthesis. Please
>>>>                     read my first message again and use the snippet
>>>>                     I gave you. What you add must start with
>>>>                     "(service". Make sure the parenthesis are
>>>>                     exactly at the same place I showed you in the
>>>>                     example, otherwise you're creating separate
>>>>                     objects. They're used to group things together.
>>>>                     service, cups-service-type and its configuration
>>>>                     need to be in the same group. On February 15,
>>>>                     2022 7:29:19 PM GMT+01:00, Gottfried
>>>>                     <gottfried@posteo.de> wrote: Hi, I did this: ;;
>>>>                     This is an operating system configuration
>>>>                     generated ;; by the graphical installer.
>>>>                     (use-modules (gnu)) (use-service-modules desktop
>>>>                     networking ssh xorg) (operating-system   (locale
>>>>                     "de_DE.utf8")   (timezone "Europe/Berlin")  
>>>>                     (keyboard-layout (keyboard-layout "de"))  
>>>>                     (host-name "Tuxedo")   (users (cons*
>>>>                     (user-account                   (name "gfp")
>>>>                                       (comment "Gfp")
>>>>                                       (group "users")
>>>>                                       (home-directory "/home/gfp")
>>>>                                       (supplementary-groups
>>>>                                         '("wheel" "netdev" "audio"
>>>>                     "video")))                 %base-user-accounts))
>>>>                       (packages     (append       (list
>>>>                     (specification->package "awesome")            
>>>>                     (specification->package "nss-certs"))      
>>>>                     %base-packages))   (services     (append      
>>>>                     (list (service mate-desktop-service-type)
>>>>                                 (service
>>>>                     enlightenment-desktop-service-type)
>>>>                     *(cups-service-type)** **           
>>>>                     (cups-configuration)** **           
>>>>                     (web-interface? #t)** **            (extensions
>>>>                     list cups-filters hplip))) *            
>>>>                     (service openssh-service-type)            
>>>>                     (service tor-service-type)            
>>>>                     (set-xorg-configuration              
>>>>                     (xorg-configuration                
>>>>                     (keyboard-layout keyboard-layout))))      
>>>>                     %desktop-services))   (bootloader    
>>>>                     (bootloader-configuration       (bootloader
>>>>                     grub-efi-bootloader)       (target "/boot/efi")
>>>>                           (keyboard-layout keyboard-layout)))  
>>>>                     (swap-devices     (list (uuid
>>>>                     "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>>                     (file-systems     (cons* (file-system
>>>>                                  (mount-point "/boot/efi")
>>>>                                  (device (uuid "BB77-FE3B" 'fat32))
>>>>                                  (type "vfat"))           
>>>>                     (file-system              (mount-point "/")
>>>>                                  (device                (uuid
>>>>                     "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                                          'ext4))              (type
>>>>                     "ext4"))            %base-file-systems)))
>>>>                     *Answer was:* */etc/config.scm:25:2: Fehler:
>>>>                     (services (append (list (service
>>>>                     mate-desktop-service-type) (service
>>>>                     enlightenment-desktop-service-type)
>>>>                     (cups-service-type) (cups-configuration)
>>>>                     (web-interface? #t) (extensions list
>>>>                     cups-filters hplip))) (service
>>>>                     openssh-service-type) (service tor-service-type)
>>>>                     (set-xorg-configuration (xorg-configuration
>>>>                     (keyboard-layout keyboard-layout)))): invalid
>>>>                     field specifier *  Gottfried Am 15.02.22 um
>>>>                     18:44 schrieb Julien Lepiller:
>>>>
>>>>                         Hi, I'm sorry if my answer was confusing. Do
>>>>                         not modify the use-service-modules form.
>>>>                         Instead, insert the snippet I gave you at
>>>>                         the same position as the other (service …)
>>>>                         forms, for instance right below (service
>>>>                         enlightenment-desktop-service-type) On
>>>>                         February 15, 2022 6:31:46 PM GMT+01:00,
>>>>                         Gottfried <gottfried@posteo.de> wrote: Hi, I
>>>>                         changed my /etc/config.scm file,to: ;; This
>>>>                         is an operating system configuration
>>>>                         generated ;; by the graphical installer.
>>>>                         (use-modules (gnu)) (use-service-modules
>>>>                         desktop networking ssh
>>>>                         xorg*cups-service-type)****(cups-configuration****(web-interface?
>>>>                         #t)****(extensions list cups-filters
>>>>                         hplip)))*** (operating-system (locale
>>>>                         "de_DE.utf8") (timezone "Europe/Berlin")
>>>>                         (keyboard-layout (keyboard-layout "de"))
>>>>                         (host-name "Tuxedo") (users (cons*
>>>>                         (user-account (name "gfp") (comment "Gfp")
>>>>                         (group "users") (home-directory "/home/gfp")
>>>>                         (supplementary-groups '("wheel" "netdev"
>>>>                         "audio" "video"))) %base-user-accounts))
>>>>                         (packages (append (list
>>>>                         (specification->package "awesome")
>>>>                         (specification->package "nss-certs"))
>>>>                         %base-packages)) (services (append (list
>>>>                         (service mate-desktop-service-type) (service
>>>>                         enlightenment-desktop-service-type) (service
>>>>                         openssh-service-type) (service
>>>>                         tor-service-type) (set-xorg-configuration
>>>>                         (xorg-configuration (keyboard-layout
>>>>                         keyboard-layout)))) %desktop-services))
>>>>                         (bootloader (bootloader-configuration
>>>>                         (bootloader grub-efi-bootloader) (target
>>>>                         "/boot/efi") (keyboard-layout
>>>>                         keyboard-layout))) (swap-devices (list (uuid
>>>>                         "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>                         (file-systems (cons* (file-system
>>>>                         (mount-point "/boot/efi") (device (uuid
>>>>                         "BB77-FE3B" 'fat32)) (type "vfat"))
>>>>                         (file-system (mount-point "/") (device (uuid
>>>>                         "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                         'ext4)) (type "ext4")) %base-file-systems)))
>>>>                         *The answer was:* /etc/config.scm:5:0:
>>>>                         Fehler: module (gnu services
>>>>                         cups-service-type) not found Hinweis: Der
>>>>                         Befehl `guix system search
>>>>                         cups-service-type' sucht nach einem zu
>>>>                         `cups-service-type' passenden Dienst. Wenn
>>>>                         Sie eine Ausgabe wie `location:
>>>>                         gnu/services/foo.scm:188:2' sehen, fügen Sie
>>>>                         `foo' in Ihre `use-service-modules'-Form
>>>>                         ein. Gottfried Am 15.02.22 um 17:54 schrieb
>>>>                         Julien Lepiller:
>>>>
>>>>                             Your service specification is not at the
>>>>                             right place, and incorrect. You have to
>>>>                             be careful with parenthesis, as they
>>>>                             define the structure of things (similar
>>>>                             to braces in other programming
>>>>                             languages). The service specification
>>>>                             needs to be inside the list, at the same
>>>>                             level as all these (service …) forms. In
>>>>                             the same way, you declare a service with
>>>>                             (service foo-service-type
>>>>                             <configuration>), and the configuration
>>>>                             is usually a record, so it has
>>>>                             parenthesis too. For records, you do:
>>>>                             (<record-name> (<field-name>
>>>>                             <field-value>) …) With as many fields as
>>>>                             you want, as long as they exist. In your
>>>>                             config, guix found (cups-service-type)
>>>>                             at the same level as other fields of the
>>>>                             operating-system, but operating-system
>>>>                             doesn't support such a field directly,
>>>>                             and the field does not have a value.
>>>>                             Overall, try something like this, at the
>>>>                             same parenthetical level as the other
>>>>                             (service …) forms. (service
>>>>                             cups-service-type) (cups-configuration
>>>>                             (web-interface? #t) (extensions list
>>>>                             cups-filters hplip))) HTH! On February
>>>>                             15, 2022 5:45:34 PM GMT+01:00, Gottfried
>>>>                             <gottfried@posteo.de> wrote: Hi, I tried
>>>>                             to adjust my /etc/config.scm file, but I
>>>>                             made some mistake. Could anybody help me
>>>>                             please? here the file: (my changes are
>>>>                             in bold letters) (I have installed cups,
>>>>                             cups-filters, hplip in my guix system)
>>>>                             ;; This is an operating system
>>>>                             configuration generated ;; by the
>>>>                             graphical installer. (use-modules (gnu))
>>>>                             (use-service-modules desktop networking
>>>>                             ssh xorg *cups*) (operating-system  
>>>>                             (locale "de_DE.utf8")   (timezone
>>>>                             "Europe/Berlin")   (keyboard-layout
>>>>                             (keyboard-layout "de"))   (host-name
>>>>                             "Tuxedo")   (users (cons* (user-account
>>>>                                               (name "gfp")
>>>>                                               (comment "Gfp")
>>>>                                               (group "users")
>>>>                                               (home-directory
>>>>                             "/home/gfp")                  
>>>>                             (supplementary-groups
>>>>                                                 '("wheel" "netdev"
>>>>                             "audio" "video")))                
>>>>                             %base-user-accounts))   (packages    
>>>>                             (append       (list
>>>>                             (specification->package "awesome")
>>>>                                         (specification->package
>>>>                             "nss-certs"))       %base-packages))  
>>>>                             (services     (append       (list
>>>>                             (service mate-desktop-service-type)
>>>>                                         (service
>>>>                             enlightenment-desktop-service-type)
>>>>                                         (service
>>>>                             openssh-service-type)            
>>>>                             (service tor-service-type)            
>>>>                             (set-xorg-configuration              
>>>>                             (xorg-configuration                
>>>>                             (keyboard-layout keyboard-layout))))
>>>>                                   %desktop-services))
>>>>                             *(cups-service-type)** **           
>>>>                             (cups-configuration** **           
>>>>                             (web-interface? #t** **           
>>>>                             (extensions list cups-filters hplip))))*
>>>>                               (bootloader    
>>>>                             (bootloader-configuration      
>>>>                             (bootloader grub-efi-bootloader)      
>>>>                             (target "/boot/efi")      
>>>>                             (keyboard-layout keyboard-layout)))  
>>>>                             (swap-devices     (list (uuid
>>>>                             "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>                               (file-systems     (cons* (file-system
>>>>                                          (mount-point "/boot/efi")
>>>>                                          (device (uuid "BB77-FE3B"
>>>>                             'fat32))              (type "vfat"))
>>>>                                        (file-system             
>>>>                             (mount-point "/")              (device
>>>>                                            (uuid
>>>>                             "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                                                  'ext4))
>>>>                                          (type "ext4"))           
>>>>                             %base-file-systems))) After running:
>>>>                             sudo guix system reconfigure
>>>>                             /etc/config.scm it said: 35:16: Fehler:
>>>>                             (cups-service-type): invalid field
>>>>                             specifier Fehler(german word means
>>>>                             mistake) What do I have to change?
>>>>                             Gottfried 
>>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-16 20:06                           ` Julien Lepiller
@ 2022-02-16 21:09                             ` Gottfried
  2022-02-18  1:39                               ` Gary Johnson
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-16 21:09 UTC (permalink / raw)
  To: Julien Lepiller, help-guix

Unfortunately I don´t understand your answer.

     "I tried your file, but I don't have the same issue. For me it 
fails with *cups-filters: unbound variable* (instead of 
cups-service-type). I only had to add this line near the top of the file 
(line 3):

         (use-package-modules cups)"


Would you be so kind to explain it again?



Am 16.02.22 um 21:06 schrieb Julien Lepiller:
> I tried your file, but I don't have the same issue. For me it fails 
> with *cups-filters: unbound variable* (instead of cups-service-type). 
> I only had to add this line near the top of the file (line 3):
>
> (use-package-modules cups)
>
> To make it available. Then the system builds.
>
> On February 16, 2022 8:40:44 PM GMT+01:00, Gottfried 
> <gottfried@posteo.de> wrote:
>
>     This is the file content of /etc/config.scm file:  (*bold* are my
>     printer settings for better finding and reading)
>
>
>     ;; This is an operating system configuration generated
>     ;; by the graphical installer.
>
>     (use-modules (gnu))
>     (*use-service-modules cups* desktop networking ssh xorg)
>
>     (operating-system
>       (locale "de_DE.utf8")
>       (timezone "Europe/Berlin")
>       (keyboard-layout (keyboard-layout "de"))
>       (host-name "Tuxedo")
>       (users (cons* (user-account
>                       (name "gfp")
>                       (comment "Gfp")
>                       (group "users")
>                       (home-directory "/home/gfp")
>                       (supplementary-groups
>                         '("wheel" "netdev" "audio" "video")))
>                     %base-user-accounts))
>       (packages
>         (append
>           (list (specification->package "awesome")
>                 (specification->package "nss-certs"))
>           %base-packages))
>       (services
>         (append
>           (list (service mate-desktop-service-type)
>                 (service enlightenment-desktop-service-type)
>     *(service cups-service-type**
>     **                (cups-configuration**
>     **                    (web-interface? #t)**
>     **                    (extensions (list cups-filters hplip)))) *
>                 (service openssh-service-type)
>                 (service tor-service-type)
>                 (set-xorg-configuration
>                   (xorg-configuration
>                     (keyboard-layout keyboard-layout))))
>           %desktop-services))
>
>       (bootloader
>         (bootloader-configuration
>           (bootloader grub-efi-bootloader)
>           (target "/boot/efi")
>           (keyboard-layout keyboard-layout)))
>       (swap-devices
>         (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>       (file-systems
>         (cons* (file-system
>                  (mount-point "/boot/efi")
>                  (device (uuid "BB77-FE3B" 'fat32))
>                  (type "vfat"))
>                (file-system
>                  (mount-point "/")
>                  (device
>                    (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>                          'ext4))
>                  (type "ext4"))
>                %base-file-systems)))
>
>     Am 16.02.22 um 18:01 schrieb Julien Lepiller:
>>     Can you share again the content of your /etc/config.scm file?
>>
>>     On February 16, 2022 5:04:02 PM GMT+01:00, Gottfried
>>     <gottfried@posteo.de> wrote:
>>
>>         Hello,
>>
>>         thanks for Your email.
>>
>>         I added cups to the service-modules (use-service-modules cups
>>         desktop networking ssh xorg),
>>
>>         after guix system reconfigure /etc/config.scm
>>
>>         still it says:
>>
>>         *Fehler: cups-service-type: Nicht gebundene Variable (Error:
>>         cups-service-type: Unbound variable) *I don´t understand what
>>         that means.*
>>         *
>>
>>         *I can´t**run: http://localhost:631*
>>
>>         *my printer settings don´t recognise my printer yet.
>>         *
>>
>>         *
>>         *
>>
>>         Gottfried*
>>         *
>>
>>
>>
>>         Am 15.02.22 um 20:51 schrieb Julien Lepiller:
>>>         You're all good. In addition to your modifications, you need
>>>         to add cups to the list of service modules, at the top of
>>>         the file:
>>>
>>>         (use-service-modules cups desktop networking ssh xorg)
>>>
>>>         HTH!
>>>
>>>         On February 15, 2022 8:39:30 PM GMT+01:00, Gottfried
>>>         <gottfried@posteo.de> wrote:
>>>
>>>             After:
>>>
>>>             (list (service mate-desktop-service-type)
>>>                         (service enlightenment-desktop-service-type)
>>>             *(service cups-service-type**
>>>             **                (cups-configuration**
>>>             **                    (web-interface? #t)**
>>>             **                    (extensions (list cups-filters
>>>             hplip)))) *
>>>                         (service openssh-service-type)
>>>                         (service tor-service-type)
>>>                         (set-xorg-configuration
>>>                           (xorg-configuration
>>>                             (keyboard-layout keyboard-layout))))
>>>                   %desktop-services))
>>>
>>>             /etc# guix system reconfigure /etc/config.scm
>>>
>>>             /etc/config.scm:43:14: Warnung: the 'target' field is
>>>             deprecated, please use 'targets' instead
>>>             guix system: Warnung: Vielleicht wollen Sie „guix pull“
>>>             ausführen vor „guix system reconfigure“, um
>>>             aktuelle Pakete und Sicherheitsaktualisierungen zu bekommen.
>>>
>>>             guix system: Warnung: Konnte die Provenienz von GNU Guix
>>>             nicht feststellen
>>>             Backtrace:
>>>             In ice-9/boot-9.scm:
>>>                 724:2 19 (call-with-prompt _ _ #<procedure
>>>             default-prompt-handle…>)
>>>             In ice-9/eval.scm:
>>>                 619:8 18 (_ #(#(#<directory (guile-user)
>>>             7f228c3c8c80>)))
>>>             In guix/ui.scm:
>>>                2209:7 17 (run-guix . _)
>>>               2172:10 16 (run-guix-command _ . _)
>>>             In ice-9/boot-9.scm:
>>>               1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
>>>             In guix/status.scm:
>>>                 822:3 14 (_)
>>>                 802:4 13 (call-with-status-report _ _)
>>>             In guix/scripts/system.scm:
>>>                1256:4 12 (_)
>>>             In ice-9/boot-9.scm:
>>>               1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
>>>             In guix/store.scm:
>>>                658:37 10 (thunk)
>>>                1320:8  9 (call-with-build-handler #<procedure
>>>             7f2287e773c0 at g…> …)
>>>               2123:24  8 (run-with-store #<store-connection 256.99
>>>             7f227638a730> …)
>>>             In guix/scripts/system.scm:
>>>                 827:2  7 (_ _)
>>>                 703:7  6 (_ #<store-connection 256.99 7f227638a730>)
>>>             In gnu/system.scm:
>>>               1227:19  5 (operating-system-derivation _)
>>>                748:11  4 (operating-system-services
>>>             #<<operating-system> kernel:…>)
>>>                782:20  3 (services _)
>>>             In /etc/config.scm:
>>>                 29:33  2 (services #<<operating-system> kernel:
>>>             #<package linux-…>)
>>>             In ice-9/boot-9.scm:
>>>               1685:16  1 (raise-exception _ #:continuable? _)
>>>               1685:16  0 (raise-exception _ #:continuable? _)
>>>
>>>             ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>>>             *Fehler: cups-service-type: Nicht gebundene Variable*
>>>
>>>             root@Tuxedo /etc#
>>>
>>>
>>>             There is still a mistake I guess.
>>>
>>>             Thanks for helping, but please deal with it not today
>>>             anymore. "Lets call it a day".
>>>
>>>
>>>             Gottfried
>>>
>>>
>>>             Am 15.02.22 um 20:17 schrieb Julien Lepiller:
>>>>             Noticed the issue with what I typed (sorry not a the
>>>>             computer right now). Type this instead, at the same
>>>>             location:
>>>>
>>>>             (service cups-service-type
>>>>             (cups-configuration
>>>>             (web-interface? #t)
>>>>             (extensions (list cups-filters hplip))))
>>>>
>>>>             I added a closing parenthesis on the first line that
>>>>             shouldn't be here, and I forgot to wrap the value of
>>>>             the extensions (now it's a proper list instead of three
>>>>             values which is an error). Also check that the last
>>>>             closing parenthesis at the end of the fourth line
>>>>             closes the first one on the first line and you should
>>>>             be good!
>>>>
>>>>
>>>>             On February 15, 2022 8:02:56 PM GMT+01:00, Julien
>>>>             Lepiller <julien@lepiller.eu> wrote:
>>>>
>>>>                 Remove one closing parenthesis here: (service cups-service-type)
>>>>
>>>>                 On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried<gottfried@posteo.de>  wrote:
>>>>
>>>>                     Hi, I did it, as You said, or did I do
>>>>                     something wrong? because the message was again:
>>>>                     */etc/config.scm:25:2: Fehler: (services
>>>>                     (append (list (service
>>>>                     mate-desktop-service-type) (service
>>>>                     enlightenment-desktop-service-type) (service
>>>>                     cups-service-type) (cups-configuration
>>>>                     (web-interface? #t) (extensions list
>>>>                     cups-filters hplip))) (service
>>>>                     openssh-service-type) (service
>>>>                     tor-service-type) (set-xorg-configuration
>>>>                     (xorg-configuration (keyboard-layout
>>>>                     keyboard-layout)))) %desktop-services): invalid
>>>>                     field specifier* ;; This is an operating system
>>>>                     configuration generated ;; by the graphical
>>>>                     installer. (use-modules (gnu))
>>>>                     (use-service-modules desktop networking ssh
>>>>                     xorg) (operating-system   (locale "de_DE.utf8")
>>>>                       (timezone "Europe/Berlin")   (keyboard-layout
>>>>                     (keyboard-layout "de"))   (host-name "Tuxedo")
>>>>                       (users (cons* (user-account                  
>>>>                     (name "gfp")                   (comment "Gfp")
>>>>                                       (group "users")
>>>>                                       (home-directory "/home/gfp")
>>>>                                       (supplementary-groups
>>>>                                         '("wheel" "netdev" "audio"
>>>>                     "video")))                
>>>>                     %base-user-accounts))   (packages     (append
>>>>                           (list (specification->package "awesome")
>>>>                                 (specification->package
>>>>                     "nss-certs"))       %base-packages))  
>>>>                     (services     (append       (list (service
>>>>                     mate-desktop-service-type)             (service
>>>>                     enlightenment-desktop-service-type) *(service
>>>>                     cups-service-type)** **               
>>>>                     (cups-configuration** **                   
>>>>                     (web-interface? #t)** **                   
>>>>                     (extensions list cups-filters hplip))) *   
>>>>                              (service openssh-service-type)
>>>>                                 (service tor-service-type)
>>>>                                 (set-xorg-configuration
>>>>                                   (xorg-configuration
>>>>                                     (keyboard-layout
>>>>                     keyboard-layout))))       %desktop-services))  
>>>>                     (bootloader     (bootloader-configuration      
>>>>                     (bootloader grub-efi-bootloader)       (target
>>>>                     "/boot/efi")       (keyboard-layout
>>>>                     keyboard-layout)))   (swap-devices     (list
>>>>                     (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>                       (file-systems     (cons* (file-system
>>>>                                  (mount-point "/boot/efi")
>>>>                                  (device (uuid "BB77-FE3B" 'fat32))
>>>>                                  (type "vfat"))           
>>>>                     (file-system              (mount-point "/")
>>>>                                  (device                (uuid
>>>>                     "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                                          'ext4))              (type
>>>>                     "ext4"))            %base-file-systems)))
>>>>                     Gottfried Am 15.02.22 um 19:34 schrieb Julien
>>>>                     Lepiller:
>>>>
>>>>                         Almost. Right place, wrong parenthesis.
>>>>                         Please read my first message again and use
>>>>                         the snippet I gave you. What you add must
>>>>                         start with "(service". Make sure the
>>>>                         parenthesis are exactly at the same place I
>>>>                         showed you in the example, otherwise you're
>>>>                         creating separate objects. They're used to
>>>>                         group things together. service,
>>>>                         cups-service-type and its configuration
>>>>                         need to be in the same group. On February
>>>>                         15, 2022 7:29:19 PM GMT+01:00, Gottfried
>>>>                         <gottfried@posteo.de> wrote: Hi, I did
>>>>                         this: ;; This is an operating system
>>>>                         configuration generated ;; by the graphical
>>>>                         installer. (use-modules (gnu))
>>>>                         (use-service-modules desktop networking ssh
>>>>                         xorg) (operating-system   (locale
>>>>                         "de_DE.utf8")   (timezone "Europe/Berlin")
>>>>                           (keyboard-layout (keyboard-layout "de"))
>>>>                           (host-name "Tuxedo")   (users (cons*
>>>>                         (user-account                   (name
>>>>                         "gfp")                   (comment "Gfp")
>>>>                                           (group "users")
>>>>                                           (home-directory
>>>>                         "/home/gfp")                  
>>>>                         (supplementary-groups                    
>>>>                         '("wheel" "netdev" "audio" "video")))
>>>>                                         %base-user-accounts))  
>>>>                         (packages     (append       (list
>>>>                         (specification->package "awesome")
>>>>                                     (specification->package
>>>>                         "nss-certs"))       %base-packages))  
>>>>                         (services     (append       (list (service
>>>>                         mate-desktop-service-type)            
>>>>                         (service
>>>>                         enlightenment-desktop-service-type)
>>>>                         *(cups-service-type)** **           
>>>>                         (cups-configuration)** **           
>>>>                         (web-interface? #t)** **           
>>>>                         (extensions list cups-filters hplip))) *   
>>>>                                  (service openssh-service-type)
>>>>                                     (service tor-service-type)
>>>>                                     (set-xorg-configuration
>>>>                                       (xorg-configuration
>>>>                                         (keyboard-layout
>>>>                         keyboard-layout))))      
>>>>                         %desktop-services))   (bootloader    
>>>>                         (bootloader-configuration       (bootloader
>>>>                         grub-efi-bootloader)       (target
>>>>                         "/boot/efi")       (keyboard-layout
>>>>                         keyboard-layout)))   (swap-devices    
>>>>                         (list (uuid
>>>>                         "51d5cd20-4513-4a02-9e35-df4338eccaa0")))  
>>>>                         (file-systems     (cons* (file-system
>>>>                                      (mount-point "/boot/efi")
>>>>                                      (device (uuid "BB77-FE3B"
>>>>                         'fat32))              (type "vfat"))
>>>>                                    (file-system             
>>>>                         (mount-point "/")              (device
>>>>                                        (uuid
>>>>                         "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                                              'ext4))             
>>>>                         (type "ext4"))           
>>>>                         %base-file-systems))) *Answer was:*
>>>>                         */etc/config.scm:25:2: Fehler: (services
>>>>                         (append (list (service
>>>>                         mate-desktop-service-type) (service
>>>>                         enlightenment-desktop-service-type)
>>>>                         (cups-service-type) (cups-configuration)
>>>>                         (web-interface? #t) (extensions list
>>>>                         cups-filters hplip))) (service
>>>>                         openssh-service-type) (service
>>>>                         tor-service-type) (set-xorg-configuration
>>>>                         (xorg-configuration (keyboard-layout
>>>>                         keyboard-layout)))): invalid field
>>>>                         specifier *  Gottfried Am 15.02.22 um 18:44
>>>>                         schrieb Julien Lepiller:
>>>>
>>>>                             Hi, I'm sorry if my answer was
>>>>                             confusing. Do not modify the
>>>>                             use-service-modules form. Instead,
>>>>                             insert the snippet I gave you at the
>>>>                             same position as the other (service …)
>>>>                             forms, for instance right below
>>>>                             (service
>>>>                             enlightenment-desktop-service-type) On
>>>>                             February 15, 2022 6:31:46 PM GMT+01:00,
>>>>                             Gottfried <gottfried@posteo.de> wrote:
>>>>                             Hi, I changed my /etc/config.scm
>>>>                             file,to: ;; This is an operating system
>>>>                             configuration generated ;; by the
>>>>                             graphical installer. (use-modules
>>>>                             (gnu)) (use-service-modules desktop
>>>>                             networking ssh
>>>>                             xorg*cups-service-type)****(cups-configuration****(web-interface?
>>>>                             #t)****(extensions list cups-filters
>>>>                             hplip)))*** (operating-system (locale
>>>>                             "de_DE.utf8") (timezone
>>>>                             "Europe/Berlin") (keyboard-layout
>>>>                             (keyboard-layout "de")) (host-name
>>>>                             "Tuxedo") (users (cons* (user-account
>>>>                             (name "gfp") (comment "Gfp") (group
>>>>                             "users") (home-directory "/home/gfp")
>>>>                             (supplementary-groups '("wheel"
>>>>                             "netdev" "audio" "video")))
>>>>                             %base-user-accounts)) (packages (append
>>>>                             (list (specification->package
>>>>                             "awesome") (specification->package
>>>>                             "nss-certs")) %base-packages))
>>>>                             (services (append (list (service
>>>>                             mate-desktop-service-type) (service
>>>>                             enlightenment-desktop-service-type)
>>>>                             (service openssh-service-type) (service
>>>>                             tor-service-type)
>>>>                             (set-xorg-configuration
>>>>                             (xorg-configuration (keyboard-layout
>>>>                             keyboard-layout)))) %desktop-services))
>>>>                             (bootloader (bootloader-configuration
>>>>                             (bootloader grub-efi-bootloader)
>>>>                             (target "/boot/efi") (keyboard-layout
>>>>                             keyboard-layout))) (swap-devices (list
>>>>                             (uuid
>>>>                             "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>                             (file-systems (cons* (file-system
>>>>                             (mount-point "/boot/efi") (device (uuid
>>>>                             "BB77-FE3B" 'fat32)) (type "vfat"))
>>>>                             (file-system (mount-point "/") (device
>>>>                             (uuid
>>>>                             "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                             'ext4)) (type "ext4"))
>>>>                             %base-file-systems))) *The answer was:*
>>>>                             /etc/config.scm:5:0: Fehler: module
>>>>                             (gnu services cups-service-type) not
>>>>                             found Hinweis: Der Befehl `guix system
>>>>                             search cups-service-type' sucht nach
>>>>                             einem zu `cups-service-type' passenden
>>>>                             Dienst. Wenn Sie eine Ausgabe wie
>>>>                             `location: gnu/services/foo.scm:188:2'
>>>>                             sehen, fügen Sie `foo' in Ihre
>>>>                             `use-service-modules'-Form ein.
>>>>                             Gottfried Am 15.02.22 um 17:54 schrieb
>>>>                             Julien Lepiller:
>>>>
>>>>                                 Your service specification is not
>>>>                                 at the right place, and incorrect.
>>>>                                 You have to be careful with
>>>>                                 parenthesis, as they define the
>>>>                                 structure of things (similar to
>>>>                                 braces in other programming
>>>>                                 languages). The service
>>>>                                 specification needs to be inside
>>>>                                 the list, at the same level as all
>>>>                                 these (service …) forms. In the
>>>>                                 same way, you declare a service
>>>>                                 with (service foo-service-type
>>>>                                 <configuration>), and the
>>>>                                 configuration is usually a record,
>>>>                                 so it has parenthesis too. For
>>>>                                 records, you do: (<record-name>
>>>>                                 (<field-name> <field-value>) …)
>>>>                                 With as many fields as you want, as
>>>>                                 long as they exist. In your config,
>>>>                                 guix found (cups-service-type) at
>>>>                                 the same level as other fields of
>>>>                                 the operating-system, but
>>>>                                 operating-system doesn't support
>>>>                                 such a field directly, and the
>>>>                                 field does not have a value.
>>>>                                 Overall, try something like this,
>>>>                                 at the same parenthetical level as
>>>>                                 the other (service …) forms.
>>>>                                 (service cups-service-type)
>>>>                                 (cups-configuration (web-interface?
>>>>                                 #t) (extensions list cups-filters
>>>>                                 hplip))) HTH! On February 15, 2022
>>>>                                 5:45:34 PM GMT+01:00, Gottfried
>>>>                                 <gottfried@posteo.de> wrote: Hi, I
>>>>                                 tried to adjust my /etc/config.scm
>>>>                                 file, but I made some mistake.
>>>>                                 Could anybody help me please? here
>>>>                                 the file: (my changes are in bold
>>>>                                 letters) (I have installed cups,
>>>>                                 cups-filters, hplip in my guix
>>>>                                 system) ;; This is an operating
>>>>                                 system configuration generated ;;
>>>>                                 by the graphical installer.
>>>>                                 (use-modules (gnu))
>>>>                                 (use-service-modules desktop
>>>>                                 networking ssh xorg *cups*)
>>>>                                 (operating-system   (locale
>>>>                                 "de_DE.utf8")   (timezone
>>>>                                 "Europe/Berlin")   (keyboard-layout
>>>>                                 (keyboard-layout "de"))  
>>>>                                 (host-name "Tuxedo")   (users
>>>>                                 (cons* (user-account
>>>>                                                   (name "gfp")
>>>>                                                   (comment "Gfp")
>>>>                                                   (group "users")
>>>>                                                   (home-directory
>>>>                                 "/home/gfp")                  
>>>>                                 (supplementary-groups
>>>>                                                     '("wheel"
>>>>                                 "netdev" "audio" "video")))
>>>>                                                
>>>>                                 %base-user-accounts))   (packages
>>>>                                     (append       (list
>>>>                                 (specification->package "awesome")
>>>>                                             (specification->package
>>>>                                 "nss-certs"))      
>>>>                                 %base-packages))   (services    
>>>>                                 (append       (list (service
>>>>                                 mate-desktop-service-type)
>>>>                                             (service
>>>>                                 enlightenment-desktop-service-type)
>>>>                                             (service
>>>>                                 openssh-service-type)            
>>>>                                 (service tor-service-type)
>>>>                                             (set-xorg-configuration
>>>>                                               (xorg-configuration
>>>>                                                 (keyboard-layout
>>>>                                 keyboard-layout))))      
>>>>                                 %desktop-services))
>>>>                                 *(cups-service-type)** **       
>>>>                                     (cups-configuration** **       
>>>>                                     (web-interface? #t** **       
>>>>                                     (extensions list cups-filters
>>>>                                 hplip))))*   (bootloader    
>>>>                                 (bootloader-configuration      
>>>>                                 (bootloader grub-efi-bootloader)
>>>>                                       (target "/boot/efi")      
>>>>                                 (keyboard-layout keyboard-layout)))
>>>>                                   (swap-devices     (list (uuid
>>>>                                 "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>>>>                                   (file-systems     (cons*
>>>>                                 (file-system             
>>>>                                 (mount-point "/boot/efi")
>>>>                                              (device (uuid
>>>>                                 "BB77-FE3B" 'fat32))             
>>>>                                 (type "vfat"))           
>>>>                                 (file-system             
>>>>                                 (mount-point "/")             
>>>>                                 (device                (uuid
>>>>                                 "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
>>>>                                                      'ext4))
>>>>                                              (type "ext4"))
>>>>                                            %base-file-systems)))
>>>>                                 After running: sudo guix system
>>>>                                 reconfigure /etc/config.scm it
>>>>                                 said: 35:16: Fehler:
>>>>                                 (cups-service-type): invalid field
>>>>                                 specifier Fehler(german word means
>>>>                                 mistake) What do I have to change?
>>>>                                 Gottfried 
>>>>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-16 21:09                             ` Gottfried
@ 2022-02-18  1:39                               ` Gary Johnson
  2022-02-18 13:52                                 ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Gary Johnson @ 2022-02-18  1:39 UTC (permalink / raw)
  To: Gottfried; +Cc: Julien Lepiller, help-guix

Lieber Gottfried,

  Schreib genau wie so:


;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-package-modules cups)
(use-service-modules cups desktop networking ssh xorg)

(operating-system
 (locale "de_DE.utf8")
 (timezone "Europe/Berlin")
 (keyboard-layout (keyboard-layout "de"))
 (host-name "Tuxedo")
 (users (cons* (user-account
                (name "gfp")
                (comment "Gfp")
                (group "users")
                (home-directory "/home/gfp")
                (supplementary-groups
                 '("wheel" "netdev" "audio" "video")))
               %base-user-accounts))
 (packages
  (cons* (specification->package "awesome")
         (specification->package "nss-certs")
         %base-packages))
 (services
  (cons* (service mate-desktop-service-type)
         (service enlightenment-desktop-service-type)
         (service cups-service-type
                  (cups-configuration
                   (web-interface? #t)
                   (extensions (list cups-filters hplip))))
         (service openssh-service-type)
         (service tor-service-type)
         (set-xorg-configuration
          (xorg-configuration
           (keyboard-layout keyboard-layout)))
         %desktop-services))
 (bootloader
  (bootloader-configuration
   (bootloader grub-efi-bootloader)
   (targets '("/boot/efi"))
   (keyboard-layout keyboard-layout)))
 (swap-devices
  (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
 (file-systems
  (cons* (file-system
          (mount-point "/boot/efi")
          (device (uuid "BB77-FE3B" 'fat32))
          (type "vfat"))
         (file-system
          (mount-point "/")
          (device (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" 'ext4))
          (type "ext4"))
         %base-file-systems)))


-- 
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-18  1:39                               ` Gary Johnson
@ 2022-02-18 13:52                                 ` Gottfried
  2022-02-18 15:11                                   ` Gary Johnson
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-18 13:52 UTC (permalink / raw)
  To: Gary Johnson; +Cc: help-guix

Hi,
  (I write in English, that more people can understand it)

thanks for Your help, I am one step further, it installed now printer 
settings, I can see a symbol in my MATE Desktop.

But I can`t open it, when clicking on it, nothing happens.

If I click on hplip, also, nothing happens.

In my printer settings, (looked at in Libre Office) there is a generic 
printer available, but I can`t change anything.

So the fight for a printer goes on!

Regards
Gottfried



Am 18.02.22 um 02:39 schrieb Gary Johnson:
> Lieber Gottfried,
> 
>    Schreib genau wie so:
> 
> 
> ;; This is an operating system configuration generated
> ;; by the graphical installer.
> 
> (use-modules (gnu))
> (use-package-modules cups)
> (use-service-modules cups desktop networking ssh xorg)
> 
> (operating-system
>   (locale "de_DE.utf8")
>   (timezone "Europe/Berlin")
>   (keyboard-layout (keyboard-layout "de"))
>   (host-name "Tuxedo")
>   (users (cons* (user-account
>                  (name "gfp")
>                  (comment "Gfp")
>                  (group "users")
>                  (home-directory "/home/gfp")
>                  (supplementary-groups
>                   '("wheel" "netdev" "audio" "video")))
>                 %base-user-accounts))
>   (packages
>    (cons* (specification->package "awesome")
>           (specification->package "nss-certs")
>           %base-packages))
>   (services
>    (cons* (service mate-desktop-service-type)
>           (service enlightenment-desktop-service-type)
>           (service cups-service-type
>                    (cups-configuration
>                     (web-interface? #t)
>                     (extensions (list cups-filters hplip))))
>           (service openssh-service-type)
>           (service tor-service-type)
>           (set-xorg-configuration
>            (xorg-configuration
>             (keyboard-layout keyboard-layout)))
>           %desktop-services))
>   (bootloader
>    (bootloader-configuration
>     (bootloader grub-efi-bootloader)
>     (targets '("/boot/efi"))
>     (keyboard-layout keyboard-layout)))
>   (swap-devices
>    (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
>   (file-systems
>    (cons* (file-system
>            (mount-point "/boot/efi")
>            (device (uuid "BB77-FE3B" 'fat32))
>            (type "vfat"))
>           (file-system
>            (mount-point "/")
>            (device (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" 'ext4))
>            (type "ext4"))
>           %base-file-systems)))
> 
> 





^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: install a Printer
  2022-02-18 13:52                                 ` Gottfried
@ 2022-02-18 15:11                                   ` Gary Johnson
  2022-02-18 17:51                                     ` printer installed, now scanner ? Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Gary Johnson @ 2022-02-18 15:11 UTC (permalink / raw)
  To: Gottfried; +Cc: Julien Lepiller, help-guix

Gottfried <gottfried@posteo.de> writes:

> thanks for Your help, I am one step further, it installed now printer
> settings, I can see a symbol in my MATE Desktop.
>
> But I can`t open it, when clicking on it, nothing happens.
>
> If I click on hplip, also, nothing happens.
>
> In my printer settings, (looked at in Libre Office) there is a generic
> printer available, but I can`t change anything.

Now that you have installed the CUPS service, you should verify that it
is running and then add your printer to it.

1. Verify that the CUPS service is running. Run the command below using
   sudo from your regular (non-root) user account. If you see similar
   output, then CUPS is running.

   $ sudo herd status cups

   Status of cups:
     It is started.
     Running value is 550.
     It is enabled.
     Provides (cups).
     Requires (networking).
     Conflicts with ().
     Will be respawned.

2. Open the CUPS web interface by visiting this URL in your web browser:

   http://localhost:631/

3. Click the "Administration" link in the navbar. You may be prompted to
   log in. You should enter your root user's credentials here. You can
   also reach the same page by simply visiting this URL:

   http://localhost:631/admin

4. Click the "Add Printer" button on this page and follow the prompts to
   install your local printer. Make sure that your printer is turned on
   and plugged into your computer before starting this step.

5. Once you have added your printer, you can click on the "Printers"
   link in the navbar to see it listed. You can also reach this page by
   visiting this URL:

   http://localhost:631/printers/

6. And that's about it. If you want to read more about adding and
   managing printers in CUPS, you can visit the help page at this URL:

   http://localhost:631/help/admin.html


Have fun and happy hacking!
  Gary

-- 
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 27+ messages in thread

* printer installed, now scanner ?
  2022-02-18 15:11                                   ` Gary Johnson
@ 2022-02-18 17:51                                     ` Gottfried
  2022-02-19 22:34                                       ` Gary Johnson
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-18 17:51 UTC (permalink / raw)
  To: Gary Johnson; +Cc: help-guix

Hi,
thanks very much for Your detailed description. Beside me many newcomers 
to guix will be thankful as well.

Now after hours my printer is working. Wonderful
Everything worked as You proposed.

The hp device manager still does n´t work, when I klick on it. On it I 
would be able to choose scanning also.

Next step:
How can I install a scanner, because my printer can also scan.
I installed a scanning program: "simple scan" "xsane" "gimp"  in hoping 
to be able to scan. But it doesn't.

in http://localhost:631 there is no possibility to add a scanning 
programm to my printer.

What can I do?

gottfried



Am 18.02.22 um 16:11 schrieb Gary Johnson:
> Gottfried <gottfried@posteo.de> writes:
> 
>> thanks for Your help, I am one step further, it installed now printer
>> settings, I can see a symbol in my MATE Desktop.
>>
>> But I can`t open it, when clicking on it, nothing happens.
>>
>> If I click on hplip, also, nothing happens.
>>
>> In my printer settings, (looked at in Libre Office) there is a generic
>> printer available, but I can`t change anything.
> 
> Now that you have installed the CUPS service, you should verify that it
> is running and then add your printer to it.
> 
> 1. Verify that the CUPS service is running. Run the command below using
>     sudo from your regular (non-root) user account. If you see similar
>     output, then CUPS is running.
> 
>     $ sudo herd status cups
> 
>     Status of cups:
>       It is started.
>       Running value is 550.
>       It is enabled.
>       Provides (cups).
>       Requires (networking).
>       Conflicts with ().
>       Will be respawned.
> 
> 2. Open the CUPS web interface by visiting this URL in your web browser:
> 
>     http://localhost:631/
> 
> 3. Click the "Administration" link in the navbar. You may be prompted to
>     log in. You should enter your root user's credentials here. You can
>     also reach the same page by simply visiting this URL:
> 
>     http://localhost:631/admin
> 
> 4. Click the "Add Printer" button on this page and follow the prompts to
>     install your local printer. Make sure that your printer is turned on
>     and plugged into your computer before starting this step.
> 
> 5. Once you have added your printer, you can click on the "Printers"
>     link in the navbar to see it listed. You can also reach this page by
>     visiting this URL:
> 
>     http://localhost:631/printers/
> 
> 6. And that's about it. If you want to read more about adding and
>     managing printers in CUPS, you can visit the help page at this URL:
> 
>     http://localhost:631/help/admin.html
> 
> 
> Have fun and happy hacking!
>    Gary
> 




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: printer installed, now scanner ?
  2022-02-18 17:51                                     ` printer installed, now scanner ? Gottfried
@ 2022-02-19 22:34                                       ` Gary Johnson
  2022-02-20 15:13                                         ` Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: Gary Johnson @ 2022-02-19 22:34 UTC (permalink / raw)
  To: Gottfried; +Cc: Julien Lepiller, help-guix

Gottfried <gottfried@posteo.de> writes:

> Next step:
> How can I install a scanner, because my printer can also scan.
> I installed a scanning program: "simple scan" "xsane" "gimp"  in
> hoping to be able to scan. But it doesn't.

Scanning is also a service in Guix, so you will need to configure it in
your config.scm. The Guix info manual is very helpful in answering
questions like this. Here, it looks like the solution is in the manual
on the page called "Printing Services".

The service that you need for scanning is called "sane-service-type". It
looks like it is included by default in the "%desktop-services" list, so
you should already have it installed. However, it looks like you may
need to configure the `sane-backends` variable in your config.scm to
activate scanning for your printer.

Here is the relevant documentation from the manual:

====================================================================

 -- Scheme Variable: sane-service-type
     This service provides access to scanners via SANE
     (http://www.sane-project.org) by installing the necessary udev
     rules.  It is included in ‘%desktop-services’ (*note Desktop
     Services::) and relies by default on ‘sane-backends-minimal’
     package (see below) for hardware support.

 -- Scheme Variable: sane-backends-minimal
     The default package which the ‘sane-service-type’ installs.  It
     supports many recent scanners.

 -- Scheme Variable: sane-backends
     This package includes support for all scanners that
     ‘sane-backends-minimal’ supports, plus older Hewlett-Packard
     scanners supported by ‘hplip’ package.  In order to use this on a
     system which relies on ‘%desktop-services’, you may use
     ‘modify-services’ (*note ‘modify-services’: Service Reference.) as
     illustrated below:

          (use-modules (gnu))
          (use-service-modules
            ...
            desktop)
          (use-package-modules
            ...
            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
            ...
            (services %my-desktop-services))

====================================================================

You should follow the steps in the "sane-backends" example to update
your config.scm file and then rebuild your OS by running this command as
your regular (non-root) user:

$ sudo guix system reconfigure config.scm

Good luck and happy hacking!
  Gary

-- 
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: printer installed, now scanner ?
  2022-02-19 22:34                                       ` Gary Johnson
@ 2022-02-20 15:13                                         ` Gottfried
  2022-02-20 15:45                                           ` SeerLite
  0 siblings, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-20 15:13 UTC (permalink / raw)
  To: Gary Johnson; +Cc: help-guix

I found the printing documentation in the manual already, but I didn´t 
understand exactly what I have to do practically.
That´s why, I wrote this email.

I tried several times to configure /etc/config.scm according to your 
email, but it failed. I have problems to understand yet the manual
(It seems to me the manual is written for people who have already a 
degree in computers)

this is my config.scm file:
what do I have to add exactly and where?


;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-package-modules cups)
(use-service-modules cups desktop networking ssh xorg)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))			
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
			(service cups-service-type
				(cups-configuration
					(web-interface? #t)
					(extensions (list cups-filters hplip))))			
			(service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))
		
   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))

gottfried



Am 19.02.22 um 23:34 schrieb Gary Johnson:
> Gottfried <gottfried@posteo.de> writes:
> 
>> Next step:
>> How can I install a scanner, because my printer can also scan.
>> I installed a scanning program: "simple scan" "xsane" "gimp"  in
>> hoping to be able to scan. But it doesn't.
> 
> Scanning is also a service in Guix, so you will need to configure it in
> your config.scm. The Guix info manual is very helpful in answering
> questions like this. Here, it looks like the solution is in the manual
> on the page called "Printing Services".
> 
> The service that you need for scanning is called "sane-service-type". It
> looks like it is included by default in the "%desktop-services" list, so
> you should already have it installed. However, it looks like you may
> need to configure the `sane-backends` variable in your config.scm to
> activate scanning for your printer.
> 
> Here is the relevant documentation from the manual:
> 
> ====================================================================
> 
>   -- Scheme Variable: sane-service-type
>       This service provides access to scanners via SANE
>       (http://www.sane-project.org) by installing the necessary udev
>       rules.  It is included in ‘%desktop-services’ (*note Desktop
>       Services::) and relies by default on ‘sane-backends-minimal’
>       package (see below) for hardware support.
> 
>   -- Scheme Variable: sane-backends-minimal
>       The default package which the ‘sane-service-type’ installs.  It
>       supports many recent scanners.
> 
>   -- Scheme Variable: sane-backends
>       This package includes support for all scanners that
>       ‘sane-backends-minimal’ supports, plus older Hewlett-Packard
>       scanners supported by ‘hplip’ package.  In order to use this on a
>       system which relies on ‘%desktop-services’, you may use
>       ‘modify-services’ (*note ‘modify-services’: Service Reference.) as
>       illustrated below:
> 
>            (use-modules (gnu))
>            (use-service-modules
>              ...
>              desktop)
>            (use-package-modules
>              ...
>              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
>              ...
>              (services %my-desktop-services))
> 
> ====================================================================
> 
> You should follow the steps in the "sane-backends" example to update
> your config.scm file and then rebuild your OS by running this command as
> your regular (non-root) user:
> 
> $ sudo guix system reconfigure config.scm
> 
> Good luck and happy hacking!
>    Gary
> 


--



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: printer installed, now scanner ?
  2022-02-20 15:13                                         ` Gottfried
@ 2022-02-20 15:45                                           ` SeerLite
  2022-02-20 16:20                                             ` Gottfried
  2022-02-20 17:25                                             ` Gottfried
  0 siblings, 2 replies; 27+ messages in thread
From: SeerLite @ 2022-02-20 15:45 UTC (permalink / raw)
  To: Gottfried, Gary Johnson; +Cc: help-guix

On 2/20/22 11:13, Gottfried wrote:
> what do I have to add exactly and where?

Hi! You have to *replace* %desktop-services in your file with the 
example usage of modify-services from the manual that Gary sent in his 
previous email.

This:

     %desktop-services

has to become this:

     (modify-services %desktop-services
       (sane-service-type _ => sane-backends))

Additionally, you have to import the right module that contains the 
sane-backends package. So you'll have to add "scanner" to your 
use-package-modules line at the top.


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: printer installed, now scanner ?
  2022-02-20 15:45                                           ` SeerLite
@ 2022-02-20 16:20                                             ` Gottfried
  2022-02-20 17:25                                             ` Gottfried
  1 sibling, 0 replies; 27+ messages in thread
From: Gottfried @ 2022-02-20 16:20 UTC (permalink / raw)
  To: SeerLite, Gary Johnson; +Cc: help-guix

thanks,

I tried this

and the message was:

  /etc/config.scm:61:1: schließende Klammer fehlt    (in english: 
closing bracket is missing)

what means 61:1:
where do I have to add a bracket?

gottfried


Am 20.02.22 um 16:45 schrieb SeerLite:
> On 2/20/22 11:13, Gottfried wrote:
>> what do I have to add exactly and where?
> 
> Hi! You have to *replace* %desktop-services in your file with the 
> example usage of modify-services from the manual that Gary sent in his 
> previous email.
> 
> This:
> 
>      %desktop-services
> 
> has to become this:
> 
>      (modify-services %desktop-services
>        (sane-service-type _ => sane-backends))
> 
> Additionally, you have to import the right module that contains the 
> sane-backends package. So you'll have to add "scanner" to your 
> use-package-modules line at the top.


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: printer installed, now scanner ?
  2022-02-20 15:45                                           ` SeerLite
  2022-02-20 16:20                                             ` Gottfried
@ 2022-02-20 17:25                                             ` Gottfried
  2022-02-20 19:57                                               ` SeerLite
  1 sibling, 1 reply; 27+ messages in thread
From: Gottfried @ 2022-02-20 17:25 UTC (permalink / raw)
  To: SeerLite, Gary Johnson; +Cc: help-guix

Hi,

Below is my config.scm: it has 60 lines (if the 61:1 refers to a line???)

after: sudo guix system reconfigure /etc/config.scm

this message:

/etc/config.scm:61:1: schließende Klammer fehlt  (in English closing 
bracket is missing)

I don`t know where is the missing bracket?

Gottfried



;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))			
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
			(service cups-service-type
				(cups-configuration
					(web-interface? #t)
					(extensions (list cups-filters hplip))))			
			(service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       (modify-services %desktop-services
		(sane-service-type _ => sane-backends))
		
   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))





Am 20.02.22 um 16:45 schrieb SeerLite:
> On 2/20/22 11:13, Gottfried wrote:
>> what do I have to add exactly and where?
> 
> Hi! You have to *replace* %desktop-services in your file with the 
> example usage of modify-services from the manual that Gary sent in his 
> previous email.
> 
> This:
> 
>      %desktop-services
> 
> has to become this:
> 
>      (modify-services %desktop-services
>        (sane-service-type _ => sane-backends))
> 
> Additionally, you have to import the right module that contains the 
> sane-backends package. So you'll have to add "scanner" to your 
> use-package-modules line at the top.




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: printer installed, now scanner ?
  2022-02-20 17:25                                             ` Gottfried
@ 2022-02-20 19:57                                               ` SeerLite
  2022-02-21 17:13                                                 ` scanner Gottfried
  0 siblings, 1 reply; 27+ messages in thread
From: SeerLite @ 2022-02-20 19:57 UTC (permalink / raw)
  To: Gottfried, Gary Johnson; +Cc: help-guix

On 2/20/22 13:25, Gottfried wrote:
> Hi,
> 
> Below is my config.scm: it has 60 lines (if the 61:1 refers to a line???)
> 
> after: sudo guix system reconfigure /etc/config.scm
> 
> this message:
> 
> /etc/config.scm:61:1: schließende Klammer fehlt  (in English closing 
> bracket is missing)
> 
> I don`t know where is the missing bracket?

You're missing 2 closing parentheses here:

>    (services
>      (append
>        (list (service mate-desktop-service-type)
>              (service enlightenment-desktop-service-type)
>              (service cups-service-type
>                  (cups-configuration
>                      (web-interface? #t)
>                      (extensions (list cups-filters hplip))))
>              (service openssh-service-type)
>              (service tor-service-type)
>              (set-xorg-configuration
>                (xorg-configuration
>                  (keyboard-layout keyboard-layout))))
>        (modify-services %desktop-services
>          (sane-service-type _ => sane-backends))

One to close the "(append" and another one to close the "(services". We 
need these because otherwise Guile doesn't know where your _append_ 
stops and where your _services_ stop. It will continue reading 
everything as if it's part of the "append", when it actually has to 
close inside of services.

Does that make sense?

I hope you're able to get it working this time! :)

SeerLite


^ permalink raw reply	[flat|nested] 27+ messages in thread

* scanner
  2022-02-20 19:57                                               ` SeerLite
@ 2022-02-21 17:13                                                 ` Gottfried
  0 siblings, 0 replies; 27+ messages in thread
From: Gottfried @ 2022-02-21 17:13 UTC (permalink / raw)
  To: SeerLite, Gary Johnson; +Cc: help-guix

Am 20.02.22 um 20:57 schrieb SeerLite:
> On 2/20/22 13:25, Gottfried wrote:
>> Hi,
>>
>> Below is my config.scm: it has 60 lines (if the 61:1 refers to a line???)
>>
>> after: sudo guix system reconfigure /etc/config.scm
>>
>> this message:
>>
>> /etc/config.scm:61:1: schließende Klammer fehlt  (in English closing 
>> bracket is missing)
>>
>> I don`t know where is the missing bracket?
> 
> You're missing 2 closing parentheses here:
> 
>>    (services
>>      (append
>>        (list (service mate-desktop-service-type)
>>              (service enlightenment-desktop-service-type)
>>              (service cups-service-type
>>                  (cups-configuration
>>                      (web-interface? #t)
>>                      (extensions (list cups-filters hplip))))
>>              (service openssh-service-type)
>>              (service tor-service-type)
>>              (set-xorg-configuration
>>                (xorg-configuration
>>                  (keyboard-layout keyboard-layout))))
>>        (modify-services %desktop-services
>>          (sane-service-type _ => sane-backends))
> 
> One to close the "(append" and another one to close the "(services". We 
> need these because otherwise Guile doesn't know where your _append_ 
> stops and where your _services_ stop. It will continue reading 
> everything as if it's part of the "append", when it actually has to 
> close inside of services.
> 
> Does that make sense?
> 
> I hope you're able to get it working this time! :)
> 
> SeerLite

Hi,
does it mean that I have to add to the last words "sane-backends" 
instead of 2 brackets 4 brackets?
This is, what I understood.
gottfried


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2022-02-21 17:25 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-15 16:45 install a Printer Gottfried
2022-02-15 16:54 ` Julien Lepiller
2022-02-15 17:31   ` Gottfried
2022-02-15 17:44     ` Julien Lepiller
2022-02-15 18:29       ` Gottfried
2022-02-15 18:34         ` Julien Lepiller
2022-02-15 18:59           ` Gottfried
2022-02-15 19:02             ` Julien Lepiller
2022-02-15 19:17               ` Julien Lepiller
2022-02-15 19:39                 ` Gottfried
2022-02-15 19:51                   ` Julien Lepiller
2022-02-16 16:04                     ` Gottfried
2022-02-16 17:01                       ` Julien Lepiller
2022-02-16 19:40                         ` Gottfried
2022-02-16 20:06                           ` Julien Lepiller
2022-02-16 21:09                             ` Gottfried
2022-02-18  1:39                               ` Gary Johnson
2022-02-18 13:52                                 ` Gottfried
2022-02-18 15:11                                   ` Gary Johnson
2022-02-18 17:51                                     ` printer installed, now scanner ? Gottfried
2022-02-19 22:34                                       ` Gary Johnson
2022-02-20 15:13                                         ` Gottfried
2022-02-20 15:45                                           ` SeerLite
2022-02-20 16:20                                             ` Gottfried
2022-02-20 17:25                                             ` Gottfried
2022-02-20 19:57                                               ` SeerLite
2022-02-21 17:13                                                 ` scanner Gottfried

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).