Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Special keys not recognized in some applications
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cweiske
n00b
n00b


Joined: 17 Jun 2004
Posts: 42

PostPosted: Sat Oct 03, 2009 1:46 pm    Post subject: [solved] Special keys not recognized in some applications Reply with quote

After the upgrade to X 1.6.3 Gtk applications do not detect special keys anymore.
Since I use a macbook, I map the right Apple key to Iso level 3 shift via xmodmap:
> keycode 134 = ISO_Level3_Shift NoSymbol Pointer_Button3

Now I can press <right apple>+l = @ or <right apple>+6 = ]. This works in some applications (xfce terminal, xterm, xev, konqueror, kdiff3), but not in Gtk applications (Mousepad, claws mail, meld etc.) and Opera.
This is my problem - previously it worked, now after the latest upgrade, it does not anymore.
Did someone experience and solve the same problem?


Last edited by cweiske on Sun Oct 11, 2009 7:32 am; edited 1 time in total
Back to top
View user's profile Send private message
joyping
n00b
n00b


Joined: 16 Aug 2003
Posts: 19
Location: berlin

PostPosted: Sun Oct 04, 2009 5:53 pm    Post subject: Reply with quote

Hi the same is happening with me. Also on a macbook.
There is a Bugreport for Ubuntu: http://ubuntuforums.org/showthread.php?p=7931422. I
I filled one for gentoo: http://bugs.gentoo.org/show_bug.cgi?id=281755
But no reaction so far. I was beginning to think that I'm the only one using gentoo on a macbook.
It still isn't reported upstream, maybe i need to do this.
I tried almost every possible combination with keyboard layouts and models on gnome. Only connecting an external keyboard and choosing explicitly "Right Alt, Shift+Right Alt key is Multi_Key" in gnome-settings get the left alt-key (AltGr) to work in gnome (gtk-applications). Terminal apps work just fine. But i don't want to go to mutt again ;)...
Seems like a bug in GTK+ or gnome.
Back to top
View user's profile Send private message
joyping
n00b
n00b


Joined: 16 Aug 2003
Posts: 19
Location: berlin

PostPosted: Wed Oct 07, 2009 6:49 pm    Post subject: Reply with quote

I found a solution to this problem, thanks to a german post: http://forum.ubuntuusers.de/topic/third-level-chooser-und-gtk/#post-2112685.
Probably a change, doubling the mapping of "ISO_Level3_Shift", in xorgs xkeyboard-config triggerd a bug in GTK+: https://bugs.freedesktop.org/show_bug.cgi?id=19500

A fix would be to clear mod4 with xmodmap or as a workaround change /usr/share/X11/xkb/symbols/pc, removing the line with Mod4. Apparently a patch for xkeyboard-config would the best.
Back to top
View user's profile Send private message
cweiske
n00b
n00b


Joined: 17 Jun 2004
Posts: 42

PostPosted: Sun Oct 11, 2009 7:31 am    Post subject: Reply with quote

Thanks! That worked for me, too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum