We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Hardware keyboard layout for slavic languages

asked 2019-07-22 14:18:08 +0300

ds1979 gravatar image

Hello,

my topic is: I want to work with Sailfish OS. The goal is, to have a device, that can replace my laptop in certain circumstances on the road with my backpack, e.g. for answering an e-mail or chatting in a fast fashion with a hardware keyboard. I have a Jolla 1 and have made up a custom serbian virtual keyboard (VKB) with the available explanations on TJC. As the VKB works, I can not choose a hardware keyboard in Serbian for my bluetooth keyboard. For all the former Yugoslav countries, it would be helpful, to have this latin keyboard active.

In the path /usr/share/X11/xkb/symbols there are many layouts, e.g. rs for Serbian. This XKB keyboard mapping is the same layout for Bosnia, Croatia, Serbia and Slovenia. I guess, that the hardware keyboard layout switch in Settings >>> Text Input >>> Hardware keyboards / Active layout uses these XKB keyboard mappings. BUT: The list of available hardware keyboard layouts is much shorter than there are XKB files, so where can I add the XKB mapping "rs" to the hardware keyboard layout list?

I have put this in two categories, because:

  • BUG: One can not use the layouts that ARE available, but not listed.
  • FEATURE REQUEST: The feature should be available, because it is already there with 98% - just go the last step or give me a hint, how to do this by myself!

Thank you very much in advance!

For the virtual keyboard, I have used the ideas from this article: https://wian.ws/post/ict/2019/keyboard-sailfish/ It is pretty feasible to copy the QML and config files, rename and edit them, and copy them back to the Jolla.

edit retag flag offensive close delete

Comments

no one? pretty please!

ds1979 ( 2019-07-27 19:41:43 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2020-04-17 23:12:01 +0300

ds1979 gravatar image

Well, the command line still does the trick...

The folder /usr/share/X11/xkb/symbols contains all available layouts. "de" for german, "us" for US english, "gb" for british, "sr" for serbian cyrillic, "hr" for croatian latin, etc. pp.

To activate one of the keyboards, use the command line in terminal and type e.g.:

dconf write /desktop/lipstick-jolla-home/layout "'de'"

I have found useful to use the app ShellEx from Openrepos for that. Just save the stuff for your layouts and then you just need to tap in the app.

If you get in trouble with a cyrillic layout, you can still get back in the hardware keyboard options in settings. :-)

Have fun!

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-07-22 14:18:08 +0300

Seen: 258 times

Last updated: Apr 17 '20