ibus-fbterm enhancement for IBus 1.5

ibus-fbterm 1.0.1 is available now in Fedora 24.

# dnf install --enablerepo=rawhide ibus-fbterm

I have integrated Fedora internal patches in the latest ibus-fbterm.
The enhanced ibus-fbterm has the several features to work with IBus 1.5:

  • Show pre-edit text of input method.
  • Show lookup table of input method.
  • Bind Super-space to switch IBus IMEs(input method engines).
  • Show IME switcher window.
  • Run ‘loadkeys’ command to set XKB.

The man page explains with detail.

You also needs to install ibus and any input method engines likes ibus-anthy.

  1. Run ibus-setup, select “Input Method” tab and configure the IBus input method engines on GUI before go to the console
  2. Reboot the system
  3. Enter ‘e’ to edit the Grub line
  4. Add ‘vga=ask 3’ at the end of the line of “…vmlinuz…” and type Ctrl-x [1]
  5. Type Enter and show the video modes and type a vide mode and Enter [2]
  6. Log into the console with the permission to modify the frame buffer
  7. Run ibus-fbterm
  8. Confirm the configured IBus input method engines with ‘gsettings’ command:

    # gsettings get org.freedesktop.ibus.general preload-engines
  9. Super+space can switch the first two engines and Super+space+space can show the engine list and Enter key can enable the selected engine on the engine list [3]
    IBus engine switcher window on ibus-fbterm
  10. Now you can use the selected IBus engine
    ibus-anthy on ibus-fbterm

ibus-fbterm runs ‘loadkeys’ command to set XKB layout. If you enable ‘xkb:us::eng’ engine, ibus-fbterm runs ‘loadkeys us’.
Typing ‘exit’ can exit the ibus-fbterm.

ibus-fbterm does not use fbterm protocol so that fbterm does not bind Contrl+space and ibus-fbterm does not have the private headers and codes from fbterm. And ibus-fbterm has a limitation with modifiers keys.
I confirmed Super-space and Control-space works fine with ibus-fbterm but other modifiers keys do not work.
I added a workaround if type Escape key, it could bind Shift key. E.g. Escape and space key can generate Shift-space key.

Unfortunately Grub console does not change the keymaps on console and I filed a bug.

[1] The latest Fedora does not enable the frame buffer by default and ‘vga=ask’ can call the VGA setup dialog.
[2] Need a 32bit video mode for the frame buffer. E.g. 1024x768x32
[3] VT mode cannot handle modifiers keys so use Enter key instead of key release.

Posted in IBus | Tagged , , , | Leave a comment

IBus-Anthy 1.5.8

ibus-anthy 1.5.8 is now released, which is available in Fedora 22 or later.
# dnf update --enablerepo=updates-testing ibus-anthy

This release updates the Emoji dictionary and add the Emoji Variation Selectors.

E.g. variation selector emoji presentation (VS16):
Convert “えんびつ” and “からー” with Emoji dictionary, then ‘✎️’ (U+270E and U+FE0F) can be output.

E.g. variation selector text presentation (VS15):
Convert “えんぴつ” and “てきすと” with Emoji dictionary, then “✎︎” (U+270E and U+FE0E) can be output.

Here is the release note.

Posted in IBus | Tagged , , , | Leave a comment

IBus 1.5.12

IBus 1.5.12 is now released and a bug fix release.
The major change is to fix the coordinate of the IME lookup window and IBus property panel when dual monitors are used.
IBus XKB engines, aka ibus-engine-simple, now uses ISO 639-1 language codes instead of ISO 639-2 ones for the size of panel icons.
Here is the release note and download site.

Posted in IBus | Tagged , , , | Leave a comment

LINE Messenger on Linux

Recently I packaged purple-line in Fedora 22 or later, which is the plugin of LINE Messenger for pidgin:

# dnf install purple-line

You can see the plugin on pidgin.

Posted in RedHat | Tagged , | Leave a comment

IBus 1.5.11 is released

Now IBus 1.5.11 is released:

1.5.11 is available in Fedora 23.

  1. User compose file($HOME/.XCompose) is supported in IBus XKB engines
    Note: XKB engines load en_US compose table(/usr/share/X11/locale/en_US.UTF-8/Compose) on any locales.
    E.g. In case you select ‘JP’ layout, Run ‘setxkbmap -option compose:rctrl’ and you can output ‘©’ with Right Ctrl + ‘O’ + ‘C’.
  2. Put Property Panel in bottom right in KDE5
  3. Show IBus engine icon in KDE5
  4. Show the prefix string of XKB layouts in KDE5
  5. Engine Property on IBus Panel Icon
    ibus 1.5.11 + ibus-anthy 1.5.7 can show the input mode on the panel icon [1]:

[1] Here is the patch in the ibus-anthy side. This adds “icon_prop_key” tag for an IBusProperty key in /usr/share/ibus/component/anthy.xml .

Posted in IBus | Tagged , , , | Leave a comment


Recently I updated ibus-fbterm to work with ibus 1.5.
My patches are available here:

Now the patched ibus-fbterm 0.9.1-22 is available in Fedora 21 or later.
For installation:

# dnf install --enablerepo=updates-testing ibus-fbterm
# rpm -q ibus-fbterm

For upgrade:

# dnf update --enablerepo=updates-testing ibus-fbterm
# rpm -q ibus-fbterm

You also needs to install ibus and any input method engines likes ibus-anthy.

  1. Reboot the system
  2. Enter ‘e’ to edit the Grub line
  3. Add ‘3’ at the end of the line of “…vmlinuz…” and type Ctrl-x.
  4. Log into the console with the permission to modify the frame buffer
  5. Run ibus-fbterm-launch
  6. Type Ctrl+space
  7. Run ibus engine $your_engine

This example enables ibus-anthy.
Ctrl+space is bound by fbterm and it toggles to enable and disable the engine.
Probably I will think to import ibus-fbterm to ibus core since the web page of ibus-fbterm is no response.

Posted in IBus | Tagged , , , | Leave a comment

IBus panel icon in plasma-desktop KDE5

IBus 1.5.10 was released recently.
It can show the IBus panel icon in KDE5. KDE5 no longer enables notification area by default so this version communicates with KNotification via DBus instead of GtkStatusIcon.
IBus panel icon in KDE5

KDE5 is available in Fedora 22 or Ubuntu 14.10 and IBus 1.5.10 is integrated in Fedora 22.

The IBus panel checks the environment value XDG_CURRENT_DESKTOP which is set by the login manager likes GDM.
If XDG_CURRENT_DESKTOP=KDE, ibus panel shows the ibus icon connecting KNotification.
If not, ibus panel shows the ibus icon with GtkStatusIcon.
Then if you run startkde on xterm, you need to set XDG_CURRENT_DESKTOP=KDE before you launch KDE5.

If you use KDE4, the configuration can be disabled in the ibus build time and ibus always enables GtkStatusIcon. E.g.

# ./configure --disable-appindicator --prefix=/usr
# make

There are two known problems in IBus Indicator for KDE5 plasma-desktop.
One is that KNotification requires icon theme directories to show the icons. Many ibus engines have the custom paths for their icons and send the full path to GtkStatusIcon. If their engines wish the custom paths, the paths need to be icon theme paths. Probably it would be easy to move the icons to the standard theme paths, e.g. /usr/share/icons/hicolor. ibus-anthy is already done.
Another is KNotification does not support to draw the string icon under GTK3. It needs to send QIcon or something so currently IBus XKB engines always show ibus-keyboard icon instead of the strings by layouts.
I filed https://bugs.launchpad.net/bugs/1403451
Maybe KNotification needs to convert a string to QIcon or IBus panel needs to load QT libraries.

IBus 1.5.10 also has the feature to hide IBus engines on gnome-shell 3.16 lock screen so that preedit text is not shown in password.

Posted in IBus | Tagged , , , | 2 Comments