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 )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Debian TP2: no Italian kbd
salvomic
post Jun 27 2018, 09:01 AM
Post #1





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



there is no Italian Keyboard starting Debian (Flag menu)?
With US kbd to get - I must press * (FN-o) and to get / I must press Shift-;

I set locale, now lxqt is set in Italian, but every Italian keyboard have wrong key mapping for those chars, or not at all...

Any help?
salvo

Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 27 2018, 09:18 AM
Post #2





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



Someone has to add a block for your keyboard to this file:
https://github.com/gemian/xkeyboard-config/...net_vndr/gemini

It lives in /usr/share/X11/xkb/symbols/planet_vndr/ on your device.

Once you've added it there (and tested it with 'setxkbmap -v **', where ** is the country code you've just added) then you'll need to get it added to the xkeyboard-config and to add the new country to this list so that it will appear on the login screen.

You can ask me to do the github stuff if you want to just make and test the layout?
Go to the top of the page
 
+Quote Post
salvomic
post Jun 27 2018, 09:21 AM
Post #3





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



QUOTE(Adam Boardman @ Jun 27 2018, 07:18 PM) *
Someone has to add a block for your keyboard to this file:
https://github.com/gemian/xkeyboard-config/...net_vndr/gemini

It lives in /usr/share/X11/xkb/symbols/planet_vndr/ on your device.

Once you've added it there (and tested it with 'setxkbmap -v **', where ** is the country code you've just added) then you'll need to get it added to the xkeyboard-config and to add the new country to this list so that it will appear on the login screen.

You can ask me to do the github stuff if you want to just make and test the layout?


yes Adam, please, be kind to do it, I want test and help to debug, if needed smile.gif
Salvo
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 29 2018, 12:26 AM
Post #4





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



Building just now, should be ready to test in 30mins.
Go to the top of the page
 
+Quote Post
salvomic
post Jun 29 2018, 12:31 AM
Post #5





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



QUOTE(Adam Boardman @ Jun 29 2018, 10:26 AM) *
Building just now, should be ready to test in 30mins.


thanks a lot!
I'll try later smile.gif

salvo
Go to the top of the page
 
+Quote Post
salvomic
post Jun 29 2018, 01:38 AM
Post #6





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



I would try,
but with Italian locale in lxqt Terminal (both layout it or us) I get / but not - that is nowhere and I cannot use the combination FN-key with the Gemini keyboard layout...
So, help, please smile.gif

Should I revert to US locale?

salvo

Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 29 2018, 01:47 AM
Post #7





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



So just to check, you've upgraded (apt update 'n' upgrade). Then you logged out and picked from the SDDM menu (Italian flag). Then for example if you went into lxqt keyboard layout selection you'd find it says Planet Computers Gemini as the keyboard model? If not then you've set some custom config that is overriding things, you need to first remove those and then try again.
Go to the top of the page
 
+Quote Post
salvomic
post Jun 29 2018, 02:19 AM
Post #8





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



QUOTE(Adam Boardman @ Jun 29 2018, 11:47 AM) *
So just to check, you've upgraded (apt update 'n' upgrade). Then you logged out and picked from the SDDM menu (Italian flag). Then for example if you went into lxqt keyboard layout selection you'd find it says Planet Computers Gemini as the keyboard model? If not then you've set some custom config that is overriding things, you need to first remove those and then try again.


ok!
after apt update upgrade, there is now the Italian flag! I choose it,
Then I choose mapping for Italian Planet Computers Gemini, but now I've / (shift-7) but not - (dash) that in Italian Android Gemini is on FN-. (the key . smile.gif with FN pressed...
How can I use the Gemini combination FN-key?
Otherwise how can I input
setxkbmap -v ?

salvo

EDIT: wow!
I used a tip: input man or other command, select -, then middle key, so I could type
setxkbmap -v
And then I have - also (with FN-.) and all other keys with FN
Thanks!
salvo
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 29 2018, 02:30 AM
Post #9





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



I think I've muddled you up.

The 'setxkbmap it' is a for this session only way of testing a keyboard layout, so if you were editing the layout locally and then wanted to test your changes you'd run that after each edit of the file.

Once your happy with it you then pick the flag from the sddm login screen once and it sets your system to use that all the time. Next login you just leave it at the 'set by x' or whatever the default is. Remember that you have to press a key on the keyboard for it to know which keyboard its using so the US flag will show until you start typing.

There should be no other keyboard fiddling needed. And any other keyboard fiddling you've done will need undoing before the above will work.
Go to the top of the page
 
+Quote Post
salvomic
post Jun 29 2018, 02:42 AM
Post #10





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



QUOTE(Adam Boardman @ Jun 29 2018, 12:30 PM) *
I think I've muddled you up.

The 'setxkbmap it' is a for this session only way of testing a keyboard layout, so if you were editing the layout locally and then wanted to test your changes you'd run that after each edit of the file.

Once your happy with it you then pick the flag from the sddm login screen once and it sets your system to use that all the time. Next login you just leave it at the 'set by x' or whatever the default is. Remember that you have to press a key on the keyboard for it to know which keyboard its using so the US flag will show until you start typing.

There should be no other keyboard fiddling needed. And any other keyboard fiddling you've done will need undoing before the above will work.


thanks again!
it works for the session.
I'm trying doing as you say, but after closing session and open again I cannot see the mod... maybe I've to add it to the keyboard-config. Please, a last help for this smile.gif
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 29 2018, 05:17 AM
Post #11





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



As I say, you have to remove whatever fiddling you'd done previously with keyboard configs, eg in lxqt delete any keyboard settings you put in there.

Possibly clear things out by making a new user account ('adduser newusername'), then compare the config files from that to the user your currently using.

Why?:
- sddm login screen picking keyboard map will set a system wide keyboard (can be confirmed by flag changing as you type your password)
- lxqt config will override that for a specific user
- setxkbmap will override that for this session (and mess up if USB/BT keyboards have been used)
Go to the top of the page
 
+Quote Post
salvomic
post Jun 29 2018, 05:45 AM
Post #12





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



QUOTE(Adam Boardman @ Jun 29 2018, 03:17 PM) *
As I say, you have to remove whatever fiddling you'd done previously with keyboard configs, eg in lxqt delete any keyboard settings you put in there.

Possibly clear things out by making a new user account ('adduser newusername'), then compare the config files from that to the user your currently using.

Why?:
- sddm login screen picking keyboard map will set a system wide keyboard (can be confirmed by flag changing as you type your password)
- lxqt config will override that for a specific user
- setxkbmap will override that for this session (and mess up if USB/BT keyboards have been used)


Well!
I did it and now all went ok!
If only there were the same into GNURoot Debian (now userLAnd) + XSDL inside Android... There I've also troubles with - and /

Thanks Adam, very kind of you.

salvo

Attached Image


Now I must correct that message from Perl: "please check that your locale settings are supported..."
Go to the top of the page
 
+Quote Post
Adam Boardman
post Jun 29 2018, 06:26 AM
Post #13





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



Fairly certain that you should be able to add your locales? (remember to pick UTF8)

https://github.com/gemian/gemini-keyboard-a...bianTP2#locales
Go to the top of the page
 
+Quote Post
salvomic
post Jun 29 2018, 07:20 AM
Post #14





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



QUOTE(Adam Boardman @ Jun 29 2018, 04:26 PM) *
Fairly certain that you should be able to add your locales? (remember to pick UTF8)

https://github.com/gemian/gemini-keyboard-a...bianTP2#locales


yes, I'll do it, controlling all later.
thanks

salvo
Go to the top of the page
 
+Quote Post
salvomic
post Oct 26 2018, 01:45 AM
Post #15





Group: Members
Posts: 290
Joined: 21-February 18
From: Sicily
Member No.: 818,107



please, Adam, help: after the installation of the new firmware (here triple boot), I overwrote Linux and again I cannot see the Italian flag (there is more that configuration in this link?).
I made
CODE
apt update; apt upgrade
then input
CODE
setxkbmap -v it-IT
but I get some errors ("error loading the new keyboard description" or also "duplication...") and after reboot I cannot see the Italian flag in the list...

Salvo
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
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: 16th November 2019 - 10:13 PM