Skip to content
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

IBus Issue under Manjaro Gnome Edition #59

Closed
rbreaves opened this issue Mar 11, 2020 · 3 comments
Closed

IBus Issue under Manjaro Gnome Edition #59

rbreaves opened this issue Mar 11, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@rbreaves
Copy link
Owner

rbreaves commented Mar 11, 2020

First reported by @mlbaquerizo #44

This issue prevents wordwise from working correctly under Firefox or Chrome as either xkb or xdotool cannot switch keymaps until the IBus Panel is operating properly.

To set your IBus as the default method you can manually do this and logoff and back on. (I would have merged this as a fix already, but the panel being the other element prevents me from making any updates on this issue.)

Use xim to avoid the Firefox jail.

IBus has been started! If you cannot use IBus, please add below lines in ~/.bashrc, and relogin your desktop.
export GTK_IM_MODULE=xim
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=xim

You can do your own testing, if you want, by running these two commands out of the caret_status.sh file.

# org.freedesktop.ibus.panel

IBUSADD=$(cat ~/.config/ibus/bus/`ls ~/.config/ibus/bus -1rt | tail -n1` | awk -F'IBUS_ADDRESS=' '{print $2}' | xargs)

dbus-monitor --address $IBUSADD "path='/org/freedesktop/IBus/Panel',interface='org.freedesktop.IBus.Panel',member='FocusOut'" 2> /dev/null | grep --line-buffered -o -P '(?<=object path \"/org/freedesktop/IBus/InputContext_).*(?=[\"])'

A more general command, not involving the panel, but I still can't seem to get any output in the terminal with it either

dbus-monitor --address $IBUSADD "path='/org/freedesktop/IBus',interface='org.freedesktop.IBus'"

org.freedesktop.IBus can be inspected using d-feet, but that hasn't told me much. If anyone has any ideas it would be appreciated and I'll merge the fix in.

https://wiki.archlinux.org/index.php/IBus
ibus/ibus#2018

I am not sure why it looks like Pop_OS has the IBus service running twice, but it does work fine in Pop_OS.

Pop_OS 19.10
Screen Shot 2020-03-11 at 5 14 38 PM

Manjaro Gnome 19.10
Screen Shot 2020-03-11 at 5 15 04 PM

@rbreaves
Copy link
Owner Author

Something to reference for the future.
https://gist.github.com/adnan360/11aed4d206004f32153d83c2d475eb95

@rbreaves
Copy link
Owner Author

May want to look into interacting with something other than IBus for Arch based distros, but I don't know it could be solvable still.

https://bbs.archlinux.org/viewtopic.php?id=179385

@rbreaves
Copy link
Owner Author

Closing this is on the roadmap in general now for xkeysnail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant