* [sisyphus] Keyboard layout problem
@ 2003-09-17 15:31 Sergey Kuznetsov
2003-09-17 16:15 ` Eugene Ostapets
2003-09-17 16:58 ` Alexander Kubatkin
0 siblings, 2 replies; 5+ messages in thread
From: Sergey Kuznetsov @ 2003-09-17 15:31 UTC (permalink / raw)
To: Sisyphus
Добрый деньЁ
Сделал dist-upgrade с Master 2.2 до июньского Сизифа и напоролся
на стократно описанные грабли с настройками клавиатуры в XFree
4.3. Беда? однако в том? что стандартный рецепт (прописать us,ru
и ,winkeys) почему-то не работает, русский текст в X'ах не
вводится (в консоли все нормально). При этом команда:
setxkbmap -rules xfree86 -model pc105 -layout "us,ru" -option
"grp:rctrl_toggle"
отрабатывает нормально, позволяя, в частности, писать это письмо.
Вот мой файл XF86Config-4, целиком. Взгляните, please, что я там
написал неправильно?
# File generated by XFdrake.
# **************************************************************
# ******** Refer to the XF86Config(4/5) man page for details
# about the format of this file.
# **************************************************************
# ********
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (they are concatenated
# together) By default, Mandrake 6.0 and later now use a font
# server independent of the X server to render fonts.
FontPath "unix/:-1"
EndSection
# **************************************************************
# ******** Server flags section.
# **************************************************************
# ********
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a
signal is # received. This may leave the console in an
unusable state, but may # provide a better stack trace in the
core dump to aid in debugging #NoTrapSignals
# Uncomment this to disable the <Crtl><Alt><BS> server abort
sequence # This allows clients to receive this key event.
#DontZap
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode
switching # sequences. This allows clients to receive these
key events. #DontZoom
# This allows the server to start up even if the
# mouse device can't be opened/initialised.
AllowMouseOpenFail
EndSection
# **************************************************************
# ******** Input devices
# **************************************************************
# ********
# **************************************************************
# ******** Keyboard section
# **************************************************************
# ********
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:ctrl_toggle"
EndSection
# **************************************************************
# ******** Pointer section
# **************************************************************
# ********
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
Section "Module"
# This loads the DBE extension module.
Load "dbe"
Load "glx"
Load "dri"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
#Option "omit xfree86-dga"
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"
EndSection
Section "DRI"
Mode 0666
EndSection
# **************************************************************
# ******** Monitor section
# **************************************************************
# ********
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Belinea|Belinea 103060"
VendorName "Belinea"
ModelName "Unknown"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or
# a comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR
# MONITOR'S USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 30.0-95.0
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values,
# or a comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR
# MONITOR'S USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 50.0-150.0
# This is a set of extended mode timings typically used for
# laptop, TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494
563 -hsync -vsync
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595
630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590
616
EndSection
# **************************************************************
# ******** Graphics device section
# **************************************************************
# ********
Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection
Section "Device"
Identifier "Matrox Millennium G400"
VendorName "Unknown"
BoardName "Unknown"
Driver "mga"
VideoRam 16384
# Clock lines
# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"
Option "AGPMode" "1"
Option "DPMS" "on"
EndSection
# **************************************************************
# ******** Screen sections
# **************************************************************
# ********
Section "Screen"
Identifier "screen1"
Device "Matrox Millennium G400"
Monitor "Belinea|Belinea 103060"
DefaultFbBpp 32
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
С уважением,
Сергей
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Keyboard layout problem
2003-09-17 15:31 [sisyphus] Keyboard layout problem Sergey Kuznetsov
@ 2003-09-17 16:15 ` Eugene Ostapets
2003-09-17 16:58 ` Alexander Kubatkin
1 sibling, 0 replies; 5+ messages in thread
From: Eugene Ostapets @ 2003-09-17 16:15 UTC (permalink / raw)
To: sisyphus
Sergey Kuznetsov пишет:
>Добрый деньЁ
>
>Сделал dist-upgrade с Master 2.2 до июньского Сизифа и напоролся
>на стократно описанные грабли с настройками клавиатуры в XFree
>4.3. Беда? однако в том? что стандартный рецепт (прописать us,ru
>и ,winkeys) почему-то не работает, русский текст в X'ах не
>вводится (в консоли все нормально). При этом команда:
>
>setxkbmap -rules xfree86 -model pc105 -layout "us,ru" -option
>"grp:rctrl_toggle"
>
>отрабатывает нормально, позволяя, в частности, писать это письмо.
>Вот мой файл XF86Config-4, целиком. Взгляните, please, что я там
>написал неправильно?
>
>Section "InputDevice"
>
> Identifier "Keyboard1"
> Driver "Keyboard"
> Option "AutoRepeat" "250 30"
>
> Option "XkbRules" "xfree86"
> Option "XkbModel" "pc105"
> Option "XkbLayout" "us,ru"
> Option "XkbVariant" ",winkeys"
> Option "XkbOptions" "grp:ctrl_toggle"
>
Option "XkbOptions" "grp:rctrl_toggle" или "grp:lctrl_toggle"
>
>EndSection
>
>
>
--
С уважением,
Евгений Остапец
+380 44 459 28 79
http://www.unisoft.com.ua
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Keyboard layout problem
2003-09-17 15:31 [sisyphus] Keyboard layout problem Sergey Kuznetsov
2003-09-17 16:15 ` Eugene Ostapets
@ 2003-09-17 16:58 ` Alexander Kubatkin
2003-09-17 17:38 ` Sergey Kuznetsov
1 sibling, 1 reply; 5+ messages in thread
From: Alexander Kubatkin @ 2003-09-17 16:58 UTC (permalink / raw)
To: sisyphus
On Wed, 17 Sep 2003 19:31:32 +0400
Sergey Kuznetsov <yozhik@atom.ru> wrote:
> Добрый деньЁ
>
> Сделал dist-upgrade с Master 2.2 до июньского Сизифа и напоролся
> на стократно описанные грабли с настройками клавиатуры в XFree
> 4.3. Беда? однако в том? что стандартный рецепт (прописать us,ru
> и ,winkeys) почему-то не работает, русский текст в X'ах не
> вводится (в консоли все нормально). При этом команда:
>
> setxkbmap -rules xfree86 -model pc105 -layout "us,ru" -option
> "grp:rctrl_toggle"
вот именно _Rctrl_toggle_ :)
Option "XkbOptions" "grp:rctrl_toggle"
посмотрите внимательнее свой конфиг
__________________________________________________________
Alexander Kubatkin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Keyboard layout problem
2003-09-17 16:58 ` Alexander Kubatkin
@ 2003-09-17 17:38 ` Sergey Kuznetsov
2003-09-17 19:02 ` Alexander Kubatkin
0 siblings, 1 reply; 5+ messages in thread
From: Sergey Kuznetsov @ 2003-09-17 17:38 UTC (permalink / raw)
To: sisyphus
On Wed, 17 Sep 2003 20:58:35 +0400
Alexander Kubatkin <_kaa_@mail.ru> wrote:
> > setxkbmap -rules xfree86 -model pc105 -layout "us,ru" -option
> > "grp:rctrl_toggle"
>
> ЧПФ ЙНЕООП _Rctrl_toggle_ :)
>
>
> Option "XkbOptions" "grp:rctrl_toggle"
>
> РПУНПФТЙФЕ ЧОЙНБФЕМШОЕЕ УЧПК ЛПОЖЙЗ
И всего-то делов было... Истинно так, спасибо! А не подскажете -
как прописать туда же _временное_ переключение по правому Alt? В
виде "grp:rctrl_toggle grp:switch" или как-то иначе?
С уважением,
Сергей
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] Keyboard layout problem
2003-09-17 17:38 ` Sergey Kuznetsov
@ 2003-09-17 19:02 ` Alexander Kubatkin
0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kubatkin @ 2003-09-17 19:02 UTC (permalink / raw)
To: sisyphus
On Wed, 17 Sep 2003 21:38:29 +0400
Sergey Kuznetsov <yozhik@atom.ru> wrote:
> On Wed, 17 Sep 2003 20:58:35 +0400
> Alexander Kubatkin <_kaa_@mail.ru> wrote:
>
> > > setxkbmap -rules xfree86 -model pc105 -layout "us,ru" -option
> > > "grp:rctrl_toggle"
> >
> > ЧПФ ЙНЕООП _Rctrl_toggle_ :)
> >
> >
> > Option "XkbOptions" "grp:rctrl_toggle"
> >
> > РПУНПФТЙФЕ ЧОЙНБФЕМШОЕЕ УЧПК ЛПОЖЙЗ
ой, что эт у Вас с моим текстом? ;)
>
> И всего-то делов было... Истинно так, спасибо! А не подскажете -
> как прописать туда же _временное_ переключение по правому Alt? В
> виде "grp:rctrl_toggle grp:switch" или как-то иначе?
/usr/X11R6/lib/X11/xkb/rules/xfree86 - тут много чего интересного... :)
ближе к концу файла смотрите.
>
> С уважением,
> Сергей
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@altlinux.ru
> http://altlinux.ru/mailman/listinfo/sisyphus
>
__________________________________________________________
Alexander Kubatkin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-17 19:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-17 15:31 [sisyphus] Keyboard layout problem Sergey Kuznetsov
2003-09-17 16:15 ` Eugene Ostapets
2003-09-17 16:58 ` Alexander Kubatkin
2003-09-17 17:38 ` Sergey Kuznetsov
2003-09-17 19:02 ` Alexander Kubatkin
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