google / extra-keyboards-for-chrome-os

Extra keyboard layouts and input methods for Chrome OS
Apache License 2.0
201 stars 123 forks source link

Adding br(thinkpad) xkb to ChromeOS Flex #111

Open markinhosmrk opened 2 years ago

markinhosmrk commented 2 years ago

Hi all,

I'm testing ChromeOS Flex on a Lenovo 300e and I followed the xkb example instructions because the br(thinkpad) layout seems to be included. I can install the extension and select it just file however the slash - question mark key still doesn't work. Do I need to restart, or did something wrong?

The manifest file is below:

{ "name": "Teclado BR ABNT2 thinkpad", "version": "1.0", "manifest_version": 3, "description": "Teclado BR ABNT2 thinkpad", "permissions": [ "input" ], "input_components": [ { "name": "Portuguese (Brazil, IBM/Lenovo ThinkPad)", "type": "ime", "id": "br_thinkpad_xkb", "description": "Portuguese (Brazil, IBM/Lenovo ThinkPad)", // user visible description "language": "br", // The primary language this IME is used for "layouts": ["br(thinkpad)"] } ] }

Thanks!

markinhosmrk commented 2 years ago

I've also seen it with language "pt", but it didn't work either.

Saw on other issue's comments another package with all xkb variants exposed and it didn't work, maybe it's an issue with Flex? Will try brunch just to confirm.

markinhosmrk commented 2 years ago

Okay, I am now on brunch and the same issue occurs. It seems this key maps as ControlRight and maybe that's why it doesn't work even when setting the correct xkb layout.

I created a map based on the lushootseed example and now got it working as expected.

7fe commented 2 years ago

I tried using Chrome OS Flex with my Thinkpad and I couldn't get it to work at all.

Maybe it wasn't updated but I believe this is unique to Chrome OS Flex.

7fe commented 2 years ago

https://github.com/google/extra-keyboards-for-chrome-os/issues/113 https://github.com/google/extra-keyboards-for-chrome-os/issues/112

7fe commented 2 years ago

@markinhosmrk I can't get any of the background.js extensions to work on my Chromebook currently. What happens on your device?

markinhosmrk commented 2 years ago

I used it on Chrome OS Flex and brunch, it worked fine...

I have it on a repo if you want to try:

https://github.com/markinhosmrk/lenovo-300e-2ndgen-chromeos

Em ter., 5 de abr. de 2022 07:35, William @.***> escreveu:

@markinhosmrk https://github.com/markinhosmrk I can't get any of the background.js extensions to work on my Chromebook currently.

— Reply to this email directly, view it on GitHub https://github.com/google/extra-keyboards-for-chrome-os/issues/111#issuecomment-1088539628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO3ZTVM3ZKQ6YRIFV7MEERDVDQJOHANCNFSM5PLJO4HQ . You are receiving this because you were mentioned.Message ID: @.***>

7fe commented 2 years ago

I’m running into a slight bug on my extension but thank you for your extension link.