Timeline for how to assign another modifier to Alt key for X11?
Current License: CC BY-SA 2.5
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 6, 2016 at 22:20 | comment | added | Cody Craven | Huge thanks, kept fighting with symbols/pc with no success. | |
| Mar 22, 2011 at 6:06 | vote | accept | greenoldman | ||
| Mar 19, 2011 at 12:20 | comment | added | greenoldman | Thank you for explanation, I guessed right then :-). If you don't mind I will keep it a bit longer as an unanswered question, maybe somebody could solve my problem at xkb level, which would be more flexible (switching layouts kills xmodmaps). | |
| Mar 19, 2011 at 11:47 | comment | added | Gilles 'SO- stop being evil' | The problem with keysym Caps_Lock = Alt_L is that if you run it twice, it puts the system back into an undesired state. That's why I use keycodes; they vary between operating systems and architectures (not between keyboards), but not that often. | |
| Mar 19, 2011 at 11:42 | comment | added | greenoldman | Big thanks. So indeed, I used Mod5 instead of Mod2 for Meta, and I can now write as expected (I use meta+key for many national characters). But oddly, now I have problem with CapsLock-key again -- it is binded to... Meta. I guess why, because once there is binding to Alt, but then Alt is redefined. So how to make a difference and once insist on code, and second time on symbol? I would like not to use raw keycodes because they could change from keyboard to keyboard. I cannot swap the order of keysyms, because in the last line I would get error. | |
| Mar 19, 2011 at 11:05 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 2.5 |