Comment #21 on issue 526 by francois.gombault: Dead keys (^`~ etc) don't work in XIM programs
http://code.google.com/p/ibus/issues/detail?id=526

Similar issue for me : using ibus with urxvt, dead keys do nothing.

Mainly typing in French or English, recently switched to ibus for Chinese because sunpinyin is very good.

With my layout, I use a few dead keys, mostly for French circumflex accent (ê) and similarly "rare" letters (ï). Hitting twice on the dead circumflex key should produce a ^, which I often use in regexps or programming.

I have in my .xsession
export GTK_IM_MODULE=ibus
export xmodifie...@im=ibus
export QT_IM_MODULE=ibus

Now from my experience :
 * Dead keys DO WORK in Firefox, OpenOffice.org 3.2, KDE apps, gtk2 apps
 * Dead keys DO NOT WORK in xterm, urxvt (my terminal of choice)

In urxvt, when I press a dead circumflex and then 'e', I simply get a non-accented 'e'. In urxvt when I press dead circumflex twice, instead of getting a '^', I get nothing.


ibus             1.3.7-1ubuntu3
ibus-gtk         1.2.0.20091215-1ubuntu4
ibus-qt4         1.2.0.20091217-1
ibus-sunpinyin   2.0.2-0ubuntu1
ibus-table       1.2.0.20100111-1
libibus-qt1      1.2.0.20091217-1
libibus1         1.2.0.20091215-1ubuntu4
libibus2         1.3.7-1ubuntu3
python-ibus      1.3.7-1ubuntu3

Physical standard US QWERTY keyboard

"bépo" (dvorak-like) layout

//- setxkbmap -print >$HOME/{this file}
//Sources of modifications:
//- http://wiki.mandriva.com/fr/Personnaliser_le_clavier
//- http://listserv.bat.ru/xkb/Message/154.html
//Activate with:
//- xkbcomp -w 0 -R/usr/share/X11/xkb/ $HOME/{this file} $DISPLAY

xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)" };
    xkb_types     { include "complete"  };
    xkb_compat    { include "complete"
           indicator "Caps Lock" {
                whichModState= Effective;
                modifiers= Alt;
            };
           indicator "Num Lock" {
                whichModState= Effective;
                modifiers= Shift;
            };
           indicator "Scroll Lock" {
                whichModState= Effective;
                modifiers= Control;
            };
  };
    xkb_symbols   { include "pc+fr(bepo)+inet(evdev)+ctrl(swapcaps)"    };
    xkb_geometry  { include "pc(pc105)" };
};

On this layout, the dead circumflex is located under the physical Y. See bepo.fr for reference.

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复