home.social

#xmodmap — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xmodmap, aggregated by home.social.

  1. @Cal #ArchLinux Wiki has an excellent piece on keyboard customization: wiki.archlinux.org/title/X_key

    Basically, dump the standard keymap, edit it to your liking, and read it back. I recently fixed up mine using this, I was running an old hacked Xmodmap that hadn't really been working well for the last 15 years or so…

    xkbcomp $DISPLAY output.xkb
    ...edit
    xkbcomp editedfile "$DISPLAY"

    and if the latter works, but it in .xsessionrc to have it autoload.

    #Linux #XKBComp #XModMap #KeyboadLayout

  2. @Cal #ArchLinux Wiki has an excellent piece on keyboard customization: wiki.archlinux.org/title/X_key

    Basically, dump the standard keymap, edit it to your liking, and read it back. I recently fixed up mine using this, I was running an old hacked Xmodmap that hadn't really been working well for the last 15 years or so…

    xkbcomp $DISPLAY output.xkb
    ...edit
    xkbcomp editedfile "$DISPLAY"

    and if the latter works, but it in .xsessionrc to have it autoload.

    #Linux #XKBComp #XModMap #KeyboadLayout

  3. @Cal #ArchLinux Wiki has an excellent piece on keyboard customization: wiki.archlinux.org/title/X_key

    Basically, dump the standard keymap, edit it to your liking, and read it back. I recently fixed up mine using this, I was running an old hacked Xmodmap that hadn't really been working well for the last 15 years or so…

    xkbcomp $DISPLAY output.xkb
    ...edit
    xkbcomp editedfile "$DISPLAY"

    and if the latter works, but it in .xsessionrc to have it autoload.

    #Linux #XKBComp #XModMap #KeyboadLayout

  4. @Cal #ArchLinux Wiki has an excellent piece on keyboard customization: wiki.archlinux.org/title/X_key

    Basically, dump the standard keymap, edit it to your liking, and read it back. I recently fixed up mine using this, I was running an old hacked Xmodmap that hadn't really been working well for the last 15 years or so…

    xkbcomp $DISPLAY output.xkb
    ...edit
    xkbcomp editedfile "$DISPLAY"

    and if the latter works, but it in .xsessionrc to have it autoload.

    #Linux #XKBComp #XModMap #KeyboadLayout

  5. :boost_requested:

    Hello @askfedi,

    TL;DR: What is causing my X.org keymap to change unsolicited for, and how can I prevent it?

    When I log in to my X.org based desktop environment on Linux a custom keymap is set from ~/.Xmodmap. This is all fine and dandy.

    However, at odd times — perhaps every day or two — the keymap mutates into something else, that could be the default X.org keymap, and I have to run “xmodmap ~/.Xmodmap” to get back to where I want to be.

    I haven't been able to correlate these events with anything, but of course systemd is always a strong contender for such anomalies…

    Has anyone else experienced the same thing and found a way to prevent it?

    TIA!

    /cc [ #askfedi | #Xorg | #X11 | #CLI | #keymap | #xmodmap | #Linux | #ArchLinux | #QTile | #systemd | #fælleshjerne ]

    PS: This post is unrelated to the social network formerly known as the birdcage.
  6. :boost_requested:

    Hello @askfedi,

    TL;DR: What is causing my X.org keymap to change unsolicited for, and how can I prevent it?

    When I log in to my X.org based desktop environment on Linux a custom keymap is set from ~/.Xmodmap. This is all fine and dandy.

    However, at odd times — perhaps every day or two — the keymap mutates into something else, that could be the default X.org keymap, and I have to run “xmodmap ~/.Xmodmap” to get back to where I want to be.

    I haven't been able to correlate these events with anything, but of course systemd is always a strong contender for such anomalies…

    Has anyone else experienced the same thing and found a way to prevent it?

    TIA!

    /cc [ #askfedi | #Xorg | #X11 | #CLI | #keymap | #xmodmap | #Linux | #ArchLinux | #QTile | #systemd | #fælleshjerne ]

    PS: This post is unrelated to the social network formerly known as the birdcage.
  7. :boost_requested:

    Hello @askfedi,

    TL;DR: What is causing my X.org keymap to change unsolicited for, and how can I prevent it?

    When I log in to my X.org based desktop environment on Linux a custom keymap is set from ~/.Xmodmap. This is all fine and dandy.

    However, at odd times — perhaps every day or two — the keymap mutates into something else, that could be the default X.org keymap, and I have to run “xmodmap ~/.Xmodmap” to get back to where I want to be.

    I haven't been able to correlate these events with anything, but of course systemd is always a strong contender for such anomalies…

    Has anyone else experienced the same thing and found a way to prevent it?

    TIA!

    /cc [ #askfedi | #Xorg | #X11 | #CLI | #keymap | #xmodmap | #Linux | #ArchLinux | #QTile | #systemd | #fælleshjerne ]

    PS: This post is unrelated to the social network formerly known as the birdcage.
  8. :boost_requested:

    Hello @askfedi,

    TL;DR: What is causing my X.org keymap to change unsolicited for, and how can I prevent it?

    When I log in to my X.org based desktop environment on Linux a custom keymap is set from ~/.Xmodmap. This is all fine and dandy.

    However, at odd times — perhaps every day or two — the keymap mutates into something else, that could be the default X.org keymap, and I have to run “xmodmap ~/.Xmodmap” to get back to where I want to be.

    I haven't been able to correlate these events with anything, but of course systemd is always a strong contender for such anomalies…

    Has anyone else experienced the same thing and found a way to prevent it?

    TIA!

    /cc [ #askfedi | #Xorg | #X11 | #CLI | #keymap | #xmodmap | #Linux | #ArchLinux | #QTile | #systemd | #fælleshjerne ]

    PS: This post is unrelated to the social network formerly known as the birdcage.
  9. Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?

    github.com/vgresak/keyboard-la

    github.com/simos/keyboardlayou

    Maybe I should try to write a #nix package for one of them? Maybe that's too hard for a newbie like me.

    Note I want to thoroughly customize the layout (including dead keys etc), not just swap a couple of keys.
    Can this be done with xmodmap?

    Note that I have a Windows version of the layout that I created.

    #linux #xkb #NixOS #xmodmap

  10. Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?

    github.com/vgresak/keyboard-la

    github.com/simos/keyboardlayou

    Maybe I should try to write a #nix package for one of them? Maybe that's too hard for a newbie like me.

    Note I want to thoroughly customize the layout (including dead keys etc), not just swap a couple of keys.
    Can this be done with xmodmap?

    Note that I have a Windows version of the layout that I created.

    #linux #xkb #NixOS #xmodmap

  11. Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?

    github.com/vgresak/keyboard-la

    github.com/simos/keyboardlayou

    Maybe I should try to write a package for one of them? Maybe that's too hard for a newbie like me.

    Note I want to thoroughly customize the layout (including dead keys etc), not just swap a couple of keys.
    Can this be done with xmodmap?

    Note that I have a Windows version of the layout that I created.

  12. Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?

    github.com/vgresak/keyboard-la

    github.com/simos/keyboardlayou

    Maybe I should try to write a #nix package for one of them? Maybe that's too hard for a newbie like me.

    Note I want to thoroughly customize the layout (including dead keys etc), not just swap a couple of keys.
    Can this be done with xmodmap?

    Note that I have a Windows version of the layout that I created.

    #linux #xkb #NixOS #xmodmap

  13. Forgot to promote the video but I have a video on kmonad which is a better solution than using xmodmap.

    youtu.be/8t5qAXsKLZg

  14. Got angry at which broke during a recent upgrade. Replaced it with , which has been much more stable.

    github.com/rvaiya/keyd

    Considered , which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.

  15. Got angry at #xmodmap which broke during a recent #opensuse upgrade. Replaced it with #keyd, which has been much more stable.

    github.com/rvaiya/keyd

    Considered #kmonad, which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.

  16. Got angry at #xmodmap which broke during a recent #opensuse upgrade. Replaced it with #keyd, which has been much more stable.

    github.com/rvaiya/keyd

    Considered #kmonad, which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.

  17. Got angry at #xmodmap which broke during a recent #opensuse upgrade. Replaced it with #keyd, which has been much more stable.

    github.com/rvaiya/keyd

    Considered #kmonad, which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.

  18. @freezr @bill
    yes.
    Or… fill your personal .Xmodmap with:
    keycode 115 = Multi_key

    And add on your .xsession file:
    xmodmap $HOME/.Xmodmap

    Restart your session and use your compose key and letters…

    ---

    Or, if you use Gnome/KDE/Xfce, go to the Settings > Keyboard > and modify the Touch Compose. ;)

    #OpenBSD #XCompose #Xmodmap

  19. So in #Xorg I used an #xmodmap file to allow entering the german diaresis chars with the super keys on my english keyboard:

    keycode 30 = u U udiaeresis Udiaeresis
    [....]
    keycode 108 = Mode_switch
    keycode 134 = Mode_switch
    clear lock
    !keysym Alt_L = Mode_switch
    !keysym Alt_R = Mode_switch
    add Mod1 = Mode_switch
    add Mod1 = Super_L
    add Mod1 = Super_R

    This does not work anymore for #Wayland. Is there an easy way to achieve the same thing?

    #followerpower

  20. So in #Xorg I used an #xmodmap file to allow entering the german diaresis chars with the super keys on my english keyboard:

    keycode 30 = u U udiaeresis Udiaeresis
    [....]
    keycode 108 = Mode_switch
    keycode 134 = Mode_switch
    clear lock
    !keysym Alt_L = Mode_switch
    !keysym Alt_R = Mode_switch
    add Mod1 = Mode_switch
    add Mod1 = Super_L
    add Mod1 = Super_R

    This does not work anymore for #Wayland. Is there an easy way to achieve the same thing?

    #followerpower

  21. Is anyone experienced with and ? after typing xmodmap -e "keycode 94 = less greater less greater bar " I still get a onehalf character instead of the bar (|) ... no idea what's going on ...

  22. Is anyone experienced with #keyboards and #xmodmap ? after typing xmodmap -e "keycode 94 = less greater less greater bar " I still get a onehalf character instead of the bar (|) ... no idea what's going on ...

    #askTheFediverse