Dead Keys are not Dead.

Questions about applications and software
Forum rules
Before you post please read this

Dead Keys are not Dead.

Postby Maxi on Mon Apr 09, 2012 6:00 am

Hello!
[Green Newbie here]

First of all, as you will understand this post maybe should not be in hardware support...

Well, I have been using Linux Mint 12 in my Sony Vaio VGN-FW51ZF for a while, I've always had my Dead Keys working properlly... there was no problem.

Recently I had to write something in Japanese and I installed iBus as it was written in some guide most likely on this forum.
After doing so (when not using japanese alphabet) I could not use the dead keys, they would simple not generate any output.
After browsing google for help I got to the conclusion it was a known issue with iBus and there was not much I could do about it.
So, since I've had done what I wanted in Japanese and I did not intent to keep on writing Japanese in this computer I uninstalled iBus and rebooted.

Now my Dead Keys "work too well". When I press them I get immeadiatly the character.
(If I press ´ and after "a" I get: ´a
and not á as I should...) - I copied the right one from google just to explain.

This is a serious problem because I cannot write anything understandable in my language (portuguese) - I put this post here as there are many languages that need those characters regulary.

And, as I told you isn't exactly a hardware recognition problem because before installing and then uninstalling iBus everything was working as it should! (Howver I don't exactly know where should I post this :roll: )

I hope someone can help me...

Thanks in advance,
Maxi
Maxi
Level 1
Level 1
 
Posts: 10
Joined: Sat Mar 31, 2012 12:33 pm

Linux Mint is funded by ads and donations.
 

Re: Dead Keys are not Dead.

Postby Oscar799 on Tue Apr 10, 2012 4:06 am

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8169
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Dead Keys are not Dead.

Postby akanashiro on Fri Apr 13, 2012 10:14 pm

Hi, I'm using LM 12 KDE Edition 64bit and I had problems with deadkeys too.
I found the problem was with paths in QT module.
In /home/username/.xinput.d you should have a link to an input method.
I've copied the the file to my home and changed the original statement:

/usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so

to:

/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so

Code: Select all
XIM=ibus
XIM_PROGRAM=/usr/bin/ibus-daemon
XIM_ARGS="--xim"

if [ -e /usr/lib/gtk-3.0/*/immodules/im-ibus.so ] \
   && [ -e /usr/lib32/gtk-2.0/*/immodules/im-ibus.so ]
then
    GTK_IM_MODULE=ibus
else
    GTK_IM_MODULE=xim
fi

if [ -e /usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqtim-ibus.so ]; then
        QT_IM_MODULE=ibus
else
        QT_IM_MODULE=xim
fi

if [ -e /usr/lib/clutter-imcontext/immodules/im-ibus.so ]; then
        CLUTTER_IM_MODULE=ibus
fi

DEPENDS="ibus, ibus-gtk|ibus-qt4|ibus-clutter"


Now I can use deadkeys in gtk/qt applications.
Hope it helps
User avatar
akanashiro
Level 1
Level 1
 
Posts: 6
Joined: Mon May 18, 2009 10:01 am

Re: Dead Keys are not Dead.

Postby nicocube on Sat Apr 21, 2012 1:59 am

Thanks you saved my accents. :mrgreen:

In my case, Linux Mint 32bit with Gnome3, I had to change the first if statement with the following path : /usr/lib/i386-linux-gnu/gtk-?.0/*/immodules/im-ibus.so

Code: Select all
XIM=ibus
XIM_PROGRAM=/usr/bin/ibus-daemon
XIM_ARGS="--xim"

if [ -e /usr/lib/i386-linux-gnu/gtk-?.0/*/immodules/im-ibus.so ]
then
    GTK_IM_MODULE=ibus
else
    GTK_IM_MODULE=xim
fi

if [ -e /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so ]; then
   QT_IM_MODULE=ibus
else
   QT_IM_MODULE=xim
fi

if [ -e /usr/lib/clutter-imcontext/immodules/im-ibus.so ]; then
   CLUTTER_IM_MODULE=ibus
fi

DEPENDS="ibus, ibus-gtk|ibus-qt4|ibus-clutter"
nicocube
Level 1
Level 1
 
Posts: 1
Joined: Sat Apr 21, 2012 1:54 am


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 18 guests