Skip to main content


today's fun cursed keyboard fact: xkb (the thing both X11 and Wayland use for keyboard input) defines keys called XF86Calculator and XF86Calculater

they are distinct keysyms and you can bind them to different things

in reply to emily, blinkenlight witch

Does this add up?

Are they equivalent like symlinks, or do they function differently?

in reply to emily, blinkenlight witch

Hence, my questions. If they do not function equivalently, then I would be concerned about an attack vector.
in reply to SpaceLifeForm

@SpaceLifeForm I can't imagine how. If you have enough access to a machine to add Calculater to a custom keymap (it's not in any of the keymaps shipped with xkb) and bind it to do arbitrary evil thing (it won't have a default binding in any desktop or application because nobody has ever intentionally used it), surely you can just, like, add `do-evil-thing.sh` as an autorun entry instead?