Timeline for Relationship of keyboard layout and xmodmap
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 12, 2020 at 4:37 | comment | added | jarno | So if you want to know when e.g. Shift_L is pressed in X11 or Wayland session, you can not rely on KEYCODEs, but you can rely on KEYSYMSs, right? | |
| Dec 5, 2018 at 3:57 | comment | added | 炸鱼薯条德里克 | What kind of event will the window receive? An event with KEYSYM and then the application transform KEYSYM to text, by what way? Does Xorg provide an IPC/RPC interface for apps to convert KEYSYM to text? Or the app have to do it purely by itself? | |
| Oct 3, 2013 at 19:25 | vote | accept | xralf | ||
| Nov 16, 2012 at 20:17 | history | edited | cjm | CC BY-SA 3.0 |
it's = it is; its = possessive pronoun
|
| May 4, 2011 at 6:00 | comment | added | xralf |
I tried the command grep loadkeys /etc/init.d/* and locate keymap.sh and nothing was found. The file Xorg.conf was not found too. Does it depend on my Ubuntu version which is 10.04?
|
|
| May 4, 2011 at 5:10 | comment | added | penguin359 |
The kernel keymap, as I said is loaded by loadkeys by one of the init scripts. grep loadkeys /etc/init.d/* reveals the file keymap.sh. X11 has it's own keymaping which has traditionally been loaded by Xmodmap running from one of the Xsession start-up scripts. Nowadays, with XKB being used instead of Xmodmap, the default keymaping is set either in Xorg.conf via the various Xkb options or via HAL. Once either the Gnome or KDE Display manager is loaded, they may load their own layout via the setxkbmap command. A user's desktop environment might also set a different layout on login.
|
|
| May 3, 2011 at 13:47 | comment | added | xralf | Thank you for great explanation and new information. Do you know what applications are started in the boot process (upstart or initscript) which makes the decision over keyboard and what happens at login in the stage I can choose the layout. Which program interacts with it and where is it stored in the filesystem? After login xmodmap or xkb will overwride the default layout chosen at login process? | |
| May 3, 2011 at 11:51 | history | edited | penguin359 | CC BY-SA 3.0 |
added linux mapping
|
| May 3, 2011 at 11:39 | history | answered | penguin359 | CC BY-SA 3.0 |