unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Quiliro Ordonez <quiliro@riseup.net>
To: help-guix@gnu.org
Subject: keyboaard-layoout problem on gdm login
Date: Sun, 31 Mar 2019 09:52:42 -0700	[thread overview]
Message-ID: <41b45c6b804a5ae33204b541b932c14a@riseup.net> (raw)

Hello:

Thank you so much for incorporating keyboard-layout. It saved me from
connecting 2 keyboards all the time. They kept stumbling to the floor
and chipping off pieces of plastic (which made my keyboards look like
very old or render one of them unsusable) and losing keys (which i only
had to press back in). 


I have tested console keyboard-layout and it is great. I have not tested
GrUB yet. Gnome Login Manager does not work. I have problems with my
desktop-full.scm reconfigure file.

On the pasted file below I have commented the part which will not work
unless I add xorg to the use-modules section:
- (use-modules (gnu) (gnu system nss))
+ (use-modules (gnu) (gnu system nss xorg)

... in order to make the following be accepted:
+ (keyboard-layout (keyboard-layout "es" "dvorak"))  ;for the console
[...]
 (services (cons*
[...]
+ (modify-services %desktop-services
+  	  	     (gdm-service-type config =>
+  	  			       (gdm-configuration
+  	  				(inherit config)
+  	  				(xorg-configuration
+  	  				 (xorg-configuration             ;for Xorg
+  	  				  (keyboard-layout keyboard-layout))))))))+ 
-   	  	   %desktop-services))

But GDM will still not use dvorak-es.



Here is my current desktop-full.scm:

;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system
 (host-name "GSD3")
 (timezone "America/Guayaquil")
 (locale "es_EC.UTF-8")
 (keyboard-layout (keyboard-layout "es" "dvorak"))  ;for the console
 
 ;; Use the BIOS variant of GRUB
 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (target "/dev/sda")
	      (keyboard-layout keyboard-layout))) ;for GRUB
 
 (file-systems (cons*
		(file-system
		 (device (uuid "021e4962-a7e2-4996-a2d7-b746df956172"))
		 (mount-point "/")
		 (type "ext4"))
		(file-system
		 (device (uuid "6e8ca224-ab9b-476b-98b0-c0b22a172577"))
		 (mount-point "/home/quiliro/respaldos")
		 (type "ext4"))
                %base-file-systems))
 
 (swap-devices '("/dev/sda1"))
 
 (users (cons*
         [...]
         %base-user-accounts))
 
 ;; This is where we specify system-wide packages.
 (packages (append (list
		    nss-certs          ;for HTTPS access
		    gvfs)              ;for user mounts
		   %base-packages))

 ;; Add GNOME and/or Xfce---we can choose at the log-in
 ;; screen with F1.  Use the "desktop" services, which
 ;; include the X11 log-in service, networking with
 ;; NetworkManager, and more.
 (services (cons*
	    (gnome-desktop-service)
            (xfce-desktop-service)
	    ;; (modify-services %desktop-services
	    ;; 	  	     (gdm-service-type config =>
	    ;; 	  			       (gdm-configuration
	    ;; 	  				(inherit config)
	    ;; 	  				(xorg-configuration
	    ;; 	  				 (xorg-configuration             ;for Xorg
	    ;; 	  				  (keyboard-layout keyboard-layout))))))))
	    %desktop-services))
 
 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss))

             reply	other threads:[~2019-03-31 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-31 16:52 Quiliro Ordonez [this message]
2019-04-03 15:32 ` keyboaard-layoout problem on gdm login Ludovic Courtès
2019-04-03 20:05   ` Quiliro Ordonez

Reply instructions:

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

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

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

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

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

  git send-email \
    --in-reply-to=41b45c6b804a5ae33204b541b932c14a@riseup.net \
    --to=quiliro@riseup.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

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

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