You are not logged in.
Hi everybody,
I’m having a small issue using ibus-pinyin with two screens on a thinkpad x201.
Generally, I’m perfectly happy with the functionality of Ibus, it works just the way I want, except for the positioning of the character selection window.
The second screen not being attached, everything is fine, but with a second monitor attached (I use ”xrandr --output LVDS1 --mode 1280x800 --pos 0x0 --output VGA1 --mode 1280x1024 --pos 1280x0” in .xinitrc), the following problem occurs:
Ibus still works fine and I have no problem using it when typing on the larger screen, but when typing on the small (laptop) screen, the popup window for character selection is just below the lower edge of the screen and I cannot see the characters I am about to choose.
I was searching in vain for a config file for ibus, and the configuration window itself is rather minimalistic.
kernel 3.3.1-1-ARCH
ibus-daemon 1.4.1
ibus-pinyin 1.4.0
xrandr 1.3.5
xmonad 0.10
Any way to change the position of the character selection window, or any other suggestions? Your help is greatly appreciated!
xiliyi
edit: I start ibus in .xinitrc with “ibus-daemon --xim &”
Last edited by xiliyi (2012-04-11 12:24:08)
Offline
I discovered, ibus saves its settings in a registry file. Accessing this with gconf-editor, I found all sorts of options that actually had an effect, but the interesting ones, the “x” and “y” entries don’t seem to do anything at all. They are set to -1 in my case, and changing them did not change ibus’s behaviour.
However, I found two temporary, annoying workarounds:
One is to set the panel orientation option to 1 instead of 0, which sets it to vertical. This will put the character list to choose from to the bottom left side of the screen, which is fine, but I don’t like the vertical design. It works, though. *sigh*
The second solution is to manually restart ibus from the tray icon context menu (I use xmobar). This mysteriously puts the panel to the top left, but its behaviour reverts to the previous one as soon as I use ibus-pinyin on the large screen. This is not an option.
I’ll opt for the first workaround and hope you come up with a better idea. Maybe I’ll eventually get used to the vertical design…
Thanks in advance.
xiliyi
edit:
I have to clarify this: When I mention panel, I mean lookup table. Just learned the correct term (I’m not a native speaker).
Also, this is very interesting: For some reason, vertical orientation works but for the letter “o”. When I type “o”, the lookup table still drops beneath the screen. I thought this may have to do with “o” being a pinyin syllable in itself, but it doesn’t happen with “e” or “a”. My next (correct, this time) guess was, it’s somehow connected to “o” itself producing but four possible characters, whereas “e” and “a” need several “lookup table screens” (ibus is set to suggest 7 characters/words per row).
I was able to reproduce this with the only other syllable I found that has such few occurences: “shua”. Additionally, starting with “o” and continuing with “y” lifts the lookup table up into the visible area, since there are a couple of entries like “哦也”, “哦耶” and such.
So, although the lookup tables for entries with a lot of suggestions (that need several tables) and entries that only need one look exactly the same (they do. The “next lookup table row button looks active all along), ibus-pinyin will drop the table below the screen, if there is just one row of entries to choose from.
Last edited by xiliyi (2012-04-11 16:51:13)
Offline