Summary: | modifying the keyboard layout file /usr/share/X11/xkb/symbols has no effect | ||
---|---|---|---|
Product: | [Unmaintained] kxkb | Reporter: | manfred.pohler |
Component: | general | Assignee: | Andriy Rysin <arysin> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
manfred.pohler
2010-07-24 18:32:11 UTC
Let's try to simplify your tests: try to active the layout without KDE or Gnome. Run the setxkbmap in the command line, e.g.: setxkbmap -layout de -variant my_variant and see if this works, then post the results. I already tried this before. Now I tried again. It is the same result. If there is only one entry in the table 'Active Layouts' and I change with "setxkbmap -layout de -variant ro_nodeadkeys" to the layout which I had selected first as my keyboard layout, then I get displayed the characters of the original version of this layout, not of the modified one. But if I change with "setxkbmap -layout de -variant ro" to another variant in which I have made the same modifications, I get displayed the characters of the modified version. If there are two variants enabled in the table 'Active Layouts' I always get displayed the modified version by switching between "setxkbmap -layout de -variant ro_nodeadkeys" and "setxkbmap -layout de -variant ro". This is not a bug in KDE then, most probably you need to talk to xkeyboard-config (http://freedesktop.org/wiki/Software/XKeyboardConfig) guys - they would know more about how those things work. If you attach the diff you made to your layout file I can try to help but my knowledge (and time) here is limited. 1d0 < 114c113 < key <AD05> { [ t, T, tcedilla, Tcedilla ] }; --- > key <AD05> { [ t, T, 0x100021b, 0x100021a ] }; 117c116 < key <AC02> { [ s, S, scedilla, Scedilla ] }; --- > key <AC02> { [ s, S, 0x1000219, 0x1000218 ] }; 129c128 < key <AD05> { [ t, T, tcedilla, Tcedilla ] }; --- > key <AD05> { [ t, T, 0x100021b, 0x100021a ] }; 132c131 < key <AC02> { [ s, S, scedilla, Scedilla ] }; --- > key <AC02> { [ s, S, 0x1000219, 0x1000218 ] }; I think I found the problem - you need to delete compiled cache for your layouts. Go to /var/lib/xkb/compiled and delete all *.xkm files, then set your layout again. That's it! Thank you very much! |