LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Making hotkeys? (https://www.linuxquestions.org/questions/linux-general-1/making-hotkeys-4175542843/)

kalleanka 05-17-2015 09:11 AM

Making hotkeys?
 
Hi,

I want to make hotkeys for the Russian letters а́,э́ ,ы́ ,о́ ,у́ ,я́ ,е́ ,и́ ,ю́. I need them with the acute. I try to use xmodmap and can change the keyboard map. Here I changed 7 to 3 (4 and 5 as well) on the numpad: keycode 79 = KP_3 KP_7 KP_4 KP_5. My problem is that I can not find any keysyms for the Russian letters with acute.

Does anyone know them?
or
Is there a way to combine for example Cyrillic_a with acute in the map?

Any ideas?

Pearlseattle 05-17-2015 10:21 AM

Hi
Sooo...,you cannot find them in "/usr/include/X11/keysymdef.h" or wherever you have in your case "keysymdef.h"?

DavidMcCann 05-17-2015 10:48 AM

Those combinations are not in Unicode, because they aren't used in any language's spelling system. You'll have to use the combining acute (U+0301), entered after the letter. That still might leave you with a problem, as the accent will only fit over a lower-case letter, not a capital.

My own solution would be to install Fontforge and edit your font to add the extra characters in the private-use area. Then you could modify the compose key sequence to include these letters, just as Compose+'+e gives é.


All times are GMT -5. The time now is 07:57 AM.