Сайт | Скачать | Видео | Wiki

Автор Тема: Расклатка клавиатуры RU-RU либо US-US  (Прочитано 4791 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн valeravaraksin

  • Новичок
  • *
  • Сообщений: 4
  • Репутация: +0/-0
  • Автор темы
Расклатка клавиатуры RU-RU либо US-US
« : 12 Ноябрь 2011, 18:32:38 »
Здравствуйте! Случилась не большая беда, на pupurus - 500, покопался в настройках и теперь либо RU-RU, либо US-US, как зделать RU-US? Спасибо!

Оффлайн k0l0p0k

  • Ветеран
  • *****
  • Сообщений: 1611
  • Репутация: +27/-1
Re:Расклатка клавиатуры RU-RU либо US-US
« Ответ #1 : 13 Ноябрь 2011, 07:42:19 »
покажи свой /etc/X11/xorg.conf
1.пень G2020,8Gb,Radeon RX460 (Debian+openBox+LXPanel)
2.нетбук  Samsung N145 (Debian+openBox+LXPanel, ddr01)

Оффлайн valeravaraksin

  • Новичок
  • *
  • Сообщений: 4
  • Репутация: +0/-0
  • Автор темы
Re:Расклатка клавиатуры RU-RU либо US-US
« Ответ #2 : 15 Ноябрь 2011, 21:22:58 »
Код
#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"

# This loads xtrap extension, used by xrandr
   Load       "xtrap"

# This loads the GLX module (if present). xorg 7.4/5 need explicit disable to disable...
    Disable    "glx" #LOADGLX

# This loads dri module (if present). 7.4 loads it by default, have to disable...
#    Load       "dri" #LOADDRI
    Disable "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font paths to be set
# **********************************************************************

Оффлайн valeravaraksin

  • Новичок
  • *
  • Сообщений: 4
  • Репутация: +0/-0
  • Автор темы
Re:Расклатка клавиатуры RU-RU либо US-US
« Ответ #3 : 15 Ноябрь 2011, 21:23:41 »
Section "Files"

Код
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/share/X11/fonts/misc/"
    FontPath   "/usr/share/X11/fonts/Type1/"
    FontPath   "/usr/share/X11/fonts/TTF/"

EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option      "XkbRules" "xorg"
Option      "XkbModel" "pc105"
Option      "XkbLayout" "ru" #xkeymap0"
Option      "XkbVariant" ""
    Option        "XkbOptions" "grp:shift_caps_toggle,grp_led:scroll"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

# With this, Xorg won't talk to HAL to add evdev devices and you'll be back
# with the old Xorg behavior (pre-7.4)...

    Option "AutoAddDevices" "false"

# For no-Hal, kirk also suggests this...

#    Option "AllowMouseOpenFail" "true"

# Xorg 7.4, Ubuntu Jaunty, CTRL-ALT-BACKSPACE is disabled by default...

    Option "DontZap" "false"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option      "XkbRules" "xorg"
Option      "XkbModel" "pc102"
Option      "XkbLayout" "ru" #xkeymap0
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "IMPS/2" #mouse0protocol
Option     "Device" "/dev/mouse"
#Option      "Emulate3Buttons"
#Option      "Emulate3Timeout" "50"
Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
HorizSync    31.5-67
VertRefresh  50-75
#UseModes     "Modes0" #monitor0usemodes
Option      "PreferredMode" "1280x1024"
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option     "ShadowFB"            # [<bool>]
#Option     "DefaultRefresh"      # [<bool>]
#Option     "ModeSetClearScreen" # [<bool>]
Identifier  "Card0"
Driver      "vesa" #card0driver
VendorName  "InnoTek Systemberatung GmbH"
BoardName   "VirtualBox Graphics Adapter"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth       24
Modes       "1280x1024"
EndSubsection
EndSection

#PuppyHardwareProfile=VirtualBox_VBE_BIOS

Оффлайн k0l0p0k

  • Ветеран
  • *****
  • Сообщений: 1611
  • Репутация: +27/-1
Re:Расклатка клавиатуры RU-RU либо US-US
« Ответ #4 : 15 Ноябрь 2011, 22:42:16 »
Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option      "XkbRules" "xorg"
   Option      "XkbModel" "pc105"
   Option      "XkbLayout" "us,ru" #xkeymap0
   Option      "XkbVariant" ",winkeys"
   Option       "XkbOptions"   "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection
1.пень G2020,8Gb,Radeon RX460 (Debian+openBox+LXPanel)
2.нетбук  Samsung N145 (Debian+openBox+LXPanel, ddr01)

Оффлайн valeravaraksin

  • Новичок
  • *
  • Сообщений: 4
  • Репутация: +0/-0
  • Автор темы
Re:Расклатка клавиатуры RU-RU либо US-US
« Ответ #5 : 16 Ноябрь 2011, 20:54:59 »
Спасибо!!!

Оффлайн k0l0p0k

  • Ветеран
  • *****
  • Сообщений: 1611
  • Репутация: +27/-1
Re:Расклатка клавиатуры RU-RU либо US-US
« Ответ #6 : 16 Ноябрь 2011, 22:18:46 »
Option       "XkbOptions"   "grp:ctrl_shift_toggle,grp_led:scroll"  -
переключатся будет по сочетанию Ctrl и Shift
1.пень G2020,8Gb,Radeon RX460 (Debian+openBox+LXPanel)
2.нетбук  Samsung N145 (Debian+openBox+LXPanel, ddr01)