-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add InputMethod View #287
Add InputMethod View #287
Conversation
Would it be possible to check if the iBus daemon is running and offer to start it in this UI? |
@danrabbit Done :) |
I am afraid this crashes for me when I try to switch ibus on (or if it is already on). Looks like an infinite loop of some kind. Terminal output is:
|
Backtrace is:
|
@jeremypw Should be good now. |
I had problems getting Japanese input to work using yesterday's version but it may not be due to the PR though. I tried ibus-anthy, ibus-mozc, fcitx-mozc and some other input engines. None gave any suggestion list when switched to with |
The "Show icon on system tray" option doesn't appear to do anything. Does this require a special branch of the keyboard indicator? |
@jeremypw Edit: I misunderstood you're saying, now I confirm this issue. A new engine appears in the selection list if I excuse
Thanks, I forgot to add this because I don't use it 😅 |
@ryonakano Thanks - I can now install ibus-anthy. But I still have to log out before I can choose it. Also, if I uninstall ibus-anthy (with AppCenter) and then re-open Switchboard, Japanese-Anthy is still in the list of available engines. If we can get to the point that it is possible to install and select an input engine, close Switchboard and immediately start using that engine that would be ideal. There is a "Type to test your settings" entry on the Input Method page which implies you should be able to start type e.g. Japanese in that entry once you have selected Japanese-Anthy (and switched to that input method). I am still having problems getting Japanese input to work on my current laptop although it works perfectly on my old laptop with the same version of elementary and identical settings. Maybe a hardware issue?? |
@ryonakano we should probably merge that functionality with the keyboard indicator, I'd imagine. So yeah I would say we should probably remove that setting. Cass and I have been talking about making indicator hiding in one central place and we wouldn't have to implement a bunch of keys across System Settings like this |
I think closing and restarting System Settings is not ideal for the purpose of updating the engines list. Users may feel it crashes.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a quick pass through the code and left some comments.
Regarding some of the apt daemon stuff, do you think it's at all possible to use PackageKit for this instead? I'm sure our Fedora friends would be greatful for that :)
@danrabbit Thank you for your review, I addressed these points. Regarding the use of PackageKits, I've never used them so I'll check docs and some codes 👀 |
Now requires Odin |
I've been struggling with PackageKit. I found few samples and have not yet understood how to use it… |
@ryonakano okay no problem. I'll make a point to take a look at this again Monday. Would be great to have it merged :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, let's do this!
Thank you my friends ^_^ |
Fixes #22
Related to #173
Derive from https://github.com/ele-l10n-cjk/switchboard-plug-inputmethod but some code originally brought from Locale Plug or Keyboard View of Keyboard Plug
I would appreciate any opinions, suggestions, or ideas.
Before Testing
if your system language is not CJK, you need to open Terminal and runibus-daemon -drx
, otherwise anything is shown in the engines list or the popover. This is because ibus-daemon does not run automatically in non-CJK languages on elementary OS (see also: ibus configuration issue default-settings#115 and No easy way to input CJK languages os#103).libibus-1.0-dev
being installed.