OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Catalan and Spanish keyboards, Here is my definition for catalan and spanish keyboards. Almost solved
epertinez
post Jul 11 2018, 05:07 AM
Post #1





Group: Members
Posts: 7
Joined: 11-July 18
Member No.: 825,907



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 ] };
};

Go to the top of the page
 
+Quote Post
Adam Boardman
post Jul 11 2018, 07:15 AM
Post #2





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



I've added them to the layout files and also to the SDDM login screen.
Go to the top of the page
 
+Quote Post
epertinez
post Jul 11 2018, 11:23 PM
Post #3





Group: Members
Posts: 7
Joined: 11-July 18
Member No.: 825,907



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.

Go to the top of the page
 
+Quote Post
epertinez
post Jul 11 2018, 11:48 PM
Post #4





Group: Members
Posts: 7
Joined: 11-July 18
Member No.: 825,907



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.
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jul 12 2018, 02:11 AM
Post #5





Group: Members
Posts: 173
Joined: 29-December 17
Member No.: 815,489



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.
Go to the top of the page
 
+Quote Post
epertinez
post Jul 15 2018, 11:12 PM
Post #6





Group: Members
Posts: 7
Joined: 11-July 18
Member No.: 825,907



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2019 - 12:51 AM