ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrei Popov <a.popov@sam-solutions.net>
To: Maxim Tyurin <community@altlinux.ru>
Subject: Re[2]: [Comm] индивидуальная раскладка клавиатуры  для отдельных пользователей
Date: Wed, 16 Mar 2005 14:32:31 +0200
Message-ID: <12010940140.20050316143231@sam-solutions.net> (raw)
In-Reply-To: <m3acp3n6ua.fsf@mrkooll.tdr.pibhe.com>

Hello Maxim,

Wednesday, March 16, 2005, 1:55:09 PM, you wrote:

>> 4.  Плюс  средствами  FVWM  можно  сделать  и  визуально  наглядный
>> переключатель,  реагирующий  на  смену раскладки, написав несложный
>> скрипт. Ну а любимую Xxkb - на пенсию.
>>
>> Вопросы:
>>
>> Я  изобретаю  велосипед?  Я  наступлю  на  дикие  грабли  при таком
>> подходе? На какие - (переключается все быстро)?

> У  меня  сделано  точно  также  только  раскладок  поменьше. А можно
> глянуть на скрипт для fvwm, реализующий наглядный переключатель, или
> такой еще не написан?

Пока не написан - но вот что крутится в голове:

1. в конце каждого скриптика добавляем строчку что-то типа echo EN
(DE, RU etc.) > ~/my_current_layout_file

2.  запускается FvwmScript, который каждые пару секунд например делает
cat   ~/my_current_layout_file  и  выводит  результат  в  окошке  (man
FvwmScript).

3.  Делаем  прозрачный FvwmButtons с нужной геометрией, делаем swallow
скрипта,  и  вуаля  --  получаем  нужную  надпись  на десктопе или где
угодно, которая обновляется при смене раскладки.

Думаю  работать  будет,  нужно  только поиграться на предмет того, как
часто опрашивать ~/my_current_layout_file...

У  меня  таким образом работают типа часики в самодельной панели задач
внизу экрана -- FvwmScript + cat date с нужными параметрами.

>> Вопрос из FAQ - он про это? Или я чегой-то не понял?
А  может  тут скорее про раскладку в голой консоли а не в иксах? Тогда
имеет смысл поимхо изменить формулировку вопроса.

>> "Увы, сабж не настроишь." - Еще и как настроишь, имхо. Я прав?
> 
> Прав.
Тогда может в FAQ? =) Майнтейнеры FAQ-a, ау..

-- 
WBR,
Andrei Popov



  reply	other threads:[~2005-03-16 12:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 11:16 Andrei Popov
2005-03-16 11:23 ` Andrei Popov
2005-03-16 11:55 ` Maxim Tyurin
2005-03-16 12:32   ` Andrei Popov [this message]
2005-03-16 17:09     ` [Comm] " Michael Shigorin
2005-03-16 17:27       ` Maxim Tyurin
2005-03-17  8:31       ` Andrei Popov
2005-03-17  9:19         ` [Comm] [JT] " Michael Shigorin
2005-03-17  9:30           ` Andrei Popov

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=12010940140.20050316143231@sam-solutions.net \
    --to=a.popov@sam-solutions.net \
    --cc=community@altlinux.ru \
    /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