cosmic-epoch icon indicating copy to clipboard operation
cosmic-epoch copied to clipboard

[Suggestion/Feature Request] Allow switching keyboard IM backend.

Open CosmicFusion opened this issue 2 years ago • 19 comments

Please take the KDE aproch for this and allow us to choose the IM backend (ibus, fcitix5, fcitix)

Unlike gnome who enforce crappy ibus

Also consider making fcitix5 the default not ibus :wink:

CosmicFusion avatar May 17 '23 19:05 CosmicFusion

I second this. Fcitx5 is very modern, actively maintained and extensible. IM is very important aspect for the East-Asia language speakers (Japanese, Korean and Chinese).

As for now, Fcitx5 is a much better backend than ibus. And this is one of the main feature that could be missing on COSMIC, which might prevent me from shifting to COSMIC.

I hope COSMIC developer could consider this on earlier stage of the development, it will save a lot of the effort for later development!

LumenYoung avatar Sep 22 '23 09:09 LumenYoung

ibus as far as I know isn't really usable outside of GNOME anyway, at least not without more deep integration. We are currently working on enabling the required protocols for IME in smithay and cosmic-comp:

  • https://github.com/Smithay/smithay/pull/1066
  • https://github.com/Smithay/smithay/pull/1120
  • https://github.com/pop-os/cosmic-comp/pull/122

Work is very much still in progress, but once that is solved fcitix5's wayland backend should just work (and is what we are testing with anyway).

Drakulix avatar Sep 22 '23 09:09 Drakulix

@Drakulix Thanks for the detailed reply! I'm really glad to learn that COSMIC is moving in this direction. Thank you for your work as well as that from other contributors to make it happen!

LumenYoung avatar Sep 22 '23 09:09 LumenYoung

Quick question... how can I change keyboard input, before the option will be available on cosmic-settings?

Currently I have english language for the interface, but I'd like to set the keyboard to Italian, since I'm using an Italian keyboard.

Currently I have no clue how to enforce that in COSMIC

gabriele2000 avatar Jan 23 '24 21:01 gabriele2000

Quick question... how can I change keyboard input, before the option will be available on cosmic-settings?

Currently I have english language for the interface, but I'd like to set the keyboard to Italian, since I'm using an Italian keyboard.

Currently I have no clue how to enforce that in COSMIC

Edit ~/.config/cosmic/com.system76.CosmicComp/v1/xkb_config. The option most interesting for you should be layout.

Drakulix avatar Jan 24 '24 14:01 Drakulix

Edit ~/.config/cosmic/com.system76.CosmicComp/v1/xkb_config. The option most interesting for you should be layout.

Thanks a lot, that fixed the issue!

gabriele2000 avatar Jan 24 '24 15:01 gabriele2000

Quick question... how can I change keyboard input, before the option will be available on cosmic-settings? Currently I have english language for the interface, but I'd like to set the keyboard to Italian, since I'm using an Italian keyboard. Currently I have no clue how to enforce that in COSMIC

Edit ~/.config/cosmic/com.system76.CosmicComp/v1/xkb_config. The option most interesting for you should be layout.

it seems my dir does not have this file (only input-default and input-touchpad), and I can't get fcitx to work

the input-layout I want is "(US, International with dead keys)" if that helps

edit 1: is there any tip to get fcitx5 working?

edit 2: when running the config program i get You're currently running Fcitx with GUI, but fcitx5-config-qt couldn't be found. Now it will open config directory.

edit 3: running fcitx5-remote on the terminal, I always get 0

luccahuguet avatar Jan 24 '24 16:01 luccahuguet

it seems my dir does not have this file (only input-default and input-touchpad), and I can't get fcitx to work

the input-layout I want is "(US, International with dead keys)" if that helps

Here, use this

gabriele2000 avatar Jan 24 '24 19:01 gabriele2000

it seems my dir does not have this file (only input-default and input-touchpad), and I can't get fcitx to work the input-layout I want is "(US, International with dead keys)" if that helps

Here, use this

thank you!

luccahuguet avatar Jan 25 '24 00:01 luccahuguet

Here, use this

Which just contains a xkb_configfile with contents: (rules:"",model:"",layout:"us",variant:"deadkeys",options:None)\n for anyone else trying this.

juhp avatar Apr 17 '24 07:04 juhp

Keeping an eye on this. I have been trying to get fctix-anthy setup but have not been successful in doing so. Has anyone managed to do this themselves yet? I prefer Anthy over Mozc as it defaults to romanji>hiragana input.

AMoonRabbit avatar Aug 12 '24 14:08 AMoonRabbit

Quick question... how can I change keyboard input, before the option will be available on cosmic-settings? Currently I have english language for the interface, but I'd like to set the keyboard to Italian, since I'm using an Italian keyboard. Currently I have no clue how to enforce that in COSMIC

Edit ~/.config/cosmic/com.system76.CosmicComp/v1/xkb_config. The option most interesting for you should be layout.

We edit that and have English and Greek but we cannot setup a keyboard shortcut for changing it yet

anaTropeas avatar Aug 16 '24 17:08 anaTropeas

fcitx5 works but it uses same input method for all applications regardless per application settings.

NgoHuy avatar Sep 04 '24 15:09 NgoHuy

fcitx5 works but it uses same input method for all applications regardless per application settings.

it only works on some applications: firefox, telegram, ghostty. it does not work with google chrome, brave, electron applications and all cosmic applications. Some applications, it requires system delegation. EDITED: it works with chrome, brave with --gtk-version=4 and electron 33 with text-input-version 3. But not cosmic applications

NgoHuy avatar Sep 05 '24 10:09 NgoHuy