From: Alexander Yereschenko <ave@zetetika.com.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Индикатор раскладки клавиатуры для Floating Window в NX
Date: Mon, 7 Dec 2009 12:18:27 +0200
Message-ID: <200912071218.27440.ave@zetetika.com.ua> (raw)
In-Reply-To: <4d6cc2f20910240858o39a94b0cua6169d6fca107b75@mail.gmail.com>
Доброе!
В сообщении от 24 октября 2009 Boris Savelev написал(a):
> 24 октября 2009 г. 19:38 пользователь Alexander Yereschenko
>
> > Так что лучшим вариантом будет все-таки индикатор раскладки,
> > прорисовываемый в области окна.
> > А еще лучшим - честная "сквозная" работа переключателя раскладки...
>
> я боюсь, что синхронизировать никак не получится.
Возвращаясь к моим баранам... :)
Раз синхронизировать не получится, то решил запускать еще дополнительный
индикатор. Т.е. в nx-сессии в режиме floating-window запускается например вот
такой скрипт:
=====
#!/bin/sh
kkbswitch
kwrite
killall kkbswitch
=====
У клиента появляется окошко krite (это для примера, в оригинале - 1C) и еще
один индикатор клавиатуры, который показывает раскладку в этом редакторе. При
выходе из основного приложения (т.е. kwrite) убиваем kkbswitch.
killall дотянуться до kkbswith, запущенных другими пользователями не сумеет,
а один пользователь в моем случае открывает только одну сессию на NX-сервере.
Вобщем, какой-никакой, но выход получился... По крайней мере, не вслепую
набирать...
--
Alexander
prev parent reply other threads:[~2009-12-07 10:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-24 13:23 Alexander Yereschenko
2009-10-24 14:45 ` Denis Nazarov
2009-10-24 15:38 ` Alexander Yereschenko
2009-10-24 15:58 ` Boris Savelev
2009-10-24 16:53 ` [Comm] использование 1С Maks Re
2009-12-07 10:47 ` AShen
2009-12-07 10:18 ` Alexander Yereschenko [this message]
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=200912071218.27440.ave@zetetika.com.ua \
--to=ave@zetetika.com.ua \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git