переключение раскладки в GDM (sabayon5.3) (при установке выбрал ru, в результате других раскладок нет)

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Bliznezz
Сообщения: 5
ОС: Fedora, RedHat, WinXP

переключение раскладки в GDM (sabayon5.3)

Сообщение Bliznezz »

Здравствуйте.
установил sabayon 5.3, при установке почему-то выбрал раскладку языка русскую, в инсталляторе была возможность переключаться: us,ru двойным шифтом
после установки загружается GDM, в котором нельзя раскладка русская, сменить на другую нельзя.
(а сами понимаете что это зайти в иксы по-нормальному нельзя, ни root-гом, ни под своим логином из латинских букв)

в логе /var/log/gdm/:0.log

Код: Выделить всё

Current version of pixman: 0.17.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 19 18:23:54 2010
(==) Using config file: "/etc/X11/xorg.conf"


в логе иксов

Код: Выделить всё

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-server i686
Current Operating System: Linux q1 2.6.34-sabayon #1 SMP Mon May 31 16:33:35 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86-2.6.34-sabayon ro init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet doslowusb scandelay=10 resume=swap:/dev/mapper/vol1-swap real_resume=/dev/mapper/vol1-swap dolvm root=/dev/ram0 ramdisk=8192 real_root=/dev/mapper/vol1-sabayon_root docrypt
Build Date: 18 March 2010  08:53:50AM

Current version of pixman: 0.17.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 19 18:23:54 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Main Layout"
(**) |-->Screen "Screen 0" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "SabayonVga0"
(**) |-->Input Device "Keyboard"
(**) Option "AllowMouseOpenFail" "true"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
        If no devices become available, reconfigure HAL or disable AutoAddDevices.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard
(II) Loader magic: 0x81e7720
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 6.0
        X.Org XInput driver : 7.0
        X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:0:2:0) 8086:2592:144d:c027 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller rev 3, Mem @ 0xb0080000/524288, 0xc0000000/268435456, 0xb0040000/262144, I/O @ 0x00001800/8
(--) PCI: (0:0:2:1) 8086:2792:144d:c027 Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller rev 3, Mem @ 0x88000000/524288
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded by default.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.1.0
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.2.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 7.0
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 2.11.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) Primary Device is: PCI 00@00:02:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(**) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
(--) intel(0): Chipset: "915GM"
(==) intel(0): video overlay key set to 0x101fe
(II) intel(0): Output VGA1 using monitor section Generic Monitor
(II) intel(0): Output LVDS1 has no monitor section
(II) intel(0): Output TV1 has no monitor section
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output LVDS1 connected
(II) intel(0): Output TV1 disconnected
(II) intel(0): Using exact sizes for initial modes
(II) intel(0): Output LVDS1 using initial mode 800x480
(II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(II) intel(0): Kernel page flipping support detected, enabling
(==) intel(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(==) Depth 24 pixmap format is 32 bpp
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(II)         put_image
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): Set up overlay video
(II) intel(0): direct rendering: DRI2 Enabled
(WW) intel(0): Option "UseEvents" is not used
(WW) intel(0): Option "LogoPath" is not used
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 211 x 126
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 2.4.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 7.0
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event2"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "ru"
(II) config/hal: Adding input device Touchkit HID-USB Touchscreen
(**) Touchkit HID-USB Touchscreen: always reports core events
(**) Touchkit HID-USB Touchscreen: Device: "/dev/input/event3"
(II) Touchkit HID-USB Touchscreen: Found 3 mouse buttons
(II) Touchkit HID-USB Touchscreen: Found absolute axes
(II) Touchkit HID-USB Touchscreen: Found x and y absolute axes
(II) Touchkit HID-USB Touchscreen: Configuring as mouse
(**) Touchkit HID-USB Touchscreen: YAxisMapping: buttons 4 and 5
(**) Touchkit HID-USB Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Touchkit HID-USB Touchscreen" (type: MOUSE)
(**) Touchkit HID-USB Touchscreen: (accel) keeping acceleration scheme 1
(**) Touchkit HID-USB Touchscreen: (accel) acceleration profile 0
(II) Touchkit HID-USB Touchscreen: initialized for absolute axes.
(II) config/hal: Adding input device HID 070a:0025
(**) HID 070a:0025: always reports core events
(**) HID 070a:0025: Device: "/dev/input/event6"
(II) HID 070a:0025: Found keys
(II) HID 070a:0025: Configuring as keyboard
(II) XINPUT: Adding extended input device "HID 070a:0025" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "ru"
(II) config/hal: Adding input device HID 070a:0025
(**) HID 070a:0025: always reports core events
(**) HID 070a:0025: Device: "/dev/input/event5"
(II) HID 070a:0025: Found keys
(II) HID 070a:0025: Configuring as keyboard
(II) XINPUT: Adding extended input device "HID 070a:0025" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "ru"
(II) config/hal: Adding input device HID 070a:0025
(**) HID 070a:0025: always reports core events
(**) HID 070a:0025: Device: "/dev/input/event4"
(II) HID 070a:0025: Found 3 mouse buttons
(II) HID 070a:0025: Found scroll wheel(s)
(II) HID 070a:0025: Found relative axes
(II) HID 070a:0025: Found x and y relative axes
(II) HID 070a:0025: Configuring as mouse
(**) HID 070a:0025: YAxisMapping: buttons 4 and 5
(**) HID 070a:0025: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "HID 070a:0025" (type: MOUSE)
(**) HID 070a:0025: (accel) keeping acceleration scheme 1
(**) HID 070a:0025: (accel) acceleration profile 0
(II) HID 070a:0025: initialized for relative axes.
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event0"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "ru"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event1"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "ru"
(II) AIGLX: Suspending AIGLX clients for VT switch



в в xorg.conf

Код: Выделить всё

Section "Module"
    SubSection  "extmod"
       Option    "omit xfree86-dga"
    EndSubSection
    Load    "i2c"
    Load    "ddc"
    Load    "vbe"
    Load    "dri"
    Load    "glx"
    Load    "synaptics"
EndSection

Section "ServerFlags"
     Option    "AllowMouseOpenFail"    "true"
EndSection

Section "InputDevice"
        Identifier "Keyboard"
        Driver     "kbd"
        Option "xkb_layout" "us"
#       Option "XkbLayout" "us,ru"
#       Option "XkbOptions" "grp:ctrl_shift_toggle"

EndSection


Section "Monitor"
    Identifier    "Generic Monitor"
    VertRefresh    43 - 60
    HorizSync      28 - 80
EndSection


Section "Device"

    Identifier  "SabayonVga0"
    Driver      "intel"
    #BusID    "PCI:00:02"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection

Section "Screen"

    Identifier    "Screen 0"
    Device        "SabayonVga0"
    Monitor       "Generic Monitor"
    #Option       "AddARGBGLXVisuals" "true"

    DefaultDepth 24

    SubSection "Display"
        Depth           8
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


Section "DRI"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier   "Main Layout"
    Screen 0    "Screen 0"
    InputDevice "Keyboard"
EndSection

Section "Extensions"
   #Option "Composite" "Enable"
EndSection


дорисовал секцию "InputDevice"
с клавиатурой и единсвтенной раскладкой us/ или us,ru
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:ctrl_shift_toggle"

на изменение в /etc/X11/xorg.conf - GMD не реагирует.

пытался пристрелить gdm,
стартовать иксы из-под рута, и гномовской утилиткой сменить раскладки
там видно что единственная раскладка - ru, изменения видимо принимает только для иксовой сессии рута. в GDM по-прежнему русский.

как бы вопрос: где что посмотреть чтобы сменить раскладку или добавить две?
Спасибо сказали:
Аватара пользователя
deadhead
Сообщения: 1913
Статус: zzz..z

Re: переключение раскладки в GDM (sabayon5.3)

Сообщение deadhead »

Bliznezz писал(а):
19.08.2010 15:48
как бы вопрос: где что посмотреть чтобы сменить раскладку или добавить две?
Как вариант добавить автологон для необходимого пользователя... так вы попадете в иксы без необходимости вводить пароль... ну а дальше вы сами все знаете ;-)

P.S. Подробности по автологину см. тут
[x] close
Спасибо сказали: