Hi there -- I want to enter an arbitrary unicode string with the compose key (I have mine as shift-lock), but apparently Kubuntu can not do this.
Since I only need this for two symbols (this and this), I am using ~/.XCompose as:
...but it's not working. If I do this just for testing:
...it works as expected. So there is apparently something wrong with my hex specification of the key code to be sent. The man file for xcompose says "Strings may be direct text encoded in the locale for which the compose file is to be used, or an escaped octal or hexadecimal character code. Octal codes are specified as "\123" and hexadecimal codes as "\0x123a"." I tried with the octal equivalent as well and it did not work.
I can copy and past the symbols into the apps I want to do this with, and that works fine. Those code pages linked above show the hex codes (1D106 and 1D107) but lots of other varieties of codes as well... maybe I should be using one of those?
Thanks for any tips.
Since I only need this for two symbols (this and this), I am using ~/.XCompose as:
Code:
include "%L" <Multi_key> <numbersign> <bracketleft> : "\0x1D106" # measure repeat symbol start <Multi_key> <numbersign> <bracketright> : "\0x1D107" # measure repeat symbol end
Code:
include "%L" <Multi_key> <numbersign> <bracketleft> : "p" <Multi_key> <numbersign> <bracketright> : "q"
I can copy and past the symbols into the apps I want to do this with, and that works fine. Those code pages linked above show the hex codes (1D106 and 1D107) but lots of other varieties of codes as well... maybe I should be using one of those?
Thanks for any tips.
Comment