* No dvorak in window manager
@ 2018-06-17 23:00 Luther Thompson
2018-06-18 13:25 ` Joshua Branson
2018-06-20 18:35 ` Nils Gillmann
0 siblings, 2 replies; 4+ messages in thread
From: Luther Thompson @ 2018-06-17 23:00 UTC (permalink / raw)
To: help-guix
I installed GuixSD today. When I boot up, both the login manager and
the desktop session use qwerty. I do see dvorak when I hit Ctrl+Alt+F2
for a non-window console. `loadkeys dvorak` has no effect in either
place. Here is my OS definition:
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome)
(operating-system
(host-name "targaryen")
(timezone "America/New_York")
(locale "en_US.utf8")
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
(file-systems (cons (file-system
(device "my-root")
(mount-point "/")
(type "ext4")
(title 'label))
%base-file-systems))
(users (cons (user-account
(name "luther")
(comment "Luther Thompson")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/luther"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* 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 Wicd,
;; and more.
(services (cons* (console-keymap-service "dvorak")
(gnome-desktop-service)
(xfce-desktop-service)
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss)
(swap-devices '("/swapfile")))
--
Luther Thompson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No dvorak in window manager
2018-06-17 23:00 No dvorak in window manager Luther Thompson
@ 2018-06-18 13:25 ` Joshua Branson
2018-06-19 4:56 ` Luther Thompson
2018-06-20 18:35 ` Nils Gillmann
1 sibling, 1 reply; 4+ messages in thread
From: Joshua Branson @ 2018-06-18 13:25 UTC (permalink / raw)
To: help-guix
Luther Thompson <lutheroto@gmail.com> writes:
> I installed GuixSD today. When I boot up, both the login manager and
> the desktop session use qwerty. I do see dvorak when I hit Ctrl+Alt+F2
> for a non-window console. `loadkeys dvorak` has no effect in either
> place. Here is my OS definition:
>
I've had a similar problem. I know that there are a couple of solutions
floating around. I think one of them my be using setxkbmap...Or
possibly configuring X to prefer the dvorak layout...
I personally never figured that issue out. Right now I'm running
Parabola GNU/Linux-libre, and I've got guix installed on it...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No dvorak in window manager
2018-06-18 13:25 ` Joshua Branson
@ 2018-06-19 4:56 ` Luther Thompson
0 siblings, 0 replies; 4+ messages in thread
From: Luther Thompson @ 2018-06-19 4:56 UTC (permalink / raw)
To: Joshua Branson; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1741 bytes --]
On Mon, Jun 18, 2018 at 9:25 AM, Joshua Branson <jbranso@fastmail.com>
wrote:
> Luther Thompson <lutheroto@gmail.com> writes:
>
>> I installed GuixSD today. When I boot up, both the login manager and
>> the desktop session use qwerty. I do see dvorak when I hit Ctrl+Alt+F2
>> for a non-window console. `loadkeys dvorak` has no effect in either
>> place. Here is my OS definition:
>>
>
> I've had a similar problem. I know that there are a couple of solutions
> floating around. I think one of them my be using setxkbmap...Or
> possibly configuring X to prefer the dvorak layout...
>
> I personally never figured that issue out. Right now I'm running
> Parabola GNU/Linux-libre, and I've got guix installed on it...
>
Update: I decided to check the latest git master commit to see if the
docs had changed. I found some
thing about controlling the keyboard
layout, and I found more examples in the guix-help archives. This is
the 'services' field that I ended up using:
(services (cons* (console-keymap-service "dvorak")
(gnome-desktop-service)
(xfce-desktop-service)
(modify-services %desktop-services
(slim-service-type config =>
(slim-configuration
(inherit config)
(
startx (xorg-start-command
#:configuration-file
(xorg-configuration-file
#:extra-config
'("Section \"InputClass\"
Identifier \"keyboard-all\"
Option \"XkbLayout\" \"dvorak\"
MatchIsKeyboard \"on\"
EndSection")))))))))
This successfully fixed the problem in the login manager. (GNOME, of
course, had to be configured separately.)
--
Luther Thompson
[-- Attachment #2: Type: text/html, Size: 4414 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: No dvorak in window manager
2018-06-17 23:00 No dvorak in window manager Luther Thompson
2018-06-18 13:25 ` Joshua Branson
@ 2018-06-20 18:35 ` Nils Gillmann
1 sibling, 0 replies; 4+ messages in thread
From: Nils Gillmann @ 2018-06-20 18:35 UTC (permalink / raw)
To: Luther Thompson; +Cc: help-guix
Luther Thompson transcribed 1.8K bytes:
> I installed GuixSD today. When I boot up, both the login manager and
> the desktop session use qwerty. I do see dvorak when I hit Ctrl+Alt+F2
> for a non-window console. `loadkeys dvorak` has no effect in either
That is because loadkeys is for the tty. In X you would use setxkbmap
or your WM/DM provided tools for setting it. setxkbmap comes as part
of the package 'setxkbmap' in guix.
For SDDM and SLIM the fact that it's just en_US is a bug in our
invocation of it (or upstream? I forgot, simply because I opened
a bug report long time ago not to think about reasons why this
happens).
> place. Here is my OS definition:
>
> (use-modules (gnu) (gnu system nss))
> (use-service-modules desktop)
> (use-package-modules certs gnome)
>
> (operating-system
> (host-name "targaryen")
> (timezone "America/New_York")
> (locale "en_US.utf8")
>
> (bootloader (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/sda")))
>
> (file-systems (cons (file-system
> (device "my-root")
> (mount-point "/")
> (type "ext4")
> (title 'label))
> %base-file-systems))
>
> (users (cons (user-account
> (name "luther")
> (comment "Luther Thompson")
> (group "users")
> (supplementary-groups '("wheel" "netdev"
> "audio" "video"))
> (home-directory "/home/luther"))
> %base-user-accounts))
>
> ;; This is where we specify system-wide packages.
> (packages (cons* 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 Wicd,
> ;; and more.
> (services (cons* (console-keymap-service "dvorak")
> (gnome-desktop-service)
> (xfce-desktop-service)
> %desktop-services))
>
> ;; Allow resolution of '.local' host names with mDNS.
> (name-service-switch %mdns-host-lookup-nss)
>
> (swap-devices '("/swapfile")))
>
> --
> Luther Thompson
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-06-20 18:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-17 23:00 No dvorak in window manager Luther Thompson
2018-06-18 13:25 ` Joshua Branson
2018-06-19 4:56 ` Luther Thompson
2018-06-20 18:35 ` Nils Gillmann
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).