Paste number 350517: evdev.conf

Index of paste annotations: 1

Paste number 350517: evdev.conf
Pasted by: rekado
When:4 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+7IGL
Channel:None
Paste contents:
Raw Source | XML | Display As
# This is needed to convince Slim to use Dvorak before login.
Section "InputClass"
        Identifier "evdev keyboard catchall"
        Driver "evdev"
        Option "xkb_layout" "dvorak"
EndSection

Annotations for this paste:

Annotation number 1: config.scm
Pasted by: rekado
When:4 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+7IGL/1
Paste contents:
Raw Source | Display As
(use-modules (gnu)
             (gnu system)
             (gnu system nss)
             (guix monads)
             (guix store)
             (ice-9 rdelim)
             (ice-9 popen))
(use-service-modules desktop base xorg networking ssh avahi)
(use-package-modules linux cryptsetup emacs avahi xorg lisp certs gnome wicd)

...

(define dvorak-evdev
  (call-with-input-file "/etc/config.d/evdev.conf" read-string))

...

  (services (cons* (console-keymap-service "dvorak")
                   (modify-services %desktop-services
                     (slim-service-type
                      config => (slim-configuration
                                 (inherit config)
                                 (startx (xorg-start-command
                                          #:configuration-file
                                          (xorg-configuration-file
                                           #:extra-config
                                           (list dvorak-evdev))))))
                     ...))

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.