Help - Search - Members - Calendar
Full Version: Catalan and Spanish keyboards
OESF Portables Forum > Model Specific Forums > Gemini PDA > Gemini PDA - Linux OS
epertinez
There is no definition in gemini's debian tp for catalan and spanish keyboards.

I created the rules following the rules given for italian keyboard.

I followed the example and did the catalan and spanish versions. They do not seem to work in my system, yet I need someone to integrate them in the system. Anyway I think they are correct so if someone can check them and upload them to github or any place they have to be moved into, i'll would appreciate.

Here you have them.

default partial alphanumeric_keys
xkb_symbols "cat" {
include "planet_vndr/gemini(modifiers)"
include "planet_vndr/gemini(common_keys)"

name[Group1]="Gemini Catalan (ñ grave Ñ acute)";

key <AE01> { [ 1, exclam, bar, F1 ] };
key <AE02> { [ 2, quotedbl, at, F2 ] };
key <AE03> { [ 3, sterling, numbersign, F3 ] };
key <AE04> { [ 4, dollar, asciitilde , F4 ] };
key <AE05> { [ 5, percent, EuroSign, F5 ] };
key <AE06> { [ 6, ampersand, asterisk , F6 ] };
key <AE07> { [ 7, slash, bracketleft, F7 ] };
key <AE08> { [ 8, parenleft, bracketright , F8 ] };
key <AE09> { [ 9, parenright, braceleft , F9 ] };
key <AE10> { [ 0, equal, braceright , F10 ] };

key <AD01> { [ q, Q,XF86AudioPlay, Greek_OMEGA ] };
key <AD02> { [ w, W,XF86AudioPrev, Lstroke ] };
key <AD03> { [ e, E,XF86AudioNext, trademark ] };
key <AD04> { [ r, R, Print, registered ] };
key <AD05> { [ t, T,XF86AudioMute, yen ] };
key <AD06> { [ y, Y, plus , rightarrow ] };
key <AD07> { [ u, U, minus, uparrow ] };
key <AD08> { [ i, I, exclamdown , plusminus ] };
key <AD09> { [ o, O, questiondown , Ooblique ] };
key <AD10> { [ p, P, question , THORN ] };

key <AC01> { [ a, A, XF86TaskPane, AE ] };
key <AC02> { [ s, S, degree , section ] };
key <AC03> { [ d, D, XF86TopMenu, ETH ] };
key <AC04> { [ f, F, XF86UWB, ordfeminine ] };
key <AC05> { [ g, G, underscore , ENG ] };
key <AC06> { [ h, H, notsign , dead_diaeresis ] };
key <AC07> { [ j, J, less , dead_circumflex ] };
key <AC08> { [ k, K, greater , degree ] };
key <AC09> { [ l, L, backslashagrave, dead_caron ] };
key <AC11> { [ grave, acute, ccedilla , Ccedilla ] };

key <AB01> { [ z, Z, ordfeminine , dead_belowdot ] };
key <AB02> { [ x, X, masculine , dead_abovedot ] };
key <AB03> { [ c, C, XF86AudioLowerVolume, copyright ] };
key <AB04> { [ v, V, XF86AudioRaiseVolume, leftsinglequotemark ] };
key <AB05> { [ b, B,XF86MonBrightnessDown, rightsinglequotemark ] };
key <AB06> { [ n, N, XF86MonBrightnessUp, exclamdown ] };
key <AB07> { [ m, M, apostrophe , dead_grave ] };
key <AB09> { [ period, colon, U263A , dead_tilde ] };

key <AB08> { [ comma, semicolon, XF86Option, multiply ] };
};
default partial alphanumeric_keys
xkb_symbols "es" {
include "planet_vndr/gemini(modifiers)"
include "planet_vndr/gemini(common_keys)"

name[Group1]="Gemini Spanish";

key <AE01> { [ 1, exclam, bar, F1 ] };
key <AE02> { [ 2, quotedbl, at, F2 ] };
key <AE03> { [ 3, sterling, numbersign, F3 ] };
key <AE04> { [ 4, dollar, asciitilde , F4 ] };
key <AE05> { [ 5, percent, EuroSign, F5 ] };
key <AE06> { [ 6, ampersand, asterisk , F6 ] };
key <AE07> { [ 7, slash, bracketleft, F7 ] };
key <AE08> { [ 8, parenleft, bracketright , F8 ] };
key <AE09> { [ 9, parenright, braceleft , F9 ] };
key <AE10> { [ 0, equal, braceright , F10 ] };

key <AD01> { [ q, Q,XF86AudioPlay, Greek_OMEGA ] };
key <AD02> { [ w, W,XF86AudioPrev, Lstroke ] };
key <AD03> { [ e, E,XF86AudioNext, trademark ] };
key <AD04> { [ r, R, Print, registered ] };
key <AD05> { [ t, T,XF86AudioMute, yen ] };
key <AD06> { [ y, Y, plus , rightarrow ] };
key <AD07> { [ u, U, minus, uparrow ] };
key <AD08> { [ i, I, exclamdown , plusminus ] };
key <AD09> { [ o, O, questiondown , Ooblique ] };
key <AD10> { [ p, P, question , THORN ] };

key <AC01> { [ a, A, XF86TaskPane, AE ] };
key <AC02> { [ s, S, degree , section ] };
key <AC03> { [ d, D, XF86TopMenu, ETH ] };
key <AC04> { [ f, F, XF86UWB, ordfeminine ] };
key <AC05> { [ g, G, underscore , ENG ] };
key <AC06> { [ h, H, notsign , dead_diaeresis ] };
key <AC07> { [ j, J, less , dead_circumflex ] };
key <AC08> { [ k, K, greater , degree ] };
key <AC09> { [ l, L, backslashagrave, dead_caron ] };
key <AC11> { [ ntilde, Ntilde, ccedilla , Ccedilla ] };

key <AB01> { [ z, Z, ordfeminine , dead_belowdot ] };
key <AB02> { [ x, X, masculine , dead_abovedot ] };
key <AB03> { [ c, C, XF86AudioLowerVolume, copyright ] };
key <AB04> { [ v, V, XF86AudioRaiseVolume, leftsinglequotemark ] };
key <AB05> { [ b, B,XF86MonBrightnessDown, rightsinglequotemark ] };
key <AB06> { [ n, N, XF86MonBrightnessUp, exclamdown ] };
key <AB07> { [ m, M, apostrophe , dead_grave ] };
key <AB09> { [ period, colon, U263A , dead_tilde ] };

key <AB08> { [ comma, semicolon, XF86Option, multiply ] };
};

Adam Boardman
I've added them to the layout files and also to the SDDM login screen.
epertinez
QUOTE(Adam Boardman @ Jul 11 2018, 05:15 PM) *
I've added them to the layout files and also to the SDDM login screen.

Thank you very much. Unfortunately definitions are not working properly. Same error that when I was testing. Not Fn nor Alt seem to do anything at all. Like if they were not working. Cursor keys send ^[[A to konsole instead of being a cursor.
Any clue will be appreciated.

epertinez
QUOTE(epertinez @ Jul 12 2018, 09:23 AM) *
QUOTE(Adam Boardman @ Jul 11 2018, 05:15 PM) *
I've added them to the layout files and also to the SDDM login screen.

Thank you very much. Unfortunately definitions are not working properly. Same error that when I was testing. Not Fn nor Alt seem to do anything at all. Like if they were not working. Cursor keys send ^[[A to konsole instead of being a cursor.
Any clue will be appreciated.

I think it has to do with my Debian installation and not with the keyboards definition. It happens to all different keyboards in my system. Not Fn not Alt seem to do anything at all. My Connman does not save the state neither. I don't know if it can be related someway.
Adam Boardman
Debian has many options, we've only focused our work on one slice through it, so if you go off the path expect to be finding and fixing many bugs. There are plenty of posts here from folks doing just that.

Keyboard stuff, you can test a one off keyboard map with for example a 'setxkbmap es' in a terminal. And you want to remove any other keyboard config (eg lxqt keyboard stuff in the settings), for the SDDM login dropdown to work. You can also test the SDDM login screen keyboards in the empty box on the top line to see what keys are doing what for your selected keyboard layout.

Yes there are some issues with connman retaining some bits of its state, patches welcome.
epertinez
QUOTE(Adam Boardman @ Jul 12 2018, 12:11 PM) *
Debian has many options, we've only focused our work on one slice through it, so if you go off the path expect to be finding and fixing many bugs. There are plenty of posts here from folks doing just that.

Keyboard stuff, you can test a one off keyboard map with for example a 'setxkbmap es' in a terminal. And you want to remove any other keyboard config (eg lxqt keyboard stuff in the settings), for the SDDM login dropdown to work. You can also test the SDDM login screen keyboards in the empty box on the top line to see what keys are doing what for your selected keyboard layout.

Yes there are some issues with connman retaining some bits of its state, patches welcome.

Hi Adam. Thank you very, very much for your help.
First things first. I did a little tweak after testing the definition I gave you (well, the definition you made from mines). Here you have it. If you were so kind to push it up...

default partial alphanumeric_keys
xkb_symbols "cat" {
include "planet_vndr/gemini(es)"

name[Group1]="Gemini Catalan";

key <AE04> { [ 4, dollar, dead_tilde, F4 ] };
key <AC11> { [ dead_acute, dead_grave, ccedilla , Ccedilla ] };

};

The difference between catalan and spanish keyboards is that catalan one has substituted Ñ/ñ by acute and grave, booth dead versions so you can use Ñ key as a modifier to vowels as you normally do in other keyboards. In order to continue being able to type ñ, I changed ~ symbol to the dead version, so ~+n becomes ñ and ~+space becomes ~.
Hope it works.

Second point I wanna stress. I was using TP1. I installed TP2 (erasing everything) and now both connam and xkb work correctly.

Third: thanks very much for your work.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.