![]() Registered Member ![]()
|
Hi, I've got my compose key set up so that I hold shift then right alt (then release both). This works fine in most apps (e.g. Firefox, Thunderbird, gedit), but not in kate, konqueror or konsole. For example, normally Compose Key, "o", "o" should produce a degree sign °, but in (at least) the three KDE apps above, I just see "oo". Is there a way to fix this?
In case the settings are important: 3rd level shortcut = Right Alt, Shift+Right Alt is Multi_Key and Keyboard model = Generic | Generic 104-key PC. I've seen some threads on this, but nothing identical (e.g. running KDE apps within gnome). I am running KDE.
Last edited by sparhawk on Tue Dec 11, 2012 10:00 pm, edited 1 time in total.
|
![]() Administrator ![]()
|
When using the shortcut dialog, does the compose key + o register as anything? I suspect the compose key may somehow be triggering a shortcut of some description, blocking it from working properly.
To the best of my knowledge, the compose key works at the X level - so the behaviour should not change depending on the application.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I'm not sure how to check if a particular key combination is a shortcut, but I certainly cannot recall setting a shortcut with the compose key.
Also, the example of Compose, o, o was just one example. I've also tried some other combinations that I use frequently (and set in my custom compose file), such as Compose, -, - (en dash), and Compose, g, a, (α). |
![]() Administrator ![]()
|
Does a desktop environment neutral application such as xterm work correctly?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yes, it works fine. |
![]() Administrator ![]()
|
Okay, this is quite odd... is Qt configured to use the appropriate input system - such as IBus? (see https://bugs.launchpad.net/ubuntu/+sour ... bug/487997 )
To confirm this is a Qt level issue: Does it work in a Qt-only application such as qdbusviewer?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I don't quite understand what Qt is, but I can confirm that the compose key does not work in qdbusviewer.
I also don't quite understand the linked bug. It says "fix released" over 2.5 years ago? Or is there something that I've mis-configured that I've missed? Thank you for your help so far. |
![]() Administrator ![]()
|
Qt is the toolkit which KDE applications are written in. The equivalent to Gtk for GNOME applications (only Qt provides quite a lot more).
Is the environment variable QT_IM_MODULE set, and is ibus-qt4 installed?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
ibus-qt4 is installed.
However, QT_IM_MODULE seems to be empty.
I tried to set it using
but I presume I need to log out and in? Or should I set it to xim instead? Also, I presume it should be set somewhere that is not specific to my user? Is it possible that my installation was a bit shonky? (I installed kubuntu over a stock Unity/Ubuntu installation.) |
![]() Administrator ![]()
|
Unfortunately I don't know too much about how to configure xim/ibus.
After exporting that command, if you run an application such as "kwrite" from that terminal, compose keys should then hopefully work for that application.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I tried setting it to both xim or ibus, but compose key still didn't work. Thank you for your help, though. At least we may have isolated the problem. It seems like I've had a few problems installing kubuntu over vanilla ubuntu, so it might be worth my while doing a clean install.
|
![]() Administrator ![]()
|
Have you tried installing the "kubuntu-desktop" package?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I installed kubuntu-full (which includes kubuntu-desktop, I believe).
|
![]() Administrator ![]()
|
Can you please have a look at https://bugs.kde.org/show_bug.cgi?id=185717 - it would seem that uninstalling those other input systems (such as ibus) may cause this issue to disappear (regardless of the environment variables).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
What would the ramifications be of uninstalling ibus? Would I then be unable to send input to gtk apps and/or need to modify GTK_IM_MODULE?
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft