From: Roman Savochenko <rom_as@diyaorg.dp.ua> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: [sisyphus] XOrg: Получение символа по коду клавиши в соответствии с выбранной раскладкой (языком) Date: Mon, 30 Jul 2012 17:18:17 +0300 Message-ID: <501697A9.4050404@diyaorg.dp.ua> (raw) [-- Attachment #1: Type: text/plain, Size: 820 bytes --] Всем привет! Понадобилась тут виртуальная клавиатура kvkbd (в T6), которую я раньше исправлял на предмет "Shift toggle" и которая у меня замечательно работает на версии KDE-3.5.8, в окружении N800. Запустил её в T6 и наблюдаю отсутствие смены раскладки (Русская, Украинская) при переключении языка, причём что через kxkbd, что через kkbswitch. Собственно на N800 у меня всё работает через kxkbd. Начинаю разбираться с kvkbd и выясняю, что событие на перерисовку при переключении от kxkbd приходит однако связка функций XKeycodeToKeysym() -> keysym2ucs() всегда возвращает символы в Latin1. Может кто в курсе, что изменилось в иксах с времён KDE-3.5.8, что теперь функции XKeycodeToKeysym() -> keysym2ucs() не учитывают активную раскладку и соответственно как бы это можно было исправить. С уважением, Роман [-- Attachment #2: rom_as.vcf --] [-- Type: text/x-vcard, Size: 321 bytes --] begin:vcard fn:Roman Savochenko n:Savochenko;Roman org:DIYA Ltd adr:;;;Dneprodzerzinsk;Dnepropetrovsk;51925;Ukraine email;internet:rom_as@oscada.org title:Leading engineer-programer tel;work:+380675675542 tel;fax:+380569262025 tel;home:+380569292458 tel;cell:+380679859815 url:http://diyaorg.dp.ua version:2.1 end:vcard
next reply other threads:[~2012-07-30 14:18 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-30 14:18 Roman Savochenko [this message] 2012-07-30 19:42 ` Roman Savochenko 2012-07-31 21:01 ` Vitaly Lipatov 2012-08-01 4:03 ` [sisyphus] [offtopic] " Ildar Mulyukov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=501697A9.4050404@diyaorg.dp.ua \ --to=rom_as@diyaorg.dp.ua \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git