Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xmodmap ignored by GTK apps
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lexming
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2007
Posts: 123
Location: Barcelona

PostPosted: Fri Jul 26, 2013 9:15 pm    Post subject: [SOLVED] Xmodmap ignored by GTK apps Reply with quote

I used xmodmap to remap one key to <dead_greek>, which is useful to write classic greek characters. The thing is that the remap works perfectly on rxvt, but it is completely ignored by all the GTK apps. 8O

My system is nothing fancy, just Openbox. The xmodmap command is placed on my .xinitrc and I start my session through startx (no display manager at the moment). Additionally, xev correctly reports the <dead_greek> keycode every time I press the corresponding key.

So, the <dead_greek> is not reaching gtk apps for some reason, or gtk apps are ignoring it... I'm clueless :?

Thanks in advance


Last edited by lexming on Sat Jul 27, 2013 12:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
lexming
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2007
Posts: 123
Location: Barcelona

PostPosted: Sat Jul 27, 2013 12:34 pm    Post subject: Reply with quote

Good! This is solved!

I had to explicitly set in .xinitrc the GTK_IM_MODULE environment variable to
Code:
export GTK_IM_MODULE="xim"
Now I can write α, β, γ... with two keystrokes :D
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