Skip to content

set-keys does not respect keboard layout #44

@KjartanOli

Description

@KjartanOli

I use a dvorak layout. To be specific my set-xkb-rules looks like this:

(set-xkb-rules '((layout . "is")
                 (variant . "dvorak")
                 (options . "ctrl:swapcaps")))

This works fine when typing, but my keybindings don't work. As an example, I have the following set-keys call in my config:

(set-keys "s-e" '(dwl:spawn "/gnu/store/m222s1gsbl0vvnsfsppx9y4g2fvbh2j0-emacs-next-pgtk-xwidgets-30.0.50-2.170c655/bin/emacs" "-q"))

However, pressing the key I would use to type e, which is d on my physical keyboard's qwerty layout does nothing, but pressing the physical e key starts Emacs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions