You are not logged in.

#1 2012-06-12 23:55:35

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

[Solved] BEPO keyboard and dead keys

Hello!

So, I'm using a French BEPO keyboard, and it works pretty well, till today.

Indeed, today, I wanted to write a greek letter, µ, but I couldn't. This letter is mapped to Alt-Gr+g.

However, when loading the bepo in the console, it's working well (in a TTY). This only affects QT or GTK applications so far (X).

This is the only one not working: my other dead keys just works like a charm (-> ´+i=í…)

My final purpose is to be able to type any simple greek letter as explained here (http://bepo.fr/wiki/Lettre_grecque_sous_Linux). But I need the mu lettre to work first…

I've tried GTK_IM_MODULE=xim, but then my normal deadkeys don't work anymore nor this alt-gr+g.

By default, I use:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

I also found out that alt-gr+/(L) is not working as a dead key (in order to type ø for example). (http://bepo.fr/wiki/Barre_inscrite)

I should, lastly, say that I use a typematrix keyboard which is build with BEPO on it.

Last edited by jiehong (2012-06-13 12:53:18)

Offline

#2 2012-06-13 07:06:08

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: [Solved] BEPO keyboard and dead keys

Hi,

I aslo use the BÉPO layout.
The Alt-Gr + G key changed in xorg with the last update of the xkeyboard-config package (happened on June 02 for me): this combination was the 'μ' greek letter, now it is the 'dead_greek' dead character. It is now what it should be so that is fine.
To type the 'μ' letter, you now type Alt-Gr+G, followed by M.

Note that this dead key works for me only if I use the xim input method. With other input method, some dead keys work, some others don't.
I don't use some variables to set the input method, I use dconf-editor (package dconf),
I set the key org/gnome/desktop/interface/gtk-im-module to xim (you don't have to restart for this change to take effect).

When I was trying to configure greek letters before the xkeyboard-config update, I also found out that when I have a ~/.Xcompose file, it kills all the dead keys of my layout, I don't know if this is a bug or if I'm doing something wrong. Try to remove yours.


take time to daydream, inspiration comes ...

Offline

#3 2012-06-13 10:36:26

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

Re: [Solved] BEPO keyboard and dead keys

In order not to deal with many issues at the same time, just in case, I have disables Ibus from launching and I've commented out my export variables as well. Thus, Ibus isn't on the way. I have also removed my .Xcompose.

I've set gtk-im-module to xim as you said, and I even checked it's also the case with qtconfig (since I have like 1 or 2 applications in Qt).

However, it doesn't work. To be precise, Alt-Gr+G and Alt-GR+L doens't work, but ^/´/`˘… work pretty well, as usual.

I have checked my /usr/share/X11/xkb/symbols/fr, bepo section, and you're right, now Alt-Gr+G is bound to dead_greek though.

Offline

#4 2012-06-13 10:49:59

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

Re: [Solved] BEPO keyboard and dead keys

News:
I wanted to know if it was related to X11 or to Xfce so I just installed KDE. Guess what? It's working well.
I, then, installed Gnome 3, and, suprisingly, it's also working well.

Just to make sure, I switched back to Xfce to see that it's still not working.

-> It's an issue with Xfce only.

Last edited by jiehong (2012-06-13 11:01:05)

Offline

#5 2012-06-13 11:28:36

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [Solved] BEPO keyboard and dead keys

For me (TypeMatrix, bépo, Xfce) it works in Qt apps but not in Gtk apps…

Offline

#6 2012-06-13 12:20:48

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

Re: [Solved] BEPO keyboard and dead keys

Here is a table to sum up what we have:

| What               | Working? |
|--------------------+----------|
| Qt app in KDE      | yes      |
| Qt app outside KDE | yes      |
| GTK app in Xfce    | no       |
| GTK app in KDE     | no       |
| GTK app in Gnome3  | yes      |

These results are true if we set xim as input method in qtconfig and in dconf-editor. (no exported variables or something like that).

If we add these lines to .bashrc:

export GTK_IM_MODULE=xim
export XMODIFIERS=@im=xim
export QT_IM_MODULE=xim

Here is what we get:

| What               | Working? |
|--------------------+----------|
| Qt app in KDE      | no       |
| Qt app outside KDE | no       |
| GTK app in Xfce    | no       |
| GTK app in KDE     | no       |
| GTK app in Gnome3  | no       |

Offline

#7 2012-06-13 12:43:55

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [Solved] BEPO keyboard and dead keys

If I use

GTK_IM_MODULE=xim mousepad

then the greek dead key works! (Note: my locale is en_GB.UTF-8.)
Edit: other dead keys work too.

Last edited by stqn (2012-06-13 12:46:40)

Offline

#8 2012-06-13 12:51:47

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

Re: [Solved] BEPO keyboard and dead keys

Hey! With this line alone it's working!

Thanks stqn, that's wonderful!

I switch this thread to solved then.

Offline

Board footer

Powered by FluxBB