* Re: [Comm] проблема с клавиатурой и X @ 2010-12-02 13:28 ` Denis Nazarov 2010-12-03 6:30 ` Denis G. Samsonenko 2010-12-10 5:01 ` Denis G. Samsonenko 2011-09-14 16:51 ` Denis G. Samsonenko 2 siblings, 1 reply; 8+ messages in thread From: Denis Nazarov @ 2010-12-02 13:28 UTC (permalink / raw) To: ALT Linux Community general discussions В сообщении от Четверг 02 декабря 2010 16:15:18 автор Denis G. Samsonenko написал: > День добрый! > > Если рестартануть X'ы через Ctrl+Alt+BackSpace, то после логина > реакция на нажатие указанных клавишь приходит в норму. В > соответствующую консоль начинает переключать только по > Ctrl+Alt+F{1,12}, при нажатии на Win-клавиши происходит только > переключение раскладок, на 6 и 12 консоль уже не перебрасывает. > x11_autosetup после рестарта иксов не помогает? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблема с клавиатурой и X 2010-12-02 13:28 ` [Comm] проблема с клавиатурой и X Denis Nazarov @ 2010-12-03 6:30 ` Denis G. Samsonenko 2010-12-05 17:28 ` Denis G. Samsonenko 0 siblings, 1 reply; 8+ messages in thread From: Denis G. Samsonenko @ 2010-12-03 6:30 UTC (permalink / raw) To: ALT Linux Community general discussions День добрый! 2 декабря 2010 г. 19:28 Denis Nazarov написал: >> Если рестартануть X'ы через Ctrl+Alt+BackSpace, то после логина >> реакция на нажатие указанных клавишь приходит в норму. В >> соответствующую консоль начинает переключать только по >> Ctrl+Alt+F{1,12}, при нажатии на Win-клавиши происходит только >> переключение раскладок, на 6 и 12 консоль уже не перебрасывает. > > x11_autosetup после рестарта иксов не помогает? Нет, не помогает. Со сгенерированным конфигом поведение то же самое. Т.е. сразу после загрузки компа и входа в X-сессию реакция на win-клавиши и комбинации Alt+F{1,12} неправильная. Если рестартанать X'ы, то всё приходит в норму. Т.е. на данный момент приходится после включения компа и загрузки рестартовать X сервер, чтобы было возможно нормально работать. -- Всего доброго, Денис. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблема с клавиатурой и X 2010-12-03 6:30 ` Denis G. Samsonenko @ 2010-12-05 17:28 ` Denis G. Samsonenko 0 siblings, 0 replies; 8+ messages in thread From: Denis G. Samsonenko @ 2010-12-05 17:28 UTC (permalink / raw) To: ALT Linux Community general discussions День добрый! > Т.е. на данный момент приходится после включения компа и загрузки > рестартовать X сервер, чтобы было возможно нормально работать. Неужели никто не знает, что с этим делать? -- Всего доброго, Денис. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблема с клавиатурой и X 2010-12-02 13:28 ` [Comm] проблема с клавиатурой и X Denis Nazarov @ 2010-12-10 5:01 ` Denis G. Samsonenko 2011-09-14 16:51 ` Denis G. Samsonenko 2 siblings, 0 replies; 8+ messages in thread From: Denis G. Samsonenko @ 2010-12-10 5:01 UTC (permalink / raw) To: community День добрый! > ... > Если войти в X-сессию сразу после загрузки системы, то наблюдается > странное поведение на нажатие Win-клавиш и комбинаций Alt+F{1,12}. По > нажатии на lwin перебрасывает в 6-ю консоль, а при нажатии на rwin -- > в 12-ю. При нажатии Alt+F{1,12} так же пепебрасывает в соответствующую > консоль. > ... > Если рестартануть X'ы через Ctrl+Alt+BackSpace, то после логина > реакция на нажатие указанных клавиш приходит в норму. В > соответствующую консоль начинает переключать только по > Ctrl+Alt+F{1,12}, при нажатии на Win-клавиши происходит только > переключение раскладок, на 6 и 12 консоль уже не перебрасывает. Попробовал подцепить PS2 клавиатуру вместо USB. Поведение не изменилось. В чём же может быть проблема? -- Всего доброго, Денис. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблема с клавиатурой и X 2010-12-02 13:28 ` [Comm] проблема с клавиатурой и X Denis Nazarov 2010-12-10 5:01 ` Denis G. Samsonenko @ 2011-09-14 16:51 ` Denis G. Samsonenko 2011-09-14 20:22 ` Michael Shigorin 2 siblings, 1 reply; 8+ messages in thread From: Denis G. Samsonenko @ 2011-09-14 16:51 UTC (permalink / raw) To: community День добрый! 2 декабря 2010 г. 17:15 Denis G. Samsonenko написал: > День добрый! > > Перенёс систему на новый компьютер. В связи с тем, что на новой машине > видео от Intel, а на старой от nVidia -- X'ы грузиться отказались. > Прибил xorg.conf -- X'ы взлетели нормально. Но возникла проблема с > клавиатурой. На новой машине клавиатура подключена через USB. > > Если войти в X-сессию сразу после загрузки системы, то наблюдается > странное поведение на нажатие Win-клавиш и комбинаций Alt+F{1,12}. По > нажатии на lwin перебрасывает в 6-ю консоль, а при нажатии на rwin -- > в 12-ю. При нажатии Alt+F{1,12} так же перебрасывает в соответствующую > консоль. > > В /etc/X11/xinit/Xkbmap прописано следующее: > > -model pc104 > -layout us,ru > -option grp:lwin_toggle,grp:rwin_switch,compose:menu,terminate:ctrl_alt_bksp > -variant ,winkeys > > setxkbmap -print выдаёт: > > xkb_keymap { > xkb_keycodes { include "evdev+aliases(qwerty)" }; > xkb_types { include "complete" }; > xkb_compat { include "complete" }; > xkb_symbols { include > "pc+us+ru(winkeys):2+inet(evdev)+group(rwin_switch)+group(lwin_toggle)+compose(menu)+terminate(ctrl_alt_bksp)" > }; > xkb_geometry { include "pc(pc104)" }; > }; > > > Если рестартануть X'ы через Ctrl+Alt+BackSpace, то после логина > реакция на нажатие указанных клавишь приходит в норму. В > соответствующую консоль начинает переключать только по > Ctrl+Alt+F{1,12}, при нажатии на Win-клавиши происходит только > переключение раскладок, на 6 и 12 консоль уже не перебрасывает. > > setxkbmap -print выдаёт то же самое, что и до перезагрузки. > > Особой разницы в логах xorg'a до и после я не увидел (прилагаю оба). > > Может кто-нибудь пояснить, что происходит, и как сделать, чтобы с > первого раза клавиатура нормально воспринималась X'ами? > > Система: branch-5.1, xorg-server-1.6.5-alt1, hal-0.5.13-alt3.M51.1, > udev-141-alt12.M51.2, kernel-image-std-def-2.6.30-alt15. Обновил систему до p6, проблема так и не решилась. Что же делать? -- Всего доброго, Денис. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблема с клавиатурой и X 2011-09-14 16:51 ` Denis G. Samsonenko @ 2011-09-14 20:22 ` Michael Shigorin 2011-09-15 8:27 ` Denis G. Samsonenko 0 siblings, 1 reply; 8+ messages in thread From: Michael Shigorin @ 2011-09-14 20:22 UTC (permalink / raw) To: community On Wed, Sep 14, 2011 at 11:51:18PM +0700, Denis G. Samsonenko wrote: > > В /etc/X11/xinit/Xkbmap прописано следующее: > Обновил систему до p6, проблема так и не решилась. В домашнем каталоге никаких старых настроек часом нет? Сессия от другого пользователя влияет так же? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблема с клавиатурой и X 2011-09-14 20:22 ` Michael Shigorin @ 2011-09-15 8:27 ` Denis G. Samsonenko 2011-09-15 8:33 ` Denis G. Samsonenko 0 siblings, 1 reply; 8+ messages in thread From: Denis G. Samsonenko @ 2011-09-15 8:27 UTC (permalink / raw) To: community День добрый! 15 сентября 2011 г. 3:22 Michael Shigorin написал: >> > В /etc/X11/xinit/Xkbmap прописано следующее: >> Обновил систему до p6, проблема так и не решилась. > > В домашнем каталоге никаких старых настроек часом нет? > Сессия от другого пользователя влияет так же? Создал нового пользователя. Перегрузил машину, зашёл под новым пользователем -- всё тоже самое. Вообще получается, что X'ы события по нажатии клавиш ловят, но ловят эти события не только X'ы. Что-то ещё их обрабатывает, эти сочетания клавиш и win-кнопки. Левая win-клавиша совершает переход по tty по убыванию номеров, а правая -- по возрастанию. После того, как X'ы рестартуешь, на комбинации клавиш Alt+F{1,12} и на нажатие win-клавишь в X'ах реагируют только X'ы. А если переключиться в консоль, то там всё то же поведение сохраняется для win-клавиш. В консоли раскладка должна переключаться по win-клавишам: $ cat /etc/sysconfig/keyboard KEYTABLE=ruwin_cplk-UTF-8 А вместо этого они переключают виртуальные консоли. В /root/.kbd лежит файл .keymap_sv. Пробовал его убивать -- после перезагрузки появляется снова. Проверил на другой машине, на которой указанных проблем нет, там тоже есть такой файл, но содержимое его отличается. Пробовал подкладывать .keymap_sv с машины, на которой проблемы нет -- не помогает, т.к. после перезагрузки этот файл создаётся снова, со старым содержимым. Не знаю, влияет ли он на что-нибудь или нет. Вообще, как в консоли настраивается раскладка клавиатуры? В альтераторе смена раскладки клавиатуры повлияла только на раскладку в X'ах. На содержимом /etc/sysconfig/keyboard не отразилось. -- Всего доброго, Денис. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] проблема с клавиатурой и X 2011-09-15 8:27 ` Denis G. Samsonenko @ 2011-09-15 8:33 ` Denis G. Samsonenko 0 siblings, 0 replies; 8+ messages in thread From: Denis G. Samsonenko @ 2011-09-15 8:33 UTC (permalink / raw) To: community День добрый! > В консоли раскладка должна переключаться по win-клавишам: > > $ cat /etc/sysconfig/keyboard > KEYTABLE=ruwin_cplk-UTF-8 Вру, в консоли раскладка должна переключаться по CapsLock. И она переключается. И на машине, на которой проблем нет, win-клавиши в консоли тоже переключают циклически виртуальные консоли, но когда я нахожусь в X'ах, то они переключают раскладку, как у меня для X'ов и настроено. А на проблемной машине получается, что когда я нахожусь в X'ах, то по нажатии на win-клавиши происходит как переключение раскладки в X'ах, так и переход на соседнюю виртуальную консоль. И что с этим делать? Честно говоря надоедает после загрузки системы делать выход и повторный вход в X-сессию. -- Всего доброго, Денис. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-09-15 8:33 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-12-02 13:28 ` [Comm] проблема с клавиатурой и X Denis Nazarov 2010-12-03 6:30 ` Denis G. Samsonenko 2010-12-05 17:28 ` Denis G. Samsonenko 2010-12-10 5:01 ` Denis G. Samsonenko 2011-09-14 16:51 ` Denis G. Samsonenko 2011-09-14 20:22 ` Michael Shigorin 2011-09-15 8:27 ` Denis G. Samsonenko 2011-09-15 8:33 ` Denis G. Samsonenko
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