Summary: | x11-misc/xkeyboard-config Add Svorak A5 to X11 xkb se layout (symbols file) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Asplund <azpegath> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.gentoo.org/show_bug.cgi?id=55643 https://bugs.gentoo.org/show_bug.cgi?id=430950 | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=71852 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The section to be added
New version instead of paste in comment Patch for base.xml.in Working patch for symbols/se file New ebuild Updated version of symbols/se patch |
Description
Peter Asplund
2013-10-04 22:02:57 UTC
Created attachment 360128 [details, diff]
The section to be added
This is the section that should be added in the file. I
The source of the file is from this page: http://www.aoeu.info/s/dvorak/unix but I've removed the section where they clear all the symbols (¡@£$€¥{[]}\±) from the number row. I think it's better to have them in both places, as long at it doesn't collide in X11. I don't know if I need to regenerate the evdev.lst, evdev.xml, or any of the other files... But I'm currently editing them on my system just to get it to work. What is the upstream status of this patch? Comment on attachment 360128 [details, diff] The section to be added >--- /usr/share/X11/xkb/symbols/se 2013-10-05 00:05:56.110244461 +0200 >+++ se_new 2013-10-05 00:05:24.000000000 +0200 >@@ -90,6 +90,53 @@ > key <AB10> { [ z, Z, guillemotleft, less ] }; > }; > >+partial alphanumeric_keys >+xkb_symbols "svorak-a5" { >+ >+ name[Group1]="Swedish (Dvorak A5)"; >+ >+ include "se(basic)" >+ >+ key <LWIN> { [ Super_L ] }; >+ key <RWIN> { [ Super_R ] }; >+ key <AD01> { [ aring, Aring, braceleft, none ] }; >+ key <AD02> { [ adiaeresis, Adiaeresis, braceright, none ] }; >+ key <AD03> { [ odiaeresis, Odiaeresis, bracketleft, none ] }; >+ key <AD04> { [ p, P, bracketright, none ] }; >+ key <AD05> { [ y, Y, dollar, none ] }; >+ key <AD06> { [ f, F, quotedbl, none ] }; >+ key <AD07> { [ g, G, question, none ] }; >+ key <AD08> { [ c, C, ampersand, none ] }; >+ key <AD09> { [ r, R, less, none ] }; >+ key <AD10> { [ l, L, greater, none ] }; >+ key <AD11> { [ comma, semicolon, dead_cedilla, none ] }; >+ key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] }; >+ key <AE12> { [ dead_acute, dead_grave, plusminus, none ] }; >+ key <AC01> { [ a, A, semicolon, none ] }; >+ key <AC02> { [ o, O, slash, none ] }; >+ key <AC03> { [ e, E, parenleft, none ] }; >+ key <AC04> { [ u, U, parenright, none ] }; >+ key <AC05> { [ i, I, bar, none ] }; >+ key <AC06> { [ d, D, numbersign, none ] }; >+ key <AC07> { [ h, H, asciicircum, none ] }; >+ key <AC08> { [ t, T, numbersign, none ] }; >+ key <AC09> { [ n, N, quotedbl, none ] }; >+ key <AC10> { [ s, S, asciitilde, none ] }; >+ key <AC11> { [ minus, underscore, grave, none ] }; >+ key <BKSL> { [ apostrophe, asterisk, asterisk, none ] }; >+ key <AB01> { [ period, colon, colon, none ] }; >+ key <AB02> { [ q, Q, equal, none ] }; >+ key <AB03> { [ j, J, at, none ] }; >+ key <AB04> { [ k, K, exclam, none ] }; >+ key <AB05> { [ x, X, backslash, none ] }; >+ key <AB06> { [ b, B, percent, none ] }; >+ key <AB07> { [ m, M, grave, none ] }; >+ key <AB08> { [ w, W, lstroke, none ] }; >+ key <AB09> { [ v, V, leftdoublequotemark, none ] }; >+ key <AB10> { [ z, Z, guillemotleft, none ] }; >+ >+}; >+ There, I re-added the semicolon and the colon for the shift modifier for comma and period, respectively. I don't think there's really any reason to remove them in comparison to the original Svorak layout. After adding the extra layout in the base.lst and base.xml, it works correctly. Created attachment 361982 [details, diff]
New version instead of paste in comment
Adding links to two other bugs that got the layout added to the console keymap. https://bugs.gentoo.org/show_bug.cgi?id=430950 https://bugs.gentoo.org/show_bug.cgi?id=55643 Created attachment 361992 [details, diff]
Patch for base.xml.in
Created attachment 361994 [details, diff]
Working patch for symbols/se file
Created attachment 361996 [details]
New ebuild
I've added this ebuild to my own overlay AzP (which can be found in layman). Created attachment 363682 [details, diff]
Updated version of symbols/se patch
Change name to dvorak_a5 (as it is in the other patch) to follow the convention in the file.
I created an upstream bug report for this: https://bugs.freedesktop.org/show_bug.cgi?id=71852 It's been added upstream now! I think is it not fully fixed upstream, only rules/base.extras.xml.in was changed and symbols/se wasn't. Oh, that's strange... I informed the developer of the issue and he updated the patch! Don't know if the new version is released or anything though. xkeyboard-config-2.12 is now in portage |