Registered Member
|
I'm on Linux Mint 17 KDE (Platform Version 4.13.3). I've mapped my right win key to compose key using
System Settings > Input Devices > Keyboard > Advanced > Position of Compose key > Right Win As far as I can tell, the compose key works in every program for most characters. But some ligatures don't work. For example, these work:
but these don't:
I'm able to use digraphs in vim to achieve these, e.g.
Here are some specs and environment info, etc:
Thanks, Mark |
Registered Member
|
I also notice that the musical notes do not compose, either:
# Musical alterations <Multi_key> <numbersign> <q> : "♩" U2669 # QUARTER NOTE <Multi_key> <numbersign> <e> : "♪" U266a # EIGHTH NOTE <Multi_key> <numbersign> <E> : "♫" U266b # BEAMED EIGHTH NOTES <Multi_key> <numbersign> <S> : "♬" U266c # BEAMED SIXTEENTH NOTES <Multi_key> <numbersign> <b> : "♭" U266d # MUSIC FLAT SIGN <Multi_key> <numbersign> <f> : "♮" U266e # MUSIC NATURAL SIGN <Multi_key> <numbersign> <numbersign> : "♯" U266f # MUSIC SHARP SIGN There are probably more, but I just noticed these in addition to the OP's missing ligatures. Also, my compose only seems to work in very few applications (i.e. note plasmoid, kate, dolphin) while others do not have compose working at all (i.e. firefox, chrome, LibreOffice, Thunderbird, Skype). My info (inxi -F output):
My keyboard (setxkbmap -print output):
|
|
Most important question here as well is "in what application in particular" - I tried KDE/Qt (w/ exported QT_NO_IM=1) and all mentioned ligatures work fine there.
Notice that the KDE config "just" enables the required kxb setting (what works), the support for this is client (toolkit) specific. |
Registered Member
|
I am not sure how to enable KDE/Qt (w/ exported QT_NO_IM=1). I just installed Linux Mint 17 KDE and went to the keyboard settings to enable my scroll lock and menu keys to act as compose. I do not get compose in either chrome or firefox: for instance, in this reply text box. It does not work in the address text box either, fwiw. I do not recall ever having compose work with LibreOffice (it does not for me now), so I chalked that up to LibreOffice. However, I have had the browsers and skype use compose when I was running Kubuntu 14.04 (and Mint 16 Xfce). How would I go about exporting QT_NO_IM=1? Is this an end-user thing, or a programming-specific thing? I was hoping for some settings file buried somewhere that I could edit and get things working with compose again. Finally, not to distract too much from the OP, but the ligatures mentioned still do not work, even on the apps where I can get compose working (kate, for instance). |
|
put a script into ~/.kde/env/qt_no_im.sh (might be ~/.kde4, check the output of "kde4-config --path config")
ensure the script is executable ("chmod +x ~/.kde/env/qt_no_im.sh") This will set the variable for the entire session (on next login) To just try it, ensure skype (or another Qt only application where compositing doesn't work) isn't running and start it from konsole
This will the most unlikely have any impact on chromium or firefox, though. Alternatively just enforcing xim may work (and work for Gkt+ applications as well)
You can likewise try them in konsole. About the missing ligatures: composition is done locale aware, the configuration is found in /usr/share/X11/locale/<locale>/Compose To print your locale, just type "locale" in konsole. The mapping (your locale -> composition locale) is done in /usr/share/X11/locale/compose.dir, ie. if you lookup that file for your configured locale, you'll know what <locale> is. (In very doubt or this was too confusing, just post the ouput of "locale" here Your former distro might have set another locale and/or different mapping and/or the actual composition configuration altered. --- I assume those are your bugreports? https://bugs.launchpad.net/linuxmint/+bug/1372041 https://www.libreoffice.org/bugzilla/sh ... i?id=84341 |
Registered Member
|
I believe I have found a work-around to my issues with Compose Key.
From THIS POST (a few years ago), I saw one user do a
followed by a
Risking it all, I did the same on my Mint 17 KDE setup. I had to get im-switch first via sudo apt-get install, then set it to none; next I installed ibus (which I thought would be installed, but it wasn't). Once all that was done, I rebooted, logged in and then voila! I tested it in Skype, Thunderbird, LibreOffice and it worked. Unfortunately, it does not seem to work in Chrome, but there is a known bug about that. Heck, I can even type it in World of Warcraft (running under Wine) like I used to... which is nice since most of my characters have accented letters! When I echo $XMODIFIERS I get a blank (where I used to get "@im=ibus" or something). Not sure what happened or why, but it is working (for now?) at least. I went back and tested the OP's ligatures, ff, fi, etc as well as the musical ones I noted before as not working, and they all work! (except in Chrome, unfortunately, which remains bugged - and known). Still, I can work-around that by inputing the text anywhere else and copy-pasting. Hope this helps! |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]