JumpingJack |
28-12-2002 07:32 79421 |
Как мне в блэкбоксе сделать переключение раскладки клавиатуры?
|
ruslandh |
28-12-2002 07:57 79422 |
Запусти какой-нибудь переключатель клавиатуры.
|
JumpingJack |
28-12-2002 08:21 79423 |
каким образом? и где его взять? :)
|
MF CAP |
28-12-2002 17:06 79424 |
ей а разве в х настроить нельзя?
В файле /etc/X11/XF86Config, в секции "Files" первой строкой в списке FontPath вставляется:
Код:
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
В файле /etc/X11/XF86Config, в секции "Keyboard" добавляются (заменяются)
следующие строки:
XkbRules "xfree86"
XkbModel "pc104"
XkbLayout "ru"
XkbVariant "winkeys"
XkbOptions "grp:ctrl_shift_toggle"
Переключение раскладки Ctrl+Shift
|
JumpingJack |
28-12-2002 22:19 79425 |
э, а строку FontPath - нужно вообще заменять? или нужно оставить то, что было? и каков в таком случае формат записи?
и с остальными строками не очень ясно... MF CAP, можешь выложить свой XF86Config для примера? или на мыло мне кинуть?
|
MF CAP |
30-12-2002 15:19 79426 |
veles
неа гыгыгы линуха уже 2 недели нет хард упал:)... на каникулах (после сессии будем снова париься:) А на своей странице я писал как я обуздал этот великий и могучий... в свое время...
Добавлено:
Цитата:
и с остальными строками не очень ясно
|
а что не ясно спроси построчно попробуем разобраться...:)
|
JumpingJack |
02-01-2003 21:51 79427 |
блин.... чего-то у меня ничего не настравивается :(
|
MF CAP |
13-01-2003 13:35 79428 |
veles
Цитата:
выложить свой XF86Config для примера
|
вот как ты и просил...
Код:
=========listing===========
# See 'man XF86Config' for info on the format of this file
Section "Files"
RgbPath"/usr/X11R6/lib/X11/rgb"
FontPath"unix/:7100"
EndSection
Section "ServerFlags"
AllowMouseOpenFail
EndSection
Section "Keyboard"
Protocol"Standard"
XkbModel"pc101"
XkbRules"xfree86"
XkbLayout"ru"
XkbOptions"grp:ctrl_shift_toggle,grp_led:scroll"
EndSection
Section "Pointer"
Protocol"IMPS/2"
Device"/dev/mouse"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Protocol "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice
# BaudRate 9600
# SampleRate 150
ZAxisMapping 4 5
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
Emulate3Buttons
Emulate3Timeout 50
# ChordMiddle is an option for some 3-button Logitech mice
# ChordMiddle
EndSection
Section "Monitor"
Identifier "Monitor"
VendorName "GSM"
ModelName "FLATRON 775FT"
HorizSync 30-71
VertRefresh 50-161
#1024x768 @ 75.9 Hz, 62.5 kHz hsync
Modeline"1024x768"85 1024 1032 1152 1360 768 784 787 823
#800x600 @ 75.0 Hz, 46.9 kHz hsync
Modeline"800x600"49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
#640x480 @ 76.6 Hz, 38.6 kHz hsync
Modeline"640x480"31.50 640 656 696 816 480 481 484 504 -hsync -vsync
EndSection
Section "Monitor"
#!Description"Super VGA 1024x768 @ 60Hz"
Identifier"Super-Duper VGA"
HorizSync31.5-48.5
VertRefresh50-90
# 1024x768 @ 60 Hz, 48.4 kHz hsync
Modeline"1024x768"65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline"800x600"40 800 840 968 1056 600 601 605 628 +hsync +vsync
# 640x400 @ 70 Hz, 31.5 kHz hsync
Modeline"640x480"25.175 640 664 760 800 480 491 493 525
EndSection
Section"Device"
Identifier"nVidia Corporation|NV5 [Riva TnT2 Ultra]"
BoardName"RIVA TNT2"
EndSection
Section "Screen"
Driver"Accel"
Device"nVidia Corporation|NV5 [Riva TnT2 Ultra]"
Monitor"Monitor"
DefaultColorDepth8
SubSection "Display"
Depth8
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth15
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth16
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth24
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth32
Modes"1024x768"
Virtual1024 768
EndSubSection
EndSection
Section "Screen"
Driver"SVGA"
Device"nVidia Corporation|NV5 [Riva TnT2 Ultra]"
Monitor"Monitor"
DefaultColorDepth8
SubSection "Display"
Depth8
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth15
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth16
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth24
Modes"1024x768"
Virtual1024 768
EndSubSection
SubSection "Display"
Depth32
Modes"1024x768"
Virtual1024 768
EndSubSection
EndSection
Section "Screen"
Driver"VGA16"
Device"nVidia Corporation|NV5 [Riva TnT2 Ultra]"
Monitor"Monitor"
SubSection "Display"
Depth4
Modes"640x480"
Virtual640 480
EndSubSection
EndSection
Section "Screen"
Driver"VGA2"
Device"nVidia Corporation|NV5 [Riva TnT2 Ultra]"
Monitor"Monitor"
SubSection "Display"
Depth1
Modes"640x480"
Virtual640 480
EndSubSection
EndSection
Section "Screen"
Driver"Mono"
Device"nVidia Corporation|NV5 [Riva TnT2 Ultra]"
Monitor"Monitor"
SubSection "Display"
Depth1
Modes"640x480"
Virtual640 480
EndSubSection
EndSection
==========end=listing==========
|
Время: 16:48.
© OSzone.net 2001-