Unicode in Kate KWrite

Unicode entry such as ctrl&shift&u then 2261 in Kate KWrite should show ≡ but it does not .
It shows +2261
However if I copy and paste from almost any text editor including web based ones (like this one for example) where unicode symbol is correctly rendered out then that pasted symbol is inserted correctly.

What do I need to do to ensure unicode symbols are rendered out correctly in Kaye KWrite?
Thank you

1 Like

You can use this in Konsole, copy the symbol and paste in Kate (I use fish and I typed bash for write the command in bash):

Regards

1 Like

kate .XCompose should sort you out…

Keyboard settings - set a compose key, then you have at it…

<Multi_key> : “≡” U2261 # = _ IDENTICAL TO

So ‘Multi_key’ is your compose key, press that, then = and _ for ≡

Slash equal gets ≠, but I added that to my 3rd level, so I can type ‘AltGr’ or ‘3rd level chooser’ with = for ≠.

Compose _ gets me ≢

So many ways to skin a cat :wink: ①② numbers (compose (1) etc) and so much more. I can’t share it here 'cos it’s too long, maybe I should upload it…

A bit janky, but you can grab it here for ideas:

Thanks I was hoping Kate and KWrite would do it.
I’ll stick to Geany as it follows universal ctrl& etc then unicode number

1 Like

That is a great working method for sure.

If you enable “iBus Wayland” in the System settings (it’s under Keyboard >> Virtual Keyboard), then the Ctrl+Shift+U unicode entry should work in Qt apps such as Kate and KWrite.

However, this had some side-effects on my system, so I prefer to use compose sequences instead.

1 Like

Definitely - I forget the details, it was a couple of years ago… but also I wanted MORE than I could remember… and the idea of ‘compose’ means you can write your own…

So for the ‘th’ sound in ‘the’ you type ‘compose the’ which gets ð if you need phonetic sounds…

Diameter

or maybe cake :shortcake: or diameter ⌀…
down, left, up, right ↓←↑→also ⇒ ⇐
± ¿

Superscripts 2² 3⁶ or whatever…

So really, learning unicode isn’t much of a comfort zone worth hanging on to (though you won’t forget those) because XCompose is just so much more flexible overall.

Any symbol you can cut and paste, so grab a 🖉 and draw a :penguin:

:brain::light_bulb: Just use Compose with Unicode input

<Multi_key> <equal> <equal> <slash> : "≢" U2262 # NOT IDENTICAL TO

Rewrite it:
<Multi_key> <u> <2> <2> <6> <2> : "≢" U2262 # NOT IDENTICAL TO

ሴ is u1234

<Multi_key>  <u> <1> <2> <3> <4>	: "ሴ"
<Multi_key>  <u> <2> <2> <6> <1>    : "≡"

i think this should be marked as the solution since it works in both kate and kwrite (or anything else).

personally, i prefer to make a new keyboard layout for my frequently used characters ☭ and reserve ~/.XCompose for the more occasional needs because the mnemonics of it let me easily construct what i need™

1 Like