X11 keyboard layout and weird device recognition

Hi,
After recent upgrade (mostly gnome-3.6-related) on my laptop I decided to drop gnome-settings-daemon and use lightweight xsettingsd for my i3wm desktop environment. However, with gnome-settings-daemon gone my X keyboard layout configuration was gone as well. I tried to configure it using the following lines in /etc/X11/xorg.conf.d/10-evdev.conf:
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbModel" "evdev"
Option "XkbRules" "evdev"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
EndSection
This configuration works very well on my desktop computer, however, when I changed 10-evdev.conf on the laptop and restarted X11 (through restarting GDM or even rebooting), it didn't work. The layout was not switching on Capslock as it should have been. I even tried to use gnome-settings-daemon again, but it seems that they have changed something in it in 3.6 version, and my old configuration is not working anymore - launching gsd does not enable layout swithing. I couldn't manage to configure gsd again with gnome control center too - it now has completely different interface in keyboard settings.
However, issuing setxkbmap command with right options works, and layout switches correctly after it.
So, first part of my question: is there a way to drop setxkbmap command and use X11 config only?
My first action in debugging this was to look into Xorg.0.log, which brings me to the second part of my question. I found rather suspicious things there:
[ 27.070] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 27.070] (**) Option "xkb_rules" "evdev"
[ 27.070] (**) Option "xkb_model" "evdev"
[ 27.070] (**) Option "xkb_layout" "us,ru"
[ 27.070] (**) Option "xkb_variant" ",winkeys"
[ 27.070] (**) Option "xkb_options" "grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
[ 27.130] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 27.130] (**) Option "xkb_rules" "evdev"
[ 27.130] (**) Option "xkb_model" "evdev"
[ 27.130] (**) Option "xkb_layout" "us,ru"
[ 27.130] (**) Option "xkb_variant" ",winkeys"
[ 27.130] (**) Option "xkb_options" "grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
[ 27.134] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[ 27.134] (**) Option "xkb_rules" "evdev"
[ 27.134] (**) Option "xkb_model" "evdev"
[ 27.134] (**) Option "xkb_layout" "us,ru"
[ 27.134] (**) Option "xkb_variant" ",winkeys"
[ 27.134] (**) Option "xkb_options" "grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
[ 27.136] (II) XINPUT: Adding extended input device "WebCam SC-13HD11338N" (type: KEYBOARD, id 10)
[ 27.136] (**) Option "xkb_rules" "evdev"
[ 27.136] (**) Option "xkb_model" "evdev"
[ 27.136] (**) Option "xkb_layout" "us,ru"
[ 27.136] (**) Option "xkb_variant" ",winkeys"
[ 27.136] (**) Option "xkb_options" "grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
[ 27.138] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[ 27.138] (**) Option "xkb_rules" "evdev"
[ 27.138] (**) Option "xkb_model" "evdev"
[ 27.138] (**) Option "xkb_layout" "us,ru"
[ 27.138] (**) Option "xkb_variant" ",winkeys"
[ 27.138] (**) Option "xkb_options" "grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
So, it looks like that keyboard options really were applied to the keyboard (last entry) - strange that in fact this is not right, and these options do not work without setxkbmap.
However, there are very strange entries too - somehow my webcam, power button, sleep button and video bus (!) were recognized as keyboard! Is this normal behavior? This does not seem to have any consequences, but still this does not feel right.
Regards,
Vladimir.

Apparently my request was less reasonable than I realized...  How about this:
In an xterm, enter setxkbmap us (this assumes us is your default keymap, so you can use the command history to reset it).  Next, run setxkbmap colemak.  If it doesn't return an error (I get Error loading new keyboard description) type something, then press Caps Lock.  I just need to know if you get a backspace effect.  That's it, now run setxkbmap us from your history.  Thanks.

Similar Messages

  • Keyboard layout and Sun Ray

    Hi all,
    We're using the Sun Rays in a VDI environment, but there is a mixture in keyboard layouts: qwerty and azerty.
    The session detects the correct keyboard layout, but it doesn't pass it to uttsc.
    Is there any way to detect the keyboard layout and pass it manually?
    Regards,
    Wouter

    Hi,
    You can use this setting directly in the VMware guest:
    http://support.microsoft.com/kb/322042/en-us

  • [Solved] Can't login with current keyboard layout and `@` in password

    Hi, I'm a new arch user. I followed archwiki to install Enlightenment17. All went fine but I have a problem to login since during setup I inserted '@' in root/regular user passwords. During setup I selected the Italian layout and all seems ok, except grafical login through entrance (from aur, but I tested also kdm, with same results): password not recognized. Before asking, is not a CAPS/NUMLOCK issue since the password works using it in console login. I discovered that I can type '@' with the following combination: SHIFT+2; in an italian keybord this should print a double quote (") but in entrance (and kdm) it correponds to '@'. After login this way, the keyboard works normally (for instance using 'su'). So the problem is limited to graphical login (entrance and kdm) during which a different keyboard layout is used.
    Did I miss some config file?
    For the sake of clarity:
    1) /etc/locale.gen has "it_IT.UTF-8 UTF-8" uncommented
    2) /etc/locale.conf contains "LANG=it_IT.UTF-8"
    3) /etc/vconsole.conf contains "KEYMAP=it"
    4)
    $ locale
    LANG=it_IT.UTF-8
    LC_CTYPE="it_IT.UTF-8"
    LC_NUMERIC="it_IT.UTF-8"
    LC_TIME="it_IT.UTF-8"
    LC_COLLATE="it_IT.UTF-8"
    LC_MONETARY="it_IT.UTF-8"
    LC_MESSAGES="it_IT.UTF-8"
    LC_PAPER="it_IT.UTF-8"
    LC_NAME="it_IT.UTF-8"
    LC_ADDRESS="it_IT.UTF-8"
    LC_TELEPHONE="it_IT.UTF-8"
    LC_MEASUREMENT="it_IT.UTF-8"
    LC_IDENTIFICATION="it_IT.UTF-8"
    LC_ALL=
    Thanks for any help.
    Last edited by bull3t (2013-03-03 14:10:15)

    cfr wrote:Have you tried specifying a variant?
    I exclude a variant problem considering that in any other condition the keyboard layout is right. The system is configured for an it KEYMAP but it is obvious that in entrance/kdm is used an 'us' map. Is this hardcoded somewhere? I also tryed to comment out any entry in /etc/locale.gen except 'it_IT.UTF-8 UTF-8': still 'us' keymap in graphical login screen.
    Probably a kind user with a non-us keyborad layout could create a dummy user with password containing '@' or '#' or any other special symbol to verify that this condition is reproducible, a first step for a bug report.
    Cheers

  • Custom keyboard layout and Gnome3

    After moving back to my native Sweden I find that the local keyboard is a pain to use for programming (mainly it's the locations of '{[]}' that are painful).  I'm stuck with Swedish keyboards at work, it's mostly laptops so using an external keyboard is not an ideal solution.  Currently my solution is to run the following script
    #! /bin/bash
    # load XKB, if there is one
    XKBDIR=${HOME}/.xkb
    XKBMAPFILE=${XKBDIR}/keymap/$(hostname)
    if [[ -f ${XKBMAPFILE} ]]; then
    xkbcomp -I${XKBDIR} ${XKBMAPFILE} ${DISPLAY} &> /dev/null
    fi
    and then put the desired layout changes under ~/.xkb/.  I've then created a .desktop and put it in ~/.config/autostart to run the script on login.  The only problem with this is that the changed layout doesn't survive putting the laptop to sleep or hibernating it.
    I'd love to get suggestions for better solutions, solutions that survive sleep/hibernate.

    But how can I edit this file to extract an Spanish.keylayout ?? And be able to create a custom keyboard layout ??
    Don't mess with those files. Just get Ukelele, it comes with copies of what you need:
    http://scripts.sil.org/cms/scripts/page.php?siteid=nrsi&itemid=ukelele
    What exactly are you trying to do? Some other info is
    http://m10lmac.blogspot.com/2007/02/more-ways-to-type-spanish.html
    http://m10lmac.blogspot.com/2007/04/typing-catalan.html

  • Two problems with setting up arch. Keyboard layout and wifi card.

    Hi guys.
    I have installed arch on my old laptop (LG le express) and I have two problems.
    1. I wasn't able to create a Hebrew keyboard layout.
    2. I don't know how to install my wifi card. (Ralink 2500).
    as for one, I changed my xorg.conf to this:
    section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "Xkbmodel" "pc105"
    Option "XkbLayout" "us,il"
    Option "KkbOption" "grep:switch,grp:alt_shift_toggel,grp_led:caps"
    EndSection
    but it didn't work.
    As for 2, I have found this:
    https://wiki.archlinux.org/index.php/Us … eta_driver
    But I can't find how to install rt2x00
    Thanks

    If you edit the first post you can change the title, prepend it with [solved] (once all issues are actually solved). Also if you can post your working solution then it will be useful for others having similar difficulties. Please read the following links.
    Mark threads as [solved]
    Forum etiquette
    As for your wireless issue, which tool are you using? A quick google around seems to suggest that netcfg in combination with wpa supplicant can connect to LEAP encrypted networks, eg this thread. Are you also aware that there are graphical tools to do this for you that you may find easier, such as wicd?
    Last edited by quigybo (2010-11-12 01:56:01)

  • Hit PrtSc on new keyboard layout and lost clipboard data?

    The new keyboard layout place the PrtSc button at the bottom row of the keyboard between left Alt anc Ctrl.
    I think some of you might have already tried that, when you try to press the right Ctrl or Alt (for example try to press Ctrl+V... etc) or even just accidentally hit the PrtSc key, and then the text that you copied will be cleared in the clipboard so you need to go back and copy again.
    Even worse: You can't recover if you cut and closed the application, then hit PrtSc and let the clipboard to be overwritten!
    Solved!
    Go to Solution.

    There are two ways to deal with the problem: (1) bypass Windows print sceren functionality or (2) install a clipboard manager.
    To bypass Windows print sceren functionality you can install a program. An opensource example is Lightscreen. You can configure it to directly save the print screen into your document directory instead of overwriting the clipboard. There is an extra benefit, that you don't need to do print screen, then open Paint, then paste, then save the image just to upload or save it.
    An opensource example of clipboard manager is Ditto. It tracks changes in the clipboard and save a history of everything. In case if the PrtSc key overwritten the clipboard, most of the time you will be able to recover.

  • Digital Cinema Desktop Preview, keyboard layout and other bugs - Leopard

    I just reinstalled my Mac Pro because I hoped it would fix some bugs... but no luck. Digital cinema desktop preview (dcdp) was working just fine until I installed the Aja Kona Lhe software, afterwards only dcdp for the main display was working, both dcdp and dcdp "full screen" have disappeared. The other things I was hoping 10.5.2 would fix are the problem FCP cannot remember the keyboard layout I use (azerty-belgium) - every time I start the program I have to choose the layout again - and the fact I cannot export using compressor straight from FCP using qmaster: Final cut pro generated an error! (this has never worked)
    If you are having the same problems as I do, maybe we should compare hardware to see what we have in common that could be causing this problem. As I have found during my searches, some computers have similar problems, others don't, sometimes it also matters if you've upgraded from Tiger of did a clean install, where upgrading it seems (yes really!!) gives the least problems...
    I really hope there will be a bugfix soon, because I'm sure I'm not the only one having these problems... or maybe I should just install Tiger and upgrade...???

    I vote for going back to Tiger. That is known to be stable. Leopard and FCP is unpredictable at the moment.
    Shane

  • Dv7 / Dv6 keyboard layout and accessorie​s

    Hello, I have a new dv7-6c95dx and I am having the hardest time finding accessories for it. I was wondering if you could tell me if the Dv7 and the Dv6 have the same keyboard layout. I can't seem to find a keyboard cover for my Dv7 however, I have found several for the Dv6. I just wanted to know if the keyboards were the same before i made the purchase. Also, if you advise against purchasing the Dv6 cover for my Dv7, could you possibly tell me where I could go to find a cover suitable for my Dv7? Thanks

    dv6 keyboard part nos:
    530580-001  518965-001
    dv7 part nos
    519004-001  519265-001
    Not the same. Does yours have an enbedded numeric keypad to the right of the main keyboard? All dv7s have the numeric keypad but the pictures I am seeing of the dv6 are mixed. The pictures I am seeing of dv6 keyboards with numeric keypad show the same key layout as the dv7 keyboard so I would say that if the dv6 keyboard cover has a numeric keypad area you are likely OK, but these things have to be an identical fit. I am not seeing a cover for your model on ebay. You might contactt his seller:
    http://www.ebay.com/itm/New-HP-Pavilion-DV7-DV7-10​00-DV7-2000-Clear-Laptop-Keyboard-Skin-Cover-/1108​...
    To see if they know where you can get one.

  • How to add keyboard layout and define shortcut to switch layouts

    Hello there people of Arch!
    How can i add greek layout to my laptop and how can i set "alt+shift" as the shortcut to switch between layouts?
    I tried to search but i couldn't find something useful!

    Inxsible wrote:
    sepuku wrote:
    Inxsible wrote:What I gave you there was the guide itself.
    What you gave me there is something generic not a guide(telling do "this" and "that" without telling how "this" and "that" is actually done is not a guide).Since i ask you how i'm supposed to do something am asking for specific info.
    I'm using gnome.Is there a way to do it using the graphical environment?I don't have time this days to learn writing scripts cause i really need the greek layout for my studies and there's little time.
    Thank you again for your reply!
    Aah !!
    Why didn't you say you wanted everything handed out to you on a platter !!!
    Aaaah why didn't you say you are full of complexes?Thank you for your guide!That really helped me!I just asked if there's is guide in the forum 'cause i searched and couldn't find any info.And no what you gave me is not a guide.Could you just answer this without pretending the smart?Or this is just to difficult?Well anyway no hard feelings I don't care.
    Am not going to reply to anything else you say cause you are ironic!I'll just wait if there is a more polite answer!
    Peace to your complexes.

  • Is there button (custom button?) for Firefox, which show my current keyboard layout, and if i push the button it change layout?

    Window 7 Home Edition, Firefox 4

    Instead GarageBand recognize my keyboard and i can play normally, also, if it can help, those are the Audio and Midi Logic Preferences and the Controller Surfaces Setup with the keyboard connected :

  • Wireless Keyboard slow and weird

    I loved my Mac when I got it but lately the keyboard is very slow to display on the ssscreen and types strange by putting double letters and spacees. I have just bought a new keyboardd because I thought the oooldd one may have got damaged by the kids buttt the problem iiiis still there (as you can see). I ammmmm devastated as it has totally ruiiined the use of my lovellllly immaaaaaac. Can anyone help me?

    Testing testing, I have just put the new batteries in it that came with the new keyboard and the display is still fairly slow and the characters are doubling as much. It is a pain as I can only type very slowly for the keyboard to work and I am a fast typist. It is very frustrating, I spend more time using the backspace than anything else!!! There is a slight improvement but not much.

  • I want to purchase a Macbook Pro overseas for the keyboard layout and set the OS to English, but if I do so, would the keyboard layout also switch to English? Can I set the foreign layout as default?

    I would assume that changing the default keyboard so that I can use the proper corresponding one is possible, but I would just like to make sure before I buy one.
    Thanks in advance.

  • Wrong keyboard layout used by autotype of synergy and keepassx

    Hi there!
    I have a real strange problem. I am a german user with german keyboard layout and everything works fine - except of autotyping apps like keepassx and synergy. Both are applications which type for you and behave like they are typing on a us-international keyboard since xorg 1.7.
    Example: I want to login with keepass into this forum (it's a passwordmanager) and tell it to autotype my loginname and password. As you see I have "Murray_B" as a login. "Murray_B" is stored in the database and worked perfectly for months. Since xorg 1.7 it types "Murraz/B", that's the thing I would get if I would type wit us-international-layout, which is surely the default keyboard-layout somewhere.
    First I thought it is a keepassx-problem, but then I had the same with synergy, if I type on a "remote" computer, I am typing like I have an us-keyboard... Both computers have a current archlinux installed.
    I changed from a statix xorg.conf to autoconfiguration but nothing changed. That's my xorg.conf at the moment:
    Section "Device"
    Identifier "nvidiacard"
    Driver "nvidia"
    EndSection
    Section "Screen"
    Identifier "screen0"
    Device "nvidiacard"
    EndSection
    Section "ServerLayout"
    Identifier "Builtin Default Layout"
    Screen "screen0"
    EndSection
    And that's my /etc/hal/fdi/policy/10-keymap.fdi:
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.keymap">
    <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    <match key="info.capabilities" contains="input.keys">
    <merge key="input.xkb.rules" type="string">base</merge>
    <!-- If we're using Linux, we use evdev by default (falling back to
    keyboard otherwise). -->
    <merge key="input.xkb.model" type="string">keyboard</merge>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
    string="Linux">
    <merge key="input.xkb.model" type="string">evdev</merge>
    </match>
    <merge key="input.xkb.layout" type="string">de</merge>
    <merge key="input.xkb.variant" type="string">nodeadkeys</merge>
    </match>
    </device>
    </deviceinfo>
    Anyone an idea, where I can correct that?
    Thanks in advance,
    Thomas

    I have a similar problem during login - my bluetooth keyboard will do QWERTY while the built-in laptop keyboard does AZERTY as it's supposed to do. Once I log into X though, the bluetooth keyboard switches to AZERTY...  Not' sure what's going on.
    Note: not plugging my topic, merely pointing out I have something fishy going on too .

  • [8.1 pro update1] Windows KEEPS changing and reinstalling keyboard layouts regardsless of IgnoreRemoteKeyboardLayout

    Windows 8.1 is driving me nuts beyond believe once again. I have 8.1 Pro update 1 English, installed from the VLK iso from our Volume License / SPLA account. As we are a Dutch company, the Location is set to The Netherlands, as well as the date/time format.
    Therefore in my keyboard settings the language is Dutch (NL) but I set my keyboard layout to US, as below:
    As you can see there are no other languages our installed. This worked for years with Windows 7 and before with XP. Windows 8.1 however KEEPS changing my keyboard layout to plain Dutch making my keyboard unusable. The language bar in the systemtray, or whatever
    it's called in this OS, shows THREE layouts, which are actually 'selectable' and work as if they were installed. However, they are not 'really' installed, as per the screenshots above.
    This is driving me completely mad. Why on earth is Windows making descisions for me which I should be making myself? In addition, in my oppinion Windows should NEVER change somthing as trivial as a keyboard layout by itself. People don't change switch keyboard
    even when logging on to a remote system that has a different layout configured. Whoever came up with this 'automatic switching per application' idea once again had no clue of real-life usage at all.
    I've added those two languages I do NOT want to my keyboard layouts and removed them. Sure they are gone then, and as only language NLD with layout US is left, the language bar in systray is gone as well. After a few days all three are back, and my keyboard
    is producing wrong characters again.
    I've tried with regvalue HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout\IgnoreRemoteKeyboardLayout set to 1, to no avail at all. It just keeps changing. This should help to prevent my keyboard when changing when I RDP to one of my servers.
    The advanced settings in Language don't help either:
    'let me set a different input language for each app window' is unticked.
    Override for default keyboard is now set to Dutch - US, like I want it. Doesn't help either.
    I cannot reproduce it on demand, settings do NOT change when connecting to my RDP server(s). They do NOT change when I open any of my used programs, being IE, Chrome, CMD.exe, notepad and a few others. It shouldn't either as I disabled the 'keep settings
    per application'.
    I have changed the keyboard shortcut from alt-shift or whatever it was to 'none'.
    How to prevent Windows 8.1 completely from changing the keyboard layout I use? Is there any way to check WHY or WHAT actually changes my keyboard?

    This might be really late to this post but I've been having this issue while playing games, particularly those which are complex enough to require Control, Alt, Shift. At first like some people here suggested
    Windows Key + Space was the cause, but even after removing all alternate layouts (for reference, I want the UK layout, but it was switching to the US Layout) it was persisting.
    This post pointed me in the right direction, go into your Language Options
    > Change Override (Advanced). At this stage I've noticed there is the Switching input methods section, look for
    Change language bar hot keys and here I fount Alt + Shift
    was being used for switching Between input languages - a key combo I'd probably hit quite often just purely by accident. You can change the key sequence to no binds.
    I haven't fully tested it, but it appears to be working for now - and I hope its an extra option for people to look at if they're running into this issue.

  • NCS and non US keyboard layout - Guest - Email ID and @

    Problem:
    The problem is that we cannot email the Guest Account Details to the guest, because the popup where we fill in the email of the guest - Email ID - Does not recognise the @ when using non US Keyboard layout.
    When i use my local keyboard layout (Danish) and press AltGr+2 (this is the keyboard "shortcut" for @) it writes nothing.
    When i switch to US keyboard layout and press Shift+2 it writes @ fine.
    Version:
    Tried this in both 1.0 and I just upgraded to 1.1 and it is still the same.
    Does anyone know of a open BugID that addresses the following problem on the NCS Lobby Ambasador page ?

    Thomas,
    Have you tried it from different machines and different OSes and confirmed that the common denominator is NCS and not your specific KB/OS setup?
    Justin
    Sent from Cisco Technical Support iPhone App

Maybe you are looking for

  • My itunes window wont open at all..

    there is no error message, no indication that there even is an itunes on my computer T_T i've tried redownloading it, restoring it, and even system restoring the whole computer. ..actually the problem all started when i system restored my computer in

  • 8.0.2 is poo

    I've been using iTunes since version 2 (on OS 9) and I've never had the problems I do with 8.0.2 on Vista. I cannot do anything else _AT ALL_ now when burning or importing to or from a CD. If I so much as _move my mouse_ the operation stops and eithe

  • Configuration IKAnalyzer for  Coldfusion compositive Solr

    I reference documentation to configuration IKAnalyzer for  Coldfusion compositive Solr. But encountered the following problems: 1. IKAnalyzer2012.jar need to  placed in the lib directory of the project, but I do not know, this lib directory is where,

  • Iphoto Importing Photos the space factor

    Question: If I import photos into iphoto from a different folder location, let's say My Documents sub folder called photos08, are the Photos being save twice on my hard drive taking up twice as much space?

  • System refresh failure

    could anyone help me I set my lenovo flex to system refresh and now I just keep getting the message windows could not complete the installation