You are not logged in.

#1 2010-08-11 19:20:27

KBM
Member
From: Guadalajara, Jal
Registered: 2010-05-18
Posts: 11

Problem with accents on QT applications

When I had just installed Skype or Texmaker I could use accents by pressing the accent key, and then the key that I wanted the accent on, for example ´ + i = í, but now, applications such as these, including qtconfig, behave this way:  ´ + i = ´i.

No problems in GTK applications whatsoever, I can't recall if the problem began when I installed ibus or installing the fonts here for oriental characters http://wiki.archlinux.org/index.php/Fon … Vietnamese.

My keyboard layout is "latam", here is the content inside /etc/hal/fdi/policy/10-keymap.fdi:

?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">latam</merge>
      <merge key="input.xkb.variant" type="string" />
    </match>
  </device>
</deviceinfo>

I have a similar configuration, also, in /etc/X11/xorg.conf.d/10-evdev.conf :

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
    Option "XkbLayout" "latam"
EndSection

Keymap is also set in rc.conf and locale=en_US.utf8, locales have been generated (locale-gen) for es_MX.utf8 and ja_JP.utf8. I'm not sure where to look for, I have also added to my .bashrc the following lines, even though, qtconfig only shows xim as IM (sad Face):

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

I can use ibus on skype or texmaker though, for japanese input, i only have trouble with accents, i can even see "ñ" character and I can paste á é í ó ú characters inside QT applications, I just can't input them.

Any help would be very much appreciated.
Thanks in advance.

Offline

#2 2010-08-14 17:43:48

KBM
Member
From: Guadalajara, Jal
Registered: 2010-05-18
Posts: 11

Re: Problem with accents on QT applications

OK, I've looked around a bit, and I just needed to install from aur repository

ibus-qt

It is now solved. I hope this post has not been completely useless.

OK, just to finish and make things clear (this is my last post here as it seems I'm just spamming) Skype doesn't work with ibus nor scim in a x86_64 installation, ibus-qt DID solve my problem with accents within 64 bit qt applications, but not skype (32 bit qt app). Anyway, I'm guessing lib32-ibus would fix this issue, but it's not working now.

I'll try to fix this issue, if somebody knows how to fix this without lib32-ibus, which I'm not sure is actually going to work, please let me know.

Last edited by KBM (2010-08-15 20:42:28)

Offline

#3 2013-03-16 22:36:59

michaudg
Member
Registered: 2009-12-11
Posts: 11

Re: Problem with accents on QT applications

KBM wrote:

OK, I've looked around a bit, and I just needed to install from aur repository

ibus-qt

It is now solved. I hope this post has not been completely useless.

OK, just to finish and make things clear (this is my last post here as it seems I'm just spamming) Skype doesn't work with ibus nor scim in a x86_64 installation, ibus-qt DID solve my problem with accents within 64 bit qt applications, but not skype (32 bit qt app). Anyway, I'm guessing lib32-ibus would fix this issue, but it's not working now.

I'll try to fix this issue, if somebody knows how to fix this without lib32-ibus, which I'm not sure is actually going to work, please let me know.

Thanks for sharing! Having the same problem with french accent. Works with Qt apps after installing ibus-qt package.

Last edited by michaudg (2013-03-16 22:37:19)

Offline

#4 2013-05-13 09:02:25

kaveiros
Member
From: Greece
Registered: 2010-09-08
Posts: 21

Re: Problem with accents on QT applications

Problem persists with greek accents. Do you mean ibus-qt-git? What is the difference between this package and ibus-qt from community?

Offline

#5 2013-11-22 16:58:50

tobal
Member
Registered: 2013-11-22
Posts: 1

Re: Problem with accents on QT applications

I use Lyx and TexMaker because they are multiplatform.
I've just installed Gummi and i like it its minimalism and rapidly. Great!

Offline

#6 2013-11-24 16:08:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Problem with accents on QT applications


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB