On Wed, Jul 08, 2020 at 04:37:19PM +0000, Ajith R wrote:
> Hi Zenaan,
> 
> > Under the "Layout" tab, I have the option for "Compose key" - this is a 
> > drop down list, and I chose the "Scroll Lock" key as my compose key.
> 
> 
> Similar options are there for KDE too. I tried setting the Compose key from 
> the KDE settings menu after trying xmodmap -e "keysym Caps_Lock = Multi_key" 
> suggested by Greg. My .XCompose file is:
> include "%L"
> <Multi_key> <s> <x>                     : "✄"   U2704 # WHITE SCISSORS
> 
> Now, things are even more strange. When I press the Caps Lock, a strange 
> character appears. (I copy pasted it, searched the net and found it to be 
> unicode compose character.) Then when I type s, the Caps Lock light gets 
> switched on and the character S (caps) appears on screen. Then when I type X, 
> the compose character and S become invisible and x/X doesn't appear. When I 
> change focus to another window, the terminal in which I was typing shows the 
> compose character and S.
> 
> This behaviour has not changed after I unchecked the settings through KDE 
> settings menu, after restarting computer, re-issuing xmodmap command or 
> changing the layout to us. The same sequence is seen with typing in Kate as 
> well. Even when I use Scroll Lock as the compose key, the situation is only 
> different in that the s is not capitalised.
> 
> Any idea what might be wrong?

It sounds like something is fundamentally wrong with your keymap.

I suggest starting again, resetting everything back to your chosen defaults at 
install - reset your modified keymap file back to whatever you copied to begin 
the exercise, and test that compose is working as it should.

Then, make no more than a single change, apply and test that single change.  
Don't move forward till the one change is working.

That's what I did (although it's been a 2 or 3 years since I dabbled) - I had 
one tiny little brace missing at one stage, and when you don't see it, you just 
don't see it, so after that I brutally realigned everything with obnoxious 
spaces, so that all tha braces, and commas, lined up - THAT solved the 
accidental missing brace which never bit me again :/

Reply via email to