![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
WSL Koreader - External keyboard language selector
Koreader works well under WSL (ubuntu) allowing me to type notes using my computer's keyboard. This massively speeds up book annotation in comparison to onscreen keyboarding. I wonder if anyone tried using foreign language keyboard layouts (I mean with the external keyboard)? Should I install the new keyboard layout under ubuntu or is there anything else that needs to be done in order for this to work?
Last edited by edojan; 07-17-2024 at 06:07 PM. |
![]() |
![]() |
![]() |
#2 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,404
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Different layouts should work fine on the desktop version.
When using a version that runs in a VM (such as KOReader on Windows, via WSL, or KOReader on ChromeOS, via Crostini) you shouldn't need to change layouts for particular deployments. It should be enough to change the layout of the underlying Windows or ChromeOS system. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,404
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Make sure your settings look similar to https://github.com/microsoft/wslg/is...ent-2201566425
It might be possible that the settings are applied only after a WSL restart. If you're not sure how to do that just reboot windows. Once the settings are correctly applied they should behave the same in all environments installed under the WSL virtual machine. If that's not the case please double check that you can reproduce the same issue in any other linux GUI app. Never discard a regression in WSL ![]() |
![]() |
![]() |
![]() |
#5 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
Quote:
All terminal apps display the languages correctly and respond to the windows keyboard layout changes. Not any of the gui-ed apps I tried (e.g. gedit). All gui-ed apps ignore the language settings. Btw, everything works as supposed to if koreader is installed on ubuntu running under vmware workstation. But then it is not using the windows keyboard layout but one installed under ubuntu... Last edited by edojan; 07-18-2024 at 11:52 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,404
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
That's a bummer!
I think you can workaround it !? If you start the terminal on your ubuntu session on WSL: 1. See your current settings typing: Code:
localectl Code:
localectl list-x11-keymap-layouts 3. Set the layout to one of the supported languages: Code:
localectl set-x11-keymap $LAYOUT Since you also have a proper ubuntu installation on a proper VM you could try compare the output of those commands between WSL and the real thing. |
![]() |
![]() |
![]() |
#7 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
Quote:
Code:
localectl set-x11-keymap $LAYOUT Code:
sudo localectl set-x11-keymap ru Code:
Setting X11 and console keymaps is not supported in Debian. |
|
![]() |
![]() |
![]() |
#8 | |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,404
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Good to know microsoft sucks doing linux containers :/ Please try https://unix.stackexchange.com/a/744897 instead. |
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
Thanks pazos. The setxkbmap command has worked. So now to switch my keyboard to russian phonetic I enter in the CLI the following:
Code:
setxkbmap ru phonetic_winkeys Code:
setxkbmap us Last edited by edojan; 07-19-2024 at 01:59 PM. |
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
Do you know if there is any way to hide the onscreen keyboard under the linux version when using the external keyboard? I know there was some discussion about this but not sure if this has been implemented.
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
For now try to manually close it by swiping down on the keyboard with mouse
|
![]() |
![]() |
![]() |
#12 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#13 |
Digital Grenadier
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 173
Karma: 1500000
Join Date: Jan 2024
Device: Kindle
|
Try: Shift + Home
|
![]() |
![]() |
![]() |
#14 | |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,404
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using external keyboard with KOReader's Text Editor | paperwhite13 | Kindle Developer's Corner | 0 | 03-18-2024 05:32 AM |
External Keyboard | wildcolor | Kindle Developer's Corner | 14 | 06-05-2013 04:35 PM |
Color Use of external keyboard | notaguru | Nook Color & Nook Tablet | 0 | 04-19-2012 01:35 PM |
DR1000 External keyboard | giuseppemag | iRex | 1 | 06-02-2010 03:25 AM |
Cool Reader and key 9 in Hyphenation language selector | CPatrick | OpenInkpot | 6 | 04-19-2010 09:02 AM |