ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Arcady Ivanov <arc@ikir.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] xorg, hal ?
Date: Mon, 20 Jul 2009 21:56:01 +1300
Message-ID: <4A643121.4080801@ikir.ru> (raw)
In-Reply-To: <m3zlazkdh0.fsf@thinkpad.oxyum.localnet>

Ivan Fedorov пишет:
> Arcady Ivanov <arc-890F08MRSfc@public.gmane.org> writes:
>
>   
>> Vladimir V Kutyavin пишет:
>>     
>>> Arcady Ivanov пишет:
>>>       
>>>> В каком месте теперь задаётся переключение раскладок по "Ctrl+Shift"?
>>>>         
>>> tip: если в Section "ServerLayout"добавить 'Option
>>> "AutoAddDevices" "false"', то все будет по-старому)
>>>       
>> Угу. Мой собственный совет. :)
>>
>> Я хотел понять, какие сегодня конфиги играют роль.
>>     
>
> # cat /etc/hal/fdi/policy/10-x11-input.fdi 
> <?xml version="1.0" encoding="UTF-8"?>
> <deviceinfo version="0.2">
>   <device>
>
>     <match key="info.capabilities" contains="input.keyboard">
>       <!-- <merge key="input.x11_driver" type="string">kbd</merge> -->
>       <merge key="input.x11_options.XkbLayout" type="string">us,ru</merge>
>       <merge key="input.x11_options.XkbVariant" type="string">,winkeys</merge>
>       <merge key="input.x11_options.XkbOptions" type="string">grp:caps_toggle,grp:switch,compose:menu</merge>
>       <!-- <merge key="input.x11_options.XkbModel" type="string">logitech_base</merge> -->
>     </match>
>
>   </device>
> </deviceinfo>
>   
Большое  спасибо за конкретный ответ на поставленный вопрос,
в отличие от бессмысленных "УМВР" и подобных понтов.

Прикол в том, что на нескольких компах у меня всё так и работало.
А сегодняшняя трабла была связана с тем, что была просто проведена
установка с десктопного DVD 5-й платформы ;) И как я не пинал 
10-x11-input.fdi,
в логах layout был только "us".

Только после dist-upgrade логи стали соответствовать конфигу HAL.

Всё равно остались вопросы:

1. Непонятно как это работает из коробки.
Никаких указаний насчёт "us,ru" в конфигах не наблюдается,
Xorg.0.log надёжно содержит только:

(**) Option "xkb_layout" "us"

И при этом X отлично переключается по Ctrl+Shift между "us" и "ru".


2. Как сделать по умолчанию раскладку "ru", а не "us"?
Перестановка:

<merge key="input.x11_options.XkbLayout" type="string">ru,us</merge>
<merge key="input.x11_options.XkbVariant" type="string">winkeys,</merge>

не решает задачу.

--
C уважением.
Аркадий Иванов.




  reply	other threads:[~2009-07-20  8:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20  0:35 Arcady Ivanov
2009-07-20  5:29 ` Andrey Rahmatullin
2009-07-20  6:50   ` Arcady Ivanov
2009-07-20  7:07     ` Andrey Rahmatullin
2009-07-20  6:18 ` Vladimir V Kutyavin
2009-07-20  6:23   ` Andrey Rahmatullin
2009-07-20  7:00   ` Arcady Ivanov
2009-07-20  7:42     ` Ivan Fedorov
2009-07-20  8:56       ` Arcady Ivanov [this message]
2009-07-20  9:17         ` Andrey Rahmatullin
2009-07-20 10:07           ` Arcady Ivanov
2009-07-20 10:11             ` Andrey Rahmatullin

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=4A643121.4080801@ikir.ru \
    --to=arc@ikir.ru \
    --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