#xmodmap — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #xmodmap, aggregated by home.social.
-
@Cal #ArchLinux Wiki has an excellent piece on keyboard customization: https://wiki.archlinux.org/title/X_keyboard_extension
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.
-
@Cal #ArchLinux Wiki has an excellent piece on keyboard customization: https://wiki.archlinux.org/title/X_keyboard_extension
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.
-
@Cal #ArchLinux Wiki has an excellent piece on keyboard customization: https://wiki.archlinux.org/title/X_keyboard_extension
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.
-
@Cal #ArchLinux Wiki has an excellent piece on keyboard customization: https://wiki.archlinux.org/title/X_keyboard_extension
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.
-
: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. -
: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. -
: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. -
: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. -
Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?
https://github.com/vgresak/keyboard-layout-editor
https://github.com/simos/keyboardlayouteditor
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.
-
Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?
https://github.com/vgresak/keyboard-layout-editor
https://github.com/simos/keyboardlayouteditor
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.
-
Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?
https://github.com/vgresak/keyboard-layout-editor
https://github.com/simos/keyboardlayouteditor
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.
-
Jhee, is there really no GUI editor for creating XKB layouts that can be easily built or installed in 2023?
https://github.com/vgresak/keyboard-layout-editor
https://github.com/simos/keyboardlayouteditor
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.
-
Keyd: Linux Key Remapper from kernel (github.com/rvaiya)
https://github.com/rvaiya/keyd
#Linux #kernel #xmodmap #macro #keyd #kanata #keymapper #Karabiner #interception-tools
-
Got angry at #xmodmap which broke during a recent #opensuse upgrade. Replaced it with #keyd, which has been much more stable.
https://github.com/rvaiya/keyd
Considered #kmonad, which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.
-
Got angry at #xmodmap which broke during a recent #opensuse upgrade. Replaced it with #keyd, which has been much more stable.
https://github.com/rvaiya/keyd
Considered #kmonad, which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.
-
Got angry at #xmodmap which broke during a recent #opensuse upgrade. Replaced it with #keyd, which has been much more stable.
https://github.com/rvaiya/keyd
Considered #kmonad, which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.
-
Got angry at #xmodmap which broke during a recent #opensuse upgrade. Replaced it with #keyd, which has been much more stable.
https://github.com/rvaiya/keyd
Considered #kmonad, which has an attractive s-exp based config language, but the toolchain wouldn't compile properly.
-
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_RThis does not work anymore for #Wayland. Is there an easy way to achieve the same thing?
-
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_RThis does not work anymore for #Wayland. Is there an easy way to achieve the same thing?
-
@legoktm Nice! I'm procrastinating until I research how to replace #Xmodmap in #Wayland. https://unix.stackexchange.com/q/292868
-
@legoktm Nice! I'm procrastinating until I research how to replace #Xmodmap in #Wayland. https://unix.stackexchange.com/q/292868
-
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 ...
-
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 ...