You are not logged in.

#1 2013-08-19 15:18:46

SteveDeFacto
Member
Registered: 2013-08-16
Posts: 158

Can't change keyboard layout.

I'm using a basic install of arch with Slim and Awesome. Was easy to configure the keyboard layout for the root terminal but when I tried to change the layout for X using this arch wiki guide but it didn't work at all. I also tried about 10-20 other guides but none of them worked either. What am I doing wrong?!

Offline

#2 2013-08-19 15:44:42

gauthma
Member
Registered: 2010-02-16
Posts: 222
Website

Re: Can't change keyboard layout.

Could you post your config? And what is your keyboard layout?

Offline

#3 2013-08-19 16:15:03

SteveDeFacto
Member
Registered: 2013-08-16
Posts: 158

Re: Can't change keyboard layout.

gauthma wrote:

Could you post your config? And what is your keyboard layout?

/etc/X11/xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 325.15  (buildmeister@swio-display-x64-rhel04-03)  Wed Jul 31 19:04:27 PDT 2013

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

/etc/X11/xorg.conf.d/90-keyboard-layouts.conf:

Section "InputClass"
        Identifier      "IntegratedKeyboard"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver          "evdev"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
        Option          "XkbVariant"    "dvorak"
EndSection

Offline

#4 2013-08-19 17:35:30

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Can't change keyboard layout.

I use Dvorak. I don't have a config file for the X server. Instead, I just put "setxkbmap dvorak" in my "~/.xinitrc" file. This also makes it easy to change back, using "setxkbmap us".

It's part of the package "xorg-setxkbmap".

Offline

#5 2013-08-19 17:58:06

youngdm
Member
Registered: 2013-08-02
Posts: 20

Re: Can't change keyboard layout.

Hello

I'm not sure if this helps because it's not the layout you're after but I struggled for a little while to get my keyboard right and didn't want to use Xmodmap. In the end, I found the answers were in the Wiki you list. You have to have a look in the directories that are specified. I noticed that there are a couple of lines that are different (2 & 3 below) in your layout.

1 Section "InputClass"
2     Identifier "keyboard defaults"
3     MatchIskeyboard "yes"
4     Driver "evdev"
5     Option "XkbModel" "macbook79"
6     Option "XkbLayout" "gb"
7 EndSection

Offline

#6 2013-08-19 19:13:54

SteveDeFacto
Member
Registered: 2013-08-16
Posts: 158

Re: Can't change keyboard layout.

drcouzelis wrote:

I use Dvorak. I don't have a config file for the X server. Instead, I just put "setxkbmap dvorak" in my "~/.xinitrc" file. This also makes it easy to change back, using "setxkbmap us".

It's part of the package "xorg-setxkbmap".

That's not ideal as it would only set it after I log in with slim. However, I tried that before but could not figure out how to execute a command with arguments from ~/.xinitrc. I tried:

exec "setxkbmap dvorak"

It would just crash. If you can tell me how exactly you did it, that would be temporary fix to my problem but I still want to know why this is happening.

So anyway, I have tried countless tutorials and guides but nothing is working. I am almost certain the problem is not how I wrote the configuration files. There has to be something overriding my settings but I have no idea what it is. I am not running gnome-settings-daemon so I don't know what else would override xorg's settings?

Last edited by SteveDeFacto (2013-08-19 21:09:20)

Offline

#7 2013-08-19 20:15:24

SteveDeFacto
Member
Registered: 2013-08-16
Posts: 158

Re: Can't change keyboard layout.

Can't figure out what is wrong! From the xorg log it appears my keyboard options are being applied to all devices on my machine?... I'm going to post my log here and hope someone can figure out what is going on.

[    16.548] 
X.Org X Server 1.14.2
Release Date: 2013-06-25
[    16.548] X Protocol Version 11, Revision 0
[    16.548] Build Operating System: Linux 3.9.7-1-ARCH x86_64 
[    16.548] Current Operating System: Linux arch 3.10.6-2-ARCH #1 SMP PREEMPT Tue Aug 13 09:47:01 CEST 2013 x86_64
[    16.548] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=157a219c-a6c4-4cd9-862e-c140c8a4f0ea rw quiet
[    16.548] Build Date: 01 July 2013  10:48:42AM
[    16.548]  
[    16.548] Current version of pixman: 0.30.2
[    16.548] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    16.548] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.549] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 19 16:22:59 2013
[    16.704] (==) Using config file: "/etc/X11/xorg.conf"
[    16.704] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    16.771] (==) ServerLayout "Layout0"
[    16.771] (**) |-->Screen "Screen0" (0)
[    16.771] (**) |   |-->Monitor "Monitor0"
[    16.771] (**) |   |-->Device "Device0"
[    16.771] (**) |-->Input Device "Keyboard0"
[    16.771] (**) |-->Input Device "Mouse0"
[    16.772] (==) Automatically adding devices
[    16.772] (==) Automatically enabling devices
[    16.772] (==) Automatically adding GPU devices
[    16.800] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    16.800] 	Entry deleted from font path.
[    16.939] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    16.939] 	Entry deleted from font path.
[    16.939] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    16.940] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    16.940] 	Entry deleted from font path.
[    16.940] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    16.940] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[    16.940] (==) ModulePath set to "/usr/lib/xorg/modules"
[    16.940] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    16.940] (WW) Disabling Keyboard0
[    16.940] (WW) Disabling Mouse0
[    16.951] (II) Loader magic: 0x7fdc20
[    16.951] (II) Module ABI versions:
[    16.951] 	X.Org ANSI C Emulation: 0.4
[    16.951] 	X.Org Video Driver: 14.1
[    16.951] 	X.Org XInput driver : 19.1
[    16.951] 	X.Org Server Extension : 7.0
[    16.951] (II) xfree86: Adding drm device (/dev/dri/card0)
[    16.954] (--) PCI:*(0:1:0:0) 10de:0611:1462:1170 rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000d800/128, BIOS @ 0x????????/131072
[    16.954] Initializing built-in extension Generic Event Extension
[    16.954] Initializing built-in extension SHAPE
[    16.954] Initializing built-in extension MIT-SHM
[    16.954] Initializing built-in extension XInputExtension
[    16.954] Initializing built-in extension XTEST
[    16.954] Initializing built-in extension BIG-REQUESTS
[    16.955] Initializing built-in extension SYNC
[    16.955] Initializing built-in extension XKEYBOARD
[    16.955] Initializing built-in extension XC-MISC
[    16.955] Initializing built-in extension SECURITY
[    16.955] Initializing built-in extension XINERAMA
[    16.955] Initializing built-in extension XFIXES
[    16.955] Initializing built-in extension RENDER
[    16.955] Initializing built-in extension RANDR
[    16.955] Initializing built-in extension COMPOSITE
[    16.955] Initializing built-in extension DAMAGE
[    16.955] Initializing built-in extension MIT-SCREEN-SAVER
[    16.955] Initializing built-in extension DOUBLE-BUFFER
[    16.955] Initializing built-in extension RECORD
[    16.955] Initializing built-in extension DPMS
[    16.955] Initializing built-in extension X-Resource
[    16.955] Initializing built-in extension XVideo
[    16.955] Initializing built-in extension XVideo-MotionCompensation
[    16.955] Initializing built-in extension XFree86-VidModeExtension
[    16.955] Initializing built-in extension XFree86-DGA
[    16.955] Initializing built-in extension XFree86-DRI
[    16.955] Initializing built-in extension DRI2
[    16.955] (II) LoadModule: "glx"
[    16.980] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    17.954] (II) Module glx: vendor="NVIDIA Corporation"
[    17.954] 	compiled for 4.0.2, module version = 1.0.0
[    17.954] 	Module class: X.Org Server Extension
[    17.955] (II) NVIDIA GLX Module  325.15  Wed Jul 31 18:12:00 PDT 2013
[    17.959] Loading extension GLX
[    17.959] (II) LoadModule: "nvidia"
[    17.959] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    18.057] (II) Module nvidia: vendor="NVIDIA Corporation"
[    18.058] 	compiled for 4.0.2, module version = 1.0.0
[    18.058] 	Module class: X.Org Video Driver
[    18.070] (II) NVIDIA dlloader X Driver  325.15  Wed Jul 31 17:50:57 PDT 2013
[    18.070] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    18.072] (++) using VT number 7

[    18.115] (II) Loading sub module "fb"
[    18.115] (II) LoadModule: "fb"
[    18.116] (II) Loading /usr/lib/xorg/modules/libfb.so
[    18.131] (II) Module fb: vendor="X.Org Foundation"
[    18.131] 	compiled for 1.14.2, module version = 1.0.0
[    18.131] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.131] (WW) Unresolved symbol: fbGetGCPrivateKey
[    18.131] (II) Loading sub module "wfb"
[    18.131] (II) LoadModule: "wfb"
[    18.131] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    18.149] (II) Module wfb: vendor="X.Org Foundation"
[    18.149] 	compiled for 1.14.2, module version = 1.0.0
[    18.149] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.149] (II) Loading sub module "shadow"
[    18.149] (II) LoadModule: "shadow"
[    18.149] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    18.150] (II) Module shadow: vendor="X.Org Foundation"
[    18.150] 	compiled for 1.14.2, module version = 1.1.0
[    18.150] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.151] (II) Loading sub module "ramdac"
[    18.151] (II) LoadModule: "ramdac"
[    18.151] (II) Module "ramdac" already built-in
[    18.169] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    18.169] (==) NVIDIA(0): RGB weight 888
[    18.169] (==) NVIDIA(0): Default visual is TrueColor
[    18.169] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.171] (**) NVIDIA(0): Enabling 2D acceleration
[    19.098] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[    19.249] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-0)) does not support NVIDIA
[    19.249] (II) NVIDIA(GPU-0):     3D Vision stereo.
[    19.249] (II) NVIDIA(0): NVIDIA GPU GeForce 8800 GT (G92) at PCI:1:0:0 (GPU-0)
[    19.249] (--) NVIDIA(0): Memory: 524288 kBytes
[    19.249] (--) NVIDIA(0): VideoBIOS: 62.92.23.00.00
[    19.249] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    19.252] (--) NVIDIA(0): Valid display device(s) on GeForce 8800 GT at PCI:1:0:0
[    19.252] (--) NVIDIA(0):     CRT-0
[    19.252] (--) NVIDIA(0):     CRT-1
[    19.252] (--) NVIDIA(0):     TV-0
[    19.252] (--) NVIDIA(0):     Samsung SyncMaster (DFP-0) (boot, connected)
[    19.252] (--) NVIDIA(0):     DFP-1
[    19.252] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[    19.252] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[    19.252] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
[    19.252] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): 330.0 MHz maximum pixel clock
[    19.252] (--) NVIDIA(0): Samsung SyncMaster (DFP-0): Internal Dual Link TMDS
[    19.252] (--) NVIDIA(0): DFP-1: 330.0 MHz maximum pixel clock
[    19.252] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[    19.252] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    19.252] (**) NVIDIA(0):     device Samsung SyncMaster (DFP-0) (Using EDID frequencies
[    19.252] (**) NVIDIA(0):     has been enabled on all display devices.)
[    19.254] (==) NVIDIA(0): 
[    19.254] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    19.254] (==) NVIDIA(0):     will be used as the requested mode.
[    19.254] (==) NVIDIA(0): 
[    19.255] (II) NVIDIA(0): Validated MetaModes:
[    19.255] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select{}"
[    19.255] (II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
[    19.294] (--) NVIDIA(0): DPI set to (87, 83); computed from "UseEdidDpi" X config
[    19.294] (--) NVIDIA(0):     option
[    19.294] (--) Depth 24 pixmap format is 32 bpp
[    19.294] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[    19.298] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    19.298] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    19.298] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    19.298] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    19.298] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    19.298] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    19.298] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    19.298] (II) NVIDIA(0):     Config Options in the README.
[    19.300] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select{}"
[    19.359] Loading extension NV-GLX
[    19.393] (==) NVIDIA(0): Disabling shared memory pixmaps
[    19.393] (==) NVIDIA(0): Backing store disabled
[    19.393] (==) NVIDIA(0): Silken mouse enabled
[    19.395] (**) NVIDIA(0): DPMS enabled
[    19.395] Loading extension NV-CONTROL
[    19.395] Loading extension XINERAMA
[    19.395] (II) Loading sub module "dri2"
[    19.395] (II) LoadModule: "dri2"
[    19.395] (II) Module "dri2" already built-in
[    19.395] (II) NVIDIA(0): [DRI2] Setup complete
[    19.395] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    19.396] (--) RandR disabled
[    19.414] (II) Initializing extension GLX
[    19.924] (II) config/udev: Adding input device Power Button (/dev/input/event6)
[    19.924] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    19.924] (**) Power Button: Applying InputClass "IntegratedKeyboard"
[    19.924] (II) LoadModule: "evdev"
[    19.925] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    19.941] (II) Module evdev: vendor="X.Org Foundation"
[    19.941] 	compiled for 1.14.2, module version = 2.8.1
[    19.941] 	Module class: X.Org XInput Driver
[    19.941] 	ABI class: X.Org XInput driver, version 19.1
[    19.941] (II) Using input driver 'evdev' for 'Power Button'
[    19.941] (**) Power Button: always reports core events
[    19.941] (**) evdev: Power Button: Device: "/dev/input/event6"
[    19.941] (--) evdev: Power Button: Vendor 0 Product 0x1
[    19.941] (--) evdev: Power Button: Found keys
[    19.941] (II) evdev: Power Button: Configuring as keyboard
[    19.941] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event6"
[    19.941] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    19.941] (**) Option "xkb_rules" "evdev"
[    19.941] (**) Option "xkb_model" "pc105"
[    19.941] (**) Option "xkb_layout" "us"
[    19.941] (**) Option "xkb_variant" "dvorak"
[    20.030] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[    20.030] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    20.030] (**) Power Button: Applying InputClass "IntegratedKeyboard"
[    20.030] (II) Using input driver 'evdev' for 'Power Button'
[    20.030] (**) Power Button: always reports core events
[    20.030] (**) evdev: Power Button: Device: "/dev/input/event5"
[    20.030] (--) evdev: Power Button: Vendor 0 Product 0x1
[    20.030] (--) evdev: Power Button: Found keys
[    20.030] (II) evdev: Power Button: Configuring as keyboard
[    20.031] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5/event5"
[    20.031] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    20.031] (**) Option "xkb_rules" "evdev"
[    20.031] (**) Option "xkb_model" "pc105"
[    20.031] (**) Option "xkb_layout" "us"
[    20.031] (**) Option "xkb_variant" "dvorak"
[    20.032] (II) config/udev: Adding drm device (/dev/dri/card0)
[    20.032] (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:4004 (/dev/input/event0)
[    20.033] (**) Logitech Unifying Device. Wireless PID:4004: Applying InputClass "evdev keyboard catchall"
[    20.033] (**) Logitech Unifying Device. Wireless PID:4004: Applying InputClass "IntegratedKeyboard"
[    20.033] (II) Using input driver 'evdev' for 'Logitech Unifying Device. Wireless PID:4004'
[    20.033] (**) Logitech Unifying Device. Wireless PID:4004: always reports core events
[    20.033] (**) evdev: Logitech Unifying Device. Wireless PID:4004: Device: "/dev/input/event0"
[    20.033] (--) evdev: Logitech Unifying Device. Wireless PID:4004: Vendor 0x46d Product 0xc52b
[    20.033] (--) evdev: Logitech Unifying Device. Wireless PID:4004: Found 1 mouse buttons
[    20.033] (--) evdev: Logitech Unifying Device. Wireless PID:4004: Found scroll wheel(s)
[    20.033] (--) evdev: Logitech Unifying Device. Wireless PID:4004: Found relative axes
[    20.033] (II) evdev: Logitech Unifying Device. Wireless PID:4004: Forcing relative x/y axes to exist.
[    20.033] (--) evdev: Logitech Unifying Device. Wireless PID:4004: Found absolute axes
[    20.033] (II) evdev: Logitech Unifying Device. Wireless PID:4004: Forcing absolute x/y axes to exist.
[    20.033] (--) evdev: Logitech Unifying Device. Wireless PID:4004: Found keys
[    20.033] (II) evdev: Logitech Unifying Device. Wireless PID:4004: Configuring as mouse
[    20.033] (II) evdev: Logitech Unifying Device. Wireless PID:4004: Configuring as keyboard
[    20.033] (II) evdev: Logitech Unifying Device. Wireless PID:4004: Adding scrollwheel support
[    20.033] (**) evdev: Logitech Unifying Device. Wireless PID:4004: YAxisMapping: buttons 4 and 5
[    20.033] (**) evdev: Logitech Unifying Device. Wireless PID:4004: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    20.033] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6.1/6-6.1:1.2/0003:046D:C52B.0005/input/input0/event0"
[    20.033] (II) XINPUT: Adding extended input device "Logitech Unifying Device. Wireless PID:4004" (type: KEYBOARD, id 8)
[    20.033] (**) Option "xkb_rules" "evdev"
[    20.033] (**) Option "xkb_model" "pc105"
[    20.033] (**) Option "xkb_layout" "us"
[    20.033] (**) Option "xkb_variant" "dvorak"
[    20.049] (II) evdev: Logitech Unifying Device. Wireless PID:4004: initialized for relative axes.
[    20.049] (WW) evdev: Logitech Unifying Device. Wireless PID:4004: ignoring absolute axes.
[    20.050] (**) Logitech Unifying Device. Wireless PID:4004: (accel) keeping acceleration scheme 1
[    20.050] (**) Logitech Unifying Device. Wireless PID:4004: (accel) acceleration profile 0
[    20.050] (**) Logitech Unifying Device. Wireless PID:4004: (accel) acceleration factor: 2.000
[    20.050] (**) Logitech Unifying Device. Wireless PID:4004: (accel) acceleration threshold: 4
[    20.051] (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:1020 (/dev/input/event1)
[    20.051] (**) Logitech Unifying Device. Wireless PID:1020: Applying InputClass "evdev pointer catchall"
[    20.051] (II) Using input driver 'evdev' for 'Logitech Unifying Device. Wireless PID:1020'
[    20.051] (**) Logitech Unifying Device. Wireless PID:1020: always reports core events
[    20.051] (**) evdev: Logitech Unifying Device. Wireless PID:1020: Device: "/dev/input/event1"
[    20.051] (--) evdev: Logitech Unifying Device. Wireless PID:1020: Vendor 0x46d Product 0xc52b
[    20.051] (--) evdev: Logitech Unifying Device. Wireless PID:1020: Found 20 mouse buttons
[    20.051] (--) evdev: Logitech Unifying Device. Wireless PID:1020: Found scroll wheel(s)
[    20.051] (--) evdev: Logitech Unifying Device. Wireless PID:1020: Found relative axes
[    20.051] (--) evdev: Logitech Unifying Device. Wireless PID:1020: Found x and y relative axes
[    20.051] (II) evdev: Logitech Unifying Device. Wireless PID:1020: Configuring as mouse
[    20.051] (II) evdev: Logitech Unifying Device. Wireless PID:1020: Adding scrollwheel support
[    20.051] (**) evdev: Logitech Unifying Device. Wireless PID:1020: YAxisMapping: buttons 4 and 5
[    20.051] (**) evdev: Logitech Unifying Device. Wireless PID:1020: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    20.051] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6.1/6-6.1:1.2/0003:046D:C52B.0005/input/input1/event1"
[    20.051] (II) XINPUT: Adding extended input device "Logitech Unifying Device. Wireless PID:1020" (type: MOUSE, id 9)
[    20.051] (II) evdev: Logitech Unifying Device. Wireless PID:1020: initialized for relative axes.
[    20.052] (**) Logitech Unifying Device. Wireless PID:1020: (accel) keeping acceleration scheme 1
[    20.052] (**) Logitech Unifying Device. Wireless PID:1020: (accel) acceleration profile 0
[    20.052] (**) Logitech Unifying Device. Wireless PID:1020: (accel) acceleration factor: 2.000
[    20.052] (**) Logitech Unifying Device. Wireless PID:1020: (accel) acceleration threshold: 4
[    20.053] (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:1020 (/dev/input/mouse0)
[    20.053] (II) No input driver specified, ignoring this device.
[    20.053] (II) This device may have been added with another device file.
[    20.054] (II) config/udev: Adding input device Logitech Logitech Wireless Headset (/dev/input/event2)
[    20.054] (**) Logitech Logitech Wireless Headset: Applying InputClass "evdev keyboard catchall"
[    20.054] (**) Logitech Logitech Wireless Headset: Applying InputClass "IntegratedKeyboard"
[    20.054] (II) Using input driver 'evdev' for 'Logitech Logitech Wireless Headset'
[    20.054] (**) Logitech Logitech Wireless Headset: always reports core events
[    20.054] (**) evdev: Logitech Logitech Wireless Headset: Device: "/dev/input/event2"
[    20.054] (II) evdev: Logitech Logitech Wireless Headset: Using mtdev for this device
[    20.054] (--) evdev: Logitech Logitech Wireless Headset: Vendor 0x46d Product 0xa29
[    20.054] (--) evdev: Logitech Logitech Wireless Headset: Found absolute axes
[    20.054] (--) evdev: Logitech Logitech Wireless Headset: Found absolute multitouch axes
[    20.054] (II) evdev: Logitech Logitech Wireless Headset: No buttons found, faking one.
[    20.054] (--) evdev: Logitech Logitech Wireless Headset: Found keys
[    20.054] (II) evdev: Logitech Logitech Wireless Headset: Forcing relative x/y axes to exist.
[    20.054] (II) evdev: Logitech Logitech Wireless Headset: Configuring as mouse
[    20.054] (II) evdev: Logitech Logitech Wireless Headset: Configuring as keyboard
[    20.054] (**) evdev: Logitech Logitech Wireless Headset: YAxisMapping: buttons 4 and 5
[    20.054] (**) evdev: Logitech Logitech Wireless Headset: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    20.055] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6.3/6-6.3:1.3/input/input2/event2"
[    20.055] (II) XINPUT: Adding extended input device "Logitech Logitech Wireless Headset" (type: KEYBOARD, id 10)
[    20.055] (**) Option "xkb_rules" "evdev"
[    20.055] (**) Option "xkb_model" "pc105"
[    20.055] (**) Option "xkb_layout" "us"
[    20.055] (**) Option "xkb_variant" "dvorak"
[    20.057] (II) evdev: Logitech Logitech Wireless Headset: initialized for absolute axes.
[    20.058] (**) Logitech Logitech Wireless Headset: (accel) keeping acceleration scheme 1
[    20.058] (**) Logitech Logitech Wireless Headset: (accel) acceleration profile 0
[    20.058] (**) Logitech Logitech Wireless Headset: (accel) acceleration factor: 2.000
[    20.058] (**) Logitech Logitech Wireless Headset: (accel) acceleration threshold: 4
[    20.059] (II) config/udev: Adding input device HID 0a5c:4502 (/dev/input/event3)
[    20.059] (**) HID 0a5c:4502: Applying InputClass "evdev keyboard catchall"
[    20.059] (**) HID 0a5c:4502: Applying InputClass "IntegratedKeyboard"
[    20.059] (II) Using input driver 'evdev' for 'HID 0a5c:4502'
[    20.059] (**) HID 0a5c:4502: always reports core events
[    20.059] (**) evdev: HID 0a5c:4502: Device: "/dev/input/event3"
[    20.059] (--) evdev: HID 0a5c:4502: Vendor 0xa5c Product 0x4502
[    20.059] (--) evdev: HID 0a5c:4502: Found keys
[    20.059] (II) evdev: HID 0a5c:4502: Configuring as keyboard
[    20.059] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6.4/6-6.4.1/6-6.4.1:1.0/input/input3/event3"
[    20.059] (II) XINPUT: Adding extended input device "HID 0a5c:4502" (type: KEYBOARD, id 11)
[    20.059] (**) Option "xkb_rules" "evdev"
[    20.059] (**) Option "xkb_model" "pc105"
[    20.059] (**) Option "xkb_layout" "us"
[    20.059] (**) Option "xkb_variant" "dvorak"
[    20.061] (II) config/udev: Adding input device HID 0a5c:4503 (/dev/input/event4)
[    20.061] (**) HID 0a5c:4503: Applying InputClass "evdev pointer catchall"
[    20.061] (II) Using input driver 'evdev' for 'HID 0a5c:4503'
[    20.061] (**) HID 0a5c:4503: always reports core events
[    20.061] (**) evdev: HID 0a5c:4503: Device: "/dev/input/event4"
[    20.061] (--) evdev: HID 0a5c:4503: Vendor 0xa5c Product 0x4503
[    20.061] (--) evdev: HID 0a5c:4503: Found 3 mouse buttons
[    20.061] (--) evdev: HID 0a5c:4503: Found relative axes
[    20.061] (--) evdev: HID 0a5c:4503: Found x and y relative axes
[    20.061] (II) evdev: HID 0a5c:4503: Configuring as mouse
[    20.061] (**) evdev: HID 0a5c:4503: YAxisMapping: buttons 4 and 5
[    20.061] (**) evdev: HID 0a5c:4503: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    20.061] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.2/usb6/6-6/6-6.4/6-6.4.2/6-6.4.2:1.0/input/input4/event4"
[    20.061] (II) XINPUT: Adding extended input device "HID 0a5c:4503" (type: MOUSE, id 12)
[    20.061] (II) evdev: HID 0a5c:4503: initialized for relative axes.
[    20.062] (**) HID 0a5c:4503: (accel) keeping acceleration scheme 1
[    20.062] (**) HID 0a5c:4503: (accel) acceleration profile 0
[    20.062] (**) HID 0a5c:4503: (accel) acceleration factor: 2.000
[    20.062] (**) HID 0a5c:4503: (accel) acceleration threshold: 4
[    20.063] (II) config/udev: Adding input device HID 0a5c:4503 (/dev/input/mouse1)
[    20.063] (II) No input driver specified, ignoring this device.
[    20.063] (II) This device may have been added with another device file.
[    20.063] (II) config/udev: Adding input device HDA ATI SB Line Out CLFE (/dev/input/event10)
[    20.063] (II) No input driver specified, ignoring this device.
[    20.063] (II) This device may have been added with another device file.
[    20.064] (II) config/udev: Adding input device HDA ATI SB Line Out Surround (/dev/input/event11)
[    20.064] (II) No input driver specified, ignoring this device.
[    20.064] (II) This device may have been added with another device file.
[    20.064] (II) config/udev: Adding input device HDA ATI SB Line Out Front (/dev/input/event12)
[    20.065] (II) No input driver specified, ignoring this device.
[    20.065] (II) This device may have been added with another device file.
[    20.065] (II) config/udev: Adding input device HDA ATI SB Line (/dev/input/event13)
[    20.065] (II) No input driver specified, ignoring this device.
[    20.065] (II) This device may have been added with another device file.
[    20.066] (II) config/udev: Adding input device HDA ATI SB Rear Mic (/dev/input/event14)
[    20.066] (II) No input driver specified, ignoring this device.
[    20.066] (II) This device may have been added with another device file.
[    20.066] (II) config/udev: Adding input device HDA ATI SB Front Mic (/dev/input/event15)
[    20.066] (II) No input driver specified, ignoring this device.
[    20.066] (II) This device may have been added with another device file.
[    20.067] (II) config/udev: Adding input device HDA ATI SB Front Headphone (/dev/input/event8)
[    20.067] (II) No input driver specified, ignoring this device.
[    20.067] (II) This device may have been added with another device file.
[    20.068] (II) config/udev: Adding input device HDA ATI SB Line Out Side (/dev/input/event9)
[    20.068] (II) No input driver specified, ignoring this device.
[    20.068] (II) This device may have been added with another device file.
[    20.068] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[    20.068] (II) No input driver specified, ignoring this device.
[    20.068] (II) This device may have been added with another device file.
[    43.463] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-0)) does not support NVIDIA
[    43.463] (II) NVIDIA(GPU-0):     3D Vision stereo.

Last edited by SteveDeFacto (2013-08-19 20:26:23)

Offline

#8 2013-08-20 09:21:19

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 125

Re: Can't change keyboard layout.

Just a couple of comments.
I dont have the keyboard in my xorg.conf and in /etc/X11/xorg.conf.d/90-keyboard-layouts.conf.
Try hashing out the one in xorg.conf.
I also note that the xorg.log shows a warning:-
ie.
[    16.940] (WW) Disabling Keyboard0
[    16.940] (WW) Disabling Mouse0
Dont know if this is relevant.

Offline

#9 2013-08-20 10:50:31

flurick
Member
Registered: 2013-08-20
Posts: 2

Re: Can't change keyboard layout.

I do not know how correct this is, but it works for me, using the xinit method I put the setxbmap before the exec like so.

setxkbmap se
exec awesome

Offline

#10 2013-08-20 15:29:16

SteveDeFacto
Member
Registered: 2013-08-16
Posts: 158

Re: Can't change keyboard layout.

I probably should have mentioned this before but it is a Logitech Wireless Combo MK360. I tried it with a wired keyboard and it worked. From previous forum posts this appears to be a bug. It seems that the only way to fix this would be to install proprietary drivers but Logitech has none for linux...

Last edited by SteveDeFacto (2013-08-20 15:47:33)

Offline

#11 2018-11-29 05:42:22

poleguy
Member
Registered: 2018-11-29
Posts: 2

Re: Can't change keyboard layout.

Yes, an old post, but google found this. In your log it says randr disabled... I just disabled randr to fix a display port monitor problem and it broke my keyboard layout switching. Ugh... I hope this helps someone.

Offline

#12 2018-11-29 23:50:20

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Can't change keyboard layout.

Please do not necrobump old threads.  If you are having a problem, please start a new thread and link back to this one if needed.

Offline

#13 2018-11-29 23:55:10

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Can't change keyboard layout.

circleface wrote:

Please do not necrobump old threads.  If you are having a problem, please start a new thread and link back to this one if needed.

Indeed.

Closing.

All the best,

-HG

Offline

Board footer

Powered by FluxBB