Author Topic: Czech Keyboard Layout On Openzaurus  (Read 5752 times)

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Czech Keyboard Layout On Openzaurus
« on: March 19, 2006, 05:49:01 am »
I didn't find anywhere way how to write czech characters on my Zaurus SL5500. Have anyone working solution? Right now I have on my zaurus OZ 3.5.4 gpe but I flash to opie if it will be nessesary. I have found keyz project, byt its only for qpe so I think on OpenZaurus it doesn't work.
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Czech Keyboard Layout On Openzaurus
« Reply #1 on: March 19, 2006, 06:01:16 am »
under opie you can create own keymap for multikey inputmethod (look into /opt/QtPalmtop/share/multikey/ iirc)

under gpe look into /usr/share/xkbd/ and adapt one of keymaps for own usage
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Czech Keyboard Layout On Openzaurus
« Reply #2 on: March 19, 2006, 12:31:11 pm »
Quote
under opie you can create own keymap for multikey inputmethod (look into /opt/QtPalmtop/share/multikey/ iirc)

under gpe look into /usr/share/xkbd/ and adapt one of keymaps for own usage
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Xkbd is onscreen soft keyboard for X11. OK, I found [a href=\"http://handhelds.org/~mallum/xkbd/]this keymaps[/url] so I have czech virual keyboard on the screen but is there any way how to map some keymap to hardware sl5500 keyboard?
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Czech Keyboard Layout On Openzaurus
« Reply #3 on: March 19, 2006, 12:55:06 pm »
ah.. hardware keyboard..

install 'keymaps' package on Z (its dependencies will take ~300-400KB iirc) so you will get /etc/keymap-2.4.map which will get load on every boot. You can change it for own usage.

You can also install 'keymap-locales' package - it contain deutsch keymap addons and show a way how to change keymap in easier way.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Czech Keyboard Layout On Openzaurus
« Reply #4 on: March 20, 2006, 03:24:38 pm »
Thanks for the tip. Now I'm looking for some new CF card which will be usable for flashing (I have 3 new card, but none of them are usable - only blinking both led since I want to flash) but after I buy some I'll try Opie.

What I looking for seems to be opie-multikey (for virtual keyboard) which looks already have czech keymap. At feed there is also opie-keyz which is tool for changing maping of hardware keyboard.
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Czech Keyboard Layout On Openzaurus
« Reply #5 on: March 27, 2006, 03:37:10 pm »
Now I have finally installed opie with czech locale (opie/opie-i18n-cz_1.2.1-r0_arm.ipk) and multikey then show czech virtual keyboard on the screen. But I would like to have also hardware keyboard writing czech characters and also some type of changing from english to czech maping. Is there any way how to do that?

There is package keymaps. Yes, but if I change this I loose en keyboard maping, isn't it? Isn't there any way how to map actualy selected multikey to hardware keyboard?
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Czech Keyboard Layout On Openzaurus
« Reply #6 on: March 27, 2006, 04:53:33 pm »
opie-zkbapplet - editing its keymaps are not hardcore
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Czech Keyboard Layout On Openzaurus
« Reply #7 on: March 31, 2006, 08:23:18 am »
Quote
opie-zkbapplet - editing its keymaps are not hardcore
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120557\"][{POST_SNAPBACK}][/a][/div]
I really thank you for this tip. I had tried it on Cacko, byt after your post I gave up playing with keymaps on OpenZaurus and try to edit one of zkey keymaps. And it works now! I gone to sleep at about 4 in morning, but it worth.

I'm attaching that keymap. It is changed latin1 keymap (it was well commented). Now if you want to write characters with caron (ě, Å¡, č ... and also ů) you must hold on right sift and press Tab button, then press character without caron eqivalent (e, s, c ...). Same with characters with accent (ý, á, í) but since holding right shipt press / button instead Tab.

Now I'm going to improve this keymap and make second mapping to it with czech characters instead of numbers (like in normal czech keyboard it is). But there is one problem. zkeyapplet can only switch between 2 diffrent keymap, but I want to have visual control in which state I'm now (insade one keymap). I'm planing to take a look to zkeyapplet sources after I find some (does OpenZaurus have some respository, where I can download them?). I have this idea: define another state on cz.xml keymap and switching will be maped to same key combination (like Fn+left ship) and if I press this combination on zkeyapplet label is changed even though keymap is not changed.
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Czech Keyboard Layout On Openzaurus
« Reply #8 on: March 31, 2006, 08:28:42 am »
nax: looks at pl.xml - I added 'Alt Gr' for national chars (like on PC etc keyboard).
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Czech Keyboard Layout On Openzaurus
« Reply #9 on: March 31, 2006, 09:28:59 am »
There is only polish.xml but there is no comments and I don't understand which key is used for AltGr (may be some other models of zaurus have Alt key, but mine SL5500 doesn't).

Did you have done some additional hw changes (labels at zaurus keyboard) which facilitating writing other characters then that are native (or there are some zaurus with polish keyboard labelink nativly?).
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Czech Keyboard Layout On Openzaurus
« Reply #10 on: March 31, 2006, 10:13:48 am »
oops.. forgot that we speak about hardware - sorry.

In polish I have RShift+a for ą and LShift+RShift for Ą iirc - will check at home.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Czech Keyboard Layout On Openzaurus
« Reply #11 on: April 01, 2006, 11:12:50 am »
Yes, I have tried it and it looks good, but with Czech keyboard layout there is problem, that characters like e have both - caron and accent variant (ě, é).

Now I'm thinking about keymapping which have 2 states - english with all Fn symbols and functions and second czech which will have caron variant mapped to Fn+character (so Fn+e makes ě) and accent variant RShift+character (RShift+e makes é). This way I like, because I won't need to thinking about relabeling of hw keyboard.
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card