LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   GTK apps not respecting Compose Key (https://www.linuxquestions.org/questions/slackware-14/gtk-apps-not-respecting-compose-key-788805/)

josiah 02-12-2010 08:33 PM

GTK apps not respecting Compose Key
 
I often have to use accents, umlauts, and even sometimes an ogonek. QT apps work just fine. GTK apps used to work fine. I don't think there was a problem before Slackware 13.0, and though I've seen this problem described elsewhere on the 'net, the solutions seem Gnome-centric and don't work for me.

I set my .Xmodmap file to give me a Compose Key (Multi_key) with ralt and lwin. On my computer, this does the trick:

Code:

keycode 108 = Multi_key
keycode 133 = Multi_key

I've also set both ralt and lwin to be compose keys in my xorg.conf:

Code:

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "kbd"
  Option "XkbModel" "pc101"
  Option "XkbOptions" "compose:lwin"
  Option "XkbOptions" "compose:ralt"
EndSection

The non-Gnome-centric solutions involve adding to the ~/.gtkrc-2.0 one of the following lines:

Code:

GTK_IM_MODULE="xim"
or
Code:

GTK_IM_MODULE="uim"
Neither of these seem to work for me.

Though the problem seems independent of WM/DE choice (has been present in all I've used), I generally use E16. I have tried removing redundancy (i.e., only setting the Multi_key option in ~/.Xmodmap, or, conversely, only setting it in xorg.conf; or only setting it for ralt or lwin exclusively). Any ideas?


All times are GMT -5. The time now is 09:36 AM.