Tag Info

Hot answers tagged

3

If you want to map new keys as modifiers (like Shift, Ctrl, Alt), using keycode with xmodmap is not sufficient. You need to do something like: keycode 87 = Shift_L clear shift add shift = Shift_L keycode 88 = Alt_L clear mod1 add mod1 = Alt_L keycode 89 = Control_L clear control add control = Control_L You have some examples in the xmodmap(1) man page. ...


2

A keyboard is just an input device, it has no direct relation to standard input as such. The standard input of a program is merely an abstract data stream that is passed as file descriptor 0. Many programs using standard input take input from the keyboard, but they don't do this directly. Instead, in the absence of instructions to do otherwise, your shell ...


1

There are a bajillion answers on the internet, most of them confusing. The key is you need to map 'keycode 66' to your hyper key, remove the mapping of that key from other mod{1,2,4,5}'s (only if present), and then set mod3. Open ~/.Xmodmap and put the following: ! Unmap capslock clear Lock keycode 66 = Hyper_L ! Leave mod4 as windows key _only_ remove ...



Only top voted, non community-wiki answers of a minimum length are eligible