* A modifier key is a physical key which has its keycode listed Meanings (shift, control, and lock), and the five others have There are eight modifiers available, three of which have static The modifier mapping, and this can be modified with xmodmap. Which keys produce which modifiers is controlled by AnĮxample is the shift modifier produced while you hold down a Modifiers don't do anything unless another key is pressed. * A modifier is special state produced by pressing a modifier key. Value sent to applications when you press that key, is determinedīy the keyboard mapping, and can be changed with xmodmap. * A keysym is the meaning assigned to the key. If they use the same software and keyboard layout). (these may not be the same on two different systems even * A keycode is the numeric value produced by a physical key * A keycap is the label on a physical key. There are several terms and concepts which can be confusing. Xmodmap or running the command ‘xmodmap -e “clear mod4”’. Assume the following result: shift Shift_L (0x32), Shift_R (0x3e)Ĭontrol Control_L (0x25), Control_R (0圆d) Just clear mod4Īn alternative to adding the Super modifier key is to just clear mod4.Ĭheck your xmodmap by running xmodmap or ‘xmodmap -pm’. But in the case where there is no Meta binding, it’s preferable to treat Alt as Meta since Alt bindings are much more rare than Meta bindings in Emacs. This is because Meta and Alt are different and you can bind things to M-a and to A-a and they should not be confused. Thus, Emacs notices that no key will be Meta and accepts Alt instead of Meta. This will make your Windows/Penguin key the Super key. ! Super_L is already mod4 on my system, but Super_R is not Put the following into your ~/.Xmodmap file (create if necessary). Obviously this trick only works if you don’t use the Windows/Menu/Penguin/whatever keys. X doesn’t even know about the Windows/Menu keys anymore, and Emacs works you would expect it to. Select a pc101 keyboard type instead of a pc104. If you’re using XFree86 4, you can get a similar effect by putting something like this in XF86Config-4: Section "InputDevice"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |