rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.

Home Page:http://kinto.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IBus Issue under Manjaro Gnome Edition

rbreaves opened this issue · comments

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

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

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