![]() Registered Member ![]()
|
Most of my applications are ignoring my Compose file. Until last week, Firefox and emacs were reading it just fine, but my last update caused Firefox to stop reading it too.
In particular, I've customized my file to do things like: '+c => c-cedilla, and '+t => 't (just like the Windows version of the US-International keyboard). As we can see, emacs is reading the Compose file (in fact, it's also reading .XCompose, which is a copy of it!): gusl@gusl-laptop:~/Documents$ strace -e open emacs --nofork |& grep Compose open("/usr/share/X11/locale/en_US.UTF-8/Compose", O_RDONLY) = 6 open("/home/gusl/.XCompose", O_RDONLY) = 6 open("/home/gusl/.XCompose", O_RDONLY) = 6 open("/usr/share/X11/locale/en_US.UTF-8/Compose", O_RDONLY) = 6 open("/home/gusl/.XCompose", O_RDONLY) = 6 open("/home/gusl/.XCompose", O_RDONLY) = 6 But kate and Firefox aren't: gusl@gusl-laptop:~/Documents$ strace -e open kate --nofork |& grep Compose gusl@gusl-laptop:~/Documents$ strace -e open firefox --nofork |& grep Compose (no output) Any thoughts? Gustavo |
![]() Administrator ![]()
|
Are "QT_IM_MODULE" and "GTK_IM_MODULE" set? You may wish to see https://wiki.edubuntu.org/ComposeKey
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thank you, thank you!
I had not set these environment variables at all. By following the steps in your link ("Persistent Configuration" section), I was able to make Firefox and kate use my layout, regardless of where I run them from. Because the link is to a wiki, I am pasting the text below, for future reference. Gustavo ----------------- Persistent Configuration * Copy the setup file /etc/X11/xinit/xinput.d/default to /etc/X11/xinit/xinput.d/xim $ sudo cp /etc/X11/xinit/xinput.d/default /etc/X11/xinit/xinput.d/xim * Edit the file /etc/X11/xinit/xinput.d/xim and set the input method for GNOME and KDE to xim ... GTK_IM_MODULE=xim QT_IM_MODULE=xim ... * Create a link for the locale all_ALL (or the desired locale only): $ sudo ln -sf /etc/X11/xinit/xinput.d/xim /etc/X11/xinit/xinput.d/all_ALL * After a restart of the X server everything should work. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft