It'd be nice to have some way to overwrite /etc/gtk-2.0/gtk.immodules

Bug #46226 reported by Guilherme Salgado
12
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Confirmed
Wishlist
Ubuntu Desktop Bugs

Bug Description

I use en_US as my locale but I hate having to use Alt-gr "," + c to get a cedilla, so I usually hack that file myself and add the "en" locale to the list under the cedilla module.

This is not optimal because I have to do that every time a new version of gtk is installed, so it'd be great if I could overwrite that somewhere that is not touched by gtk.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
importance: Medium → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
RogerLovato (roger-lovato) wrote :

Adding "en" in /etc/gtk-2.0/gtk.immodules, cedilla works fine, but only in gtk programs.

QT programs ' (acute) + c = ć

Revision history for this message
Johan Dahlin (jdahlin-deactivatedaccount) wrote :

Why isn't setting the environment variable GTK_IM_MODULE_FILE enough?

[However, it needs to be done pretty early on though, in your .xsession or so, so all programs pick it up]

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 46226] Re: It'd be nice to have some way to overwrite /etc/gtk-2.0/gtk.immodules

That is good enough for me, but I did a

  GTK_IM_MODULE_FILE=/usr/lib/gtk-2.0/2.10.0/immodules/im-ipa.so gedit

and the input method shown in gedit was still my system one. Am I doing
something wrong?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.