Hello!

I run Wayland + Gnome on my Guix OS. (See attached files for detailed configuration)

Q1. How do I Lock Screen?

Q2. How do I take Screenshots?

Q3. Should I not bother with Wayland and use X11 (or whatever that's called that is the default)?     I started to use Wayland because there was significant lag in repeated (that happens automatically when a key is pressed for a few seconds)  keystrokes in terminal applications.

Many thanks in advance!

-Yasu
Generation 1023 Jan 29 2022 10:24:12    (current)
  low-standard-guix 8ef3fc7
    repository URL: https://github.com/yugawara/low-standard-guix.git
    branch: master
    commit: 8ef3fc77429429fc90de1e7112d394343eafbf35
  nonguix d88b85a
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: d88b85aeb22c60dd2ed702a9fad740da8f351dc5
  guix f15ca33
    repository URL: https://github.com/guix-mirror/guix.git
    branch: master
    commit: f15ca337bec89f238b9b9ced08c2e02c35629a33
  pantherx a38f36f
    repository URL: https://channels.pantherx.org/git/pantherx-extra.git
    branch: rolling
    commit: a38f36f864a50ed006b61a4b3e581fc2d735f828
  nongnu f8a6a35
    repository URL: https://channels.pantherx.org/git/nongnu.git
    branch: rolling
    commit: f8a6a35e6aaaa95ed89098fdd4f02fe65352d8ac
(use-modules
 (gnu)
 (gnu system nss)
 (gnu services sddm)
 (srfi srfi-1)

 (nongnu packages linux)
 (nongnu system linux-initrd)
 )
(use-service-modules networking ssh)
(use-service-modules desktop xorg)
(use-package-modules certs gnome)
(use-service-modules nix)
(use-package-modules package-management)

(operating-system

 (kernel linux)
 (initrd microcode-initrd)
 (firmware (list linux-firmware))

 (host-name "guix")
 (timezone "Asia/Tokyo")
 (locale "en_US.utf8")

 (sudoers-file
  (plain-file "sudoers"
	      (string-append (plain-file-content %sudoers-specification)
			     "yasu ALL = NOPASSWD: ALL\n")))

 (keyboard-layout (keyboard-layout "us"))

 (bootloader (bootloader-configuration
	      (bootloader grub-efi-bootloader)
	      (targets (list "/boot/efi"))
	      (keyboard-layout keyboard-layout)))

 (file-systems (append
		(list (file-system
		       (device (file-system-label "my-root"))
		       (mount-point "/")
		       (type "ext4")
		       )
		      (file-system
		       (device (uuid "C2D0-0B91" 'fat))
		       (mount-point "/boot/efi")
		       (type "vfat")))
		%base-file-systems))
 (swap-devices (list 
		 (swap-space
		 (priority 50)
		 (target "/dev/nvme0n1p3"))))

 (users (cons (user-account
	       (name "yasu")
	       (comment "yasu")
	       (group "users")
	       (supplementary-groups '("wheel" "netdev"
				       "audio" "video")))
	      %base-user-accounts))

 (packages (append (list
		    ;;nix
		    ;; for HTTPS access
		    nss-certs
		    ;; for user mounts
		    gvfs)
		   %base-packages))

 (services (cons*
	    (service openssh-service-type
		     (openssh-configuration
		      (x11-forwarding? #t)
		      (permit-root-login 'prohibit-password)
		      (password-authentication? #f)
		      (authorized-keys
		       `(("yasu" ,
			  (local-file "/home/yasu/.ssh/id_rsa.pub") ,
			  (local-file "iphone-yasu.pub")
			  )
			 ))))
	    (service gnome-desktop-service-type)
					;(service mate-desktop-service-type)
					;(service xfce-desktop-service-type)
	    (service sddm-service-type
		     (sddm-configuration
		      (display-server "wayland")
		      (remember-last-user? #t)
		      ))
					;(service nix-service-type)

	    (modify-services
	     (remove (lambda (service)
		       (member (service-kind service)
			       (list gdm-service-type)))
		     %desktop-services) ;end of remove lambda services

	     )	;;end of modify-services
	    ))	;;end of services

 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss))

Reply via email to