Add DAS key variant to installer
Add DAS key variant to installer
Could you add the DAS variation to Finnish keyboard layout list? Even though it is quite simple to add manually, it is always nicer when it can be done already in install process like it is possible in Ubuntu and also is no need to try to remember the qwerty layout.
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.1)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
- dolphin_oracle
- Developer
- Posts: 20010
- Joined: Sun Dec 16, 2007 1:17 pm
Re: Add DAS key variant to installer
We just updated the installer with a keyboard selection tool that offers every selectionary provided by the keyboard-configuration package. So make sure you update the installer before running an install to see the change.
Code: Select all
sudo apt-get install mx-installer
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Add DAS key variant to installer
You need first to download python-file from that site, then execute it with python so the keymap files are created, then if it isn't appeared to list of keymaps, reboot and then change layout from keyboard settings. So, not a big deal, but before it with QWERTY, all inputs are like "bsllhykn".
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.1)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
Re: Add DAS key variant to installer
I checked that, and DAS wasn't yet in list, but when I installed manually and relogged, it appeared there.dolphin_oracle wrote: ↑Wed Jun 06, 2018 6:15 am We just updated the installer with a keyboard selection tool that offers every selectionary provided by the keyboard-configuration package. So make sure you update the installer before running an install to see the change.
Code: Select all
sudo apt-get install mx-installer
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.1)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
Re: Add DAS key variant to installer
I'm looking into this. DAS layout is described in /usr/share/X11/xkb/symbols/fi already but it doesn't show up in keyboard layout selection. I think there's something up with that. See "Finnish (DAS)" section toward end of file below:
Code: Select all
rich@mx17:~
$ cat /usr/share/X11/xkb/symbols/fi
//
// X keyboard maps for Finland
//
// SFS 5966 / Kotoistus keymap created by Troy Korjuslommi
// Classic keymap based on traditional by Marko Myllynen
// Eliminate deadkeys alternative sent by Linus Torvalds
//
default partial alphanumeric_keys
xkb_symbols "kotoistus" {
// Official keymap for Finland based on SFS 5966 standard
//
// This keymap implements all the functionality of Annex 1
// of the standard and additionally defines the following to
// allow entering these characters with keyboards without LSGT.
//
// AE08+4, U+003C : LESS-THAN SIGN (less)
// AE09+4, U+003E : GREATER-THAN SIGN (greater)
// AD08+4, U+007C : VERTICAL LINE (bar)
//
// Annex 3 of the standard is implemented in fi_FI.UTF-8/Compose
name[Group1]="Finnish";
key <TLDE> { [ section, onehalf, dead_stroke, NoSymbol ] };
key <AE01> { [ 1, exclam, NoSymbol, exclamdown ] };
key <AE02> { [ 2, quotedbl, at, rightdoublequotemark ] };
key <AE03> { [ 3, numbersign, sterling, guillemotright ] };
key <AE04> { [ 4, currency, dollar, guillemotleft ] };
key <AE05> { [ 5, percent, permille, leftdoublequotemark ] };
key <AE06> { [ 6, ampersand, singlelowquotemark, doublelowquotemark ] };
key <AE07> { [ 7, slash, braceleft, NoSymbol ] };
key <AE08> { [ 8, parenleft, bracketleft, less ] };
key <AE09> { [ 9, parenright, bracketright, greater ] };
key <AE10> { [ 0, equal, braceright, degree ] };
key <AE11> { [ plus, question, backslash, questiondown ] };
key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
key <AD01> { [ q, Q, q, Q ] };
key <AD02> { [ w, W, w, W ] };
key <AD03> { [ e, E, EuroSign, NoSymbol ] };
key <AD04> { [ r, R, r, R ] };
key <AD05> { [ t, T, thorn, THORN ] };
key <AD06> { [ y, Y, y, Y ] };
key <AD07> { [ u, U, u, U ] };
key <AD08> { [ i, I, idotless, bar ] };
key <AD09> { [ o, O, oe, OE ] };
key <AD10> { [ p, P, dead_horn, dead_hook ] };
key <AD11> { [ aring, Aring, dead_doubleacute, dead_abovering ] };
key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_macron ] };
key <AC01> { [ a, A, schwa, SCHWA ] };
key <AC02> { [ s, S, ssharp, NoSymbol ] };
key <AC03> { [ d, D, eth, ETH ] };
key <AC04> { [ f, F, f, F ] };
key <AC05> { [ g, G, g, G ] };
key <AC06> { [ h, H, h, H ] };
key <AC07> { [ j, J, j, J ] };
key <AC08> { [ k, K, kra, NoSymbol ] };
key <AC09> { [ l, L, dead_stroke, NoSymbol ] };
key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] };
key <LSGT> { [ less, greater, bar, NoSymbol ] };
key <AB01> { [ z, Z, ezh, EZH ] };
key <AB02> { [ x, X, multiply, periodcentered ] };
key <AB03> { [ c, C, c, C ] };
key <AB04> { [ v, V, v, V ] };
key <AB05> { [ b, B, b, B ] };
key <AB06> { [ n, N, eng, ENG ] };
key <AB07> { [ m, M, mu, emdash ] };
key <AB08> { [ comma, semicolon, rightsinglequotemark, leftsinglequotemark ] };
key <AB09> { [ period, colon, dead_belowdot, dead_abovedot ] };
key <AB10> { [ minus, underscore, endash, dead_belowcomma ] };
include "nbsp(level4)"
include "nbsp(level3)"
include "kpdl(comma)"
include "level3(ralt_switch)"
};
partial alphanumeric_keys
xkb_symbols "winkeys" {
include "fi(kotoistus)"
name[Group1]="Finnish (Winkeys)";
include "eurosign(5)"
};
partial alphanumeric_keys
xkb_symbols "classic" {
include "fi(fi)"
name[Group1]="Finnish (classic)";
};
hidden partial alphanumeric_keys
xkb_symbols "fi" {
// Classic Finnish keyboard layout with dead keys
key <TLDE> { [ section, onehalf, onequarter, threequarters ] };
key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
key <AE02> { [ 2, quotedbl, at, twosuperior ] };
key <AE03> { [ 3, numbersign, sterling, threesuperior ] };
key <AE04> { [ 4, currency, dollar, cent ] };
key <AE05> { [ 5, percent, EuroSign, masculine ] };
key <AE06> { [ 6, ampersand, yen, ordfeminine ] };
key <AE07> { [ 7, slash, braceleft, plusminus ] };
key <AE08> { [ 8, parenleft, bracketleft, less ] };
key <AE09> { [ 9, parenright, bracketright, greater ] };
key <AE10> { [ 0, equal, braceright, degree ] };
key <AE11> { [ plus, question, backslash, questiondown ] };
key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
key <AD01> { [ q, Q, q, Q ] };
key <AD02> { [ w, W, w, W ] };
key <AD03> { [ e, E, EuroSign, cent ] };
key <AD04> { [ r, R, registered, NoSymbol ] };
key <AD05> { [ t, T, thorn, THORN ] };
key <AD06> { [ y, Y, y, Y ] };
key <AD07> { [ u, U, u, U ] };
key <AD08> { [ i, I, idotless, bar ] };
key <AD09> { [ o, O, o, O ] };
key <AD10> { [ p, P, paragraph, NoSymbol ] };
key <AD11> { [ aring, Aring, oe, OE ] };
key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ] };
key <AC01> { [ a, A, schwa, SCHWA ] };
key <AC02> { [ s, S, scaron, Scaron ] };
key <AC03> { [ d, D, eth, ETH ] };
key <AC04> { [ f, F, f, F ] };
key <AC05> { [ g, G, eng, ENG ] };
key <AC06> { [ h, H, h, H ] };
key <AC07> { [ j, J, j, J ] };
key <AC08> { [ k, K, kra, NoSymbol ] };
key <AC09> { [ l, L, dead_stroke, NoSymbol ] };
key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
key <BKSL> { [ apostrophe, asterisk, dead_caron, dead_breve ] };
key <LSGT> { [ less, greater, bar, brokenbar ] };
key <AB01> { [ z, Z, zcaron, Zcaron ] };
key <AB02> { [ x, X, multiply, division ] };
key <AB03> { [ c, C, copyright, cent ] };
key <AB04> { [ v, V, v, V ] };
key <AB05> { [ b, B, ssharp, NoSymbol ] };
key <AB06> { [ n, N, ntilde, Ntilde ] };
key <AB07> { [ m, M, mu, NoSymbol ] };
key <AB08> { [ comma, semicolon, dead_cedilla, dead_ogonek ] };
key <AB09> { [ period, colon, periodcentered, notsign ] };
key <AB10> { [ minus, underscore, hyphen, dead_macron ] };
include "nbsp(level4)"
include "kpdl(comma)"
include "level3(ralt_switch)"
include "compose(rwin)"
};
partial alphanumeric_keys
xkb_symbols "nodeadkeys" {
// Classic Finnish keyboard layout without dead keys
include "fi(fi)"
name[Group1]="Finnish (classic, eliminate dead keys)";
key <AE12> { [ acute, grave, cedilla, ogonek ] };
key <AD12> { [ diaeresis, asciicircum, asciitilde, caron ] };
key <AC09> { [ l, L, l, L ] };
key <BKSL> { [ apostrophe, asterisk, caron, breve ] };
key <AB08> { [ comma, semicolon, cedilla, ogonek ] };
key <AB10> { [ minus, underscore, hyphen, macron ] };
};
partial alphanumeric_keys
xkb_symbols "smi" {
// Describes the differences between a Norwegian Northern Sami
// (keyboard with dead key support) and a Swedish/Finnish Sami
// keyboard according to the specs at:
// http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html
include "no(smi)"
name[Group1]="Northern Saami (Finland)";
key <AC10> { [ odiaeresis, Odiaeresis, oslash, Oslash ] };
key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] };
};
partial alphanumeric_keys
xkb_symbols "mac" {
// Macintosh keyboard for Finland based on Swedish(Macintosh) keyboard
include "se(mac)"
name[Group1]="Finnish (Macintosh)";
};
partial alphanumeric_keys
xkb_symbols "sun_type6" {
// Sun Type 6/7 keyboard for Finland
include "sun_vndr/fi(sun_type6)"
};
partial
xkb_symbols "das" {
// This is DAS layout for typing Finnish. It is originally designed by
// Cristian Seres (cseres at iki.fi).
// More information about DAS: http://c.seres.fi/DAS_en.html
// This xkeyboard layout is originally made by Joel Lehtonen,
// (joel.lehtonen at iki.fi) on 2008-01-14. He released it under Public
// domain.
name[Group1]="Finnish (DAS)";
key <AE01> { [ 1, exclam, section ] };
key <AE02> { [ 2, quotedbl, twosuperior ] };
key <AE03> { [ 3, at, sterling ] };
key <AE04> { [ 4, EuroSign, dollar ] };
key <AE05> { [ 5, percent, onehalf ] };
key <AE06> { [ 6, ampersand ] };
key <AE07> { [ 7, braceleft ] };
key <AE08> { [ 8, parenleft, bracketleft ] };
key <AE09> { [ 9, parenright, bracketright ] };
key <AE10> { [ 0, braceright, degree ] };
key <AE11> { [ plus, question, currency ] };
key <AE12> { [ equal, numbersign ] };
key <AD01> { [ p, P, Greek_pi ] };
key <AD02> { [ h, H ] };
key <AD03> { [ r, R, dead_circumflex ] };
key <AD04> { [ k, K, dead_caron ] };
key <AD05> { [ less, greater ] };
key <AD06> { [ apostrophe, bar ] };
key <AD07> { [ w, W ] };
key <AD08> { [ u, U ] };
key <AD09> { [ y, Y ] };
key <AD10> { [ b, B ] };
key <AD11> { [ q, Q ] };
key <AD12> { [ z, Z, zcaron, Zcaron ] };
key <AC01> { [ s, S, scaron, Scaron ] };
key <AC02> { [ l, L, dead_acute ] };
key <AC03> { [ n, N, dead_grave ] };
key <AC04> { [ t, T, dead_diaeresis ] };
key <AC05> { [ v, V ] };
key <AC06> { [ g, G ] };
key <AC07> { [ a, A ] };
key <AC08> { [ i, I ] };
key <AC09> { [ o, O ] };
key <AC10> { [ e, E ] };
key <AC11> { [ c, C ] };
key <TLDE> { [ backslash, dead_tilde ] };
key <BKSL> { [ asterisk, slash ] };
key <LSGT> { [ f, F ] };
key <AB01> { [ x, X ] };
key <AB02> { [ d, D ] };
key <AB03> { [ m, M, mu ] };
key <AB04> { [ j, J ] };
key <AB05> { [ aring, Aring ] };
key <AB06> { [ odiaeresis, Odiaeresis, oe, OE ] };
key <AB07> { [ adiaeresis, Adiaeresis, ae, AE ] };
key <AB08> { [ comma, semicolon ] };
key <AB09> { [ period, colon ] };
key <AB10> { [ minus, underscore, U2013, dead_macron ] };
key <SPCE> { [ space, space, space, nobreakspace ] };
include "kpdl(comma)"
include "level3(ralt_switch)"
include "compose(rwin)"
};
I checked, unless I'm wrong, it does not appear to be available in Ubuntu either anymore. This would support the idea that there's something wrong with this file because most likely they're the same or of similar origin in both distributions. ekeimaja do you remember the last version of Ubuntu you used where this keyboard layout option was available in the installer?
You do not have the required permissions to view the files attached to this post.
Re: Add DAS key variant to installer
In 16.04 it was included, and I thought they had removed it either on purpose or by accident from 18.04, but if it is about the file, then it needs to be fixed.
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.1)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 21.2)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 21.2)
Re: Add DAS key variant to installer
Thanks, I'll let you know when I know more.
Re: Add DAS key variant to installer
Okay, I did a little research and it looks like the DAS layout was removed from the default selection in 2016 by the freedesktop.org xkeyboard-config developers. See this commit:
https://cgit.freedesktop.org/xkeyboard- ... ff5da809d5
The reason for this appears to have been lack of Unicode support and the maintainer's inability to contact the original developer. Please see this mailing list:
https://groups.google.com/a/listserv.ba ... J-ioK89Ajo
Therefore, it is unlikely this keyboard layout will be added to the default selection again, but you are welcome to file a bug through the appropriate channels.
https://bugs.freedesktop.org/enter_bug. ... ard-config
So it's not showing up here because the installer, along with many(all?) other applications such as the xfce keyboard layout tool, do not display the "extra" options.dolphin_oracle wrote: ↑Wed Jun 06, 2018 6:15 am We just updated the installer with a keyboard selection tool that offers every selectionary provided by the keyboard-configuration package
Re: Add DAS key variant to installer
The good news is you should be able to use
to set up das from now on without having to use the python script. It's already included in any modern system, I would expect
Code: Select all
setxkbmap -layout fi -variant das