Hotplugging Keyboard Layout Switching Problem

With a recent update, my keyboard configuration got a bit hosed. The super key stopped working, I couldn't use shifts to swap keyboard layouts, and ctrl/caps swap reverted back. Instead of troubleshooting that, I decided to give hotplugging a try. I disabled the keyboard configuration in xong.conf and enabled hotplugging.
Everything is working fine with one exception. If I list more than one keyboard layout in the .fdi, the keyboard reverts back to 'us'. As far as I can tell (and other posts have verified this) this is pretty close to copy/paste from xorg.conf. If I use just a single layout, that layout works.
Any advice?
<?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">dvorak,us</merge>
<merge key="input.xkb.variant" type="string" />
<merge key="input.xkb.options" type="string">grp:shifts_toggle,ctrl:swapcaps</merge>
</match>
</device>
</deviceinfo>
Last edited by elegua (2009-02-14 15:20:28)

elegua wrote:
Of course I get it figured out a little bit after asking.
It seems that the update killed the ability to use dvorak layout with anything else in setxkbmap. The following works for me now.
<merge key="input.xkb.layout" type="string">us,us</merge>
<merge key="input.xkb.variant" type="string">dvorak,basic</merge>
elegua, where did you ask your questions? I've got a very similar problem, tried this (pure guesswork):
<merge key="input.xkb.layout" type="string">us,ru</merge>
<merge key="input.xkb.variant" type="string">basic,winkeys</merge>
But it won't wash ...

Similar Messages

  • [SOLVED] Keyboard layout switching

    Hello,
    I have a problem with keyboard layout switching key.
    Just notice it not working anymore...
    here is my key setting in xorg.conf
    Section "InputDevice"
    Identifier "Keyboard"
    Driver "kbd"
    Option "XkbLayout" "us,th"
    Option "XkbOptions" "grp:alt_shift_toggle"
    EndSectionp
    Last edited by xcession (2008-11-05 13:23:57)

    bender02 wrote:
    xcession wrote:EndSectionp
    extra p?
    Seriously though, it looks fine to me. There's a wiki article http://wiki.archlinux.org/index.php/Con … youts_in_X
    I'd try adding
    Option "XkbRules" "xorg"
    although that could be automatic.
    Oops! it's my typo when posting that post...
    Added Option "XkbRules" "xorg"
    but still doesn't work...:(

  • Keyboard layout switching does not work if I connect a second keyboard

    When I connect an external keyboard (a very ordinary Dell keyboard, no extra keys or something unusual) to my laptop, XFCE keyboard layout switcher disappears from a the and keyboard shortkut meant to switch also does not work. Rebooting with the keyboard initially attached does not help. Any ideas how to fix?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Keyboard layout switching not working

    i use xfce4 and i created /etc/X11/xorg.conf
    Section "InputClass"
        Identifier             "Keyboard Defaults"
        MatchIsKeyboard        "yes"
        Option                 "XkbLayout" "us, ar"
        Option                 "XkbOptions" "grp:alt_shift_toggle"
    EndSection
    but it's not working.
    xfce4 has a program called Keyboard in settings menu, i used it it gives the ability to add another language but it doesnt has a switching capability.

    I don't use keyboard layout switch through xorg.conf because it stops to work sometimes(if i use setxkbmap for example).
    So i am using setxkbmap in .xinitrc.
    setxkbmap -model pc105 \
    -layout "de,ru" \
    -variant "basic,phonetic" \
    -option -option "grp:sclk_toggle, grp_led:scroll, terminate:ctrl_alt_bksp, caps:none"
    and "kbdd" for remembering layout for each window.
    Change it to your needs or check the arch wiki about xorg.conf.d .

  • Keyboard layout - login problem

    Hi all! I have a macbook pro with USlayout keyboard. It looks like the keyboard layout switched to Italian layout (because of a shortcut that I do not know) so now that my mac is in stadby status, I cannot enter my password and login. Could you please show me through the keyboard viewer function, the Italian layout on a US keyboard? Many thanx for your help.

    jova.ce wrote:
    Could you please show me through the keyboard viewer function, the Italian layout on a US keyboard? Many thanx for your help.
    http://support.apple.com/kb/HT2841
    If there are some characters you still cannot make, tell us what they are.
    When you have access, go to system prefs/users & groups/login options and check the box for Show Input Menu at Login Page.

  • Xfce4 keyboard layout switcher

    I am having a strange issue with setting up xfce4 on my fathers' laptop. Every time I switch the keyboard layout, the x terminal emulator start acting weird:
    [jarda-wien@primator ~]$ whoami
    jarda-wien
    [jarda-wien@primator ~]$ echo hello
    bash: echo hello: command not found
    [jarda-wien@primator ~]$ ping www.google.com
    bash: ping www.google.com: command not found
    [jarda-wien@primator ~]$ echo $PATH
    bash: echo /bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin: No such file or directory
    Before switching the keyboard, everything works fine... As this doesn't happen on virtual terminal, it may be an xorg/xfce issue. What do you make of it?

    ok so I've made a workaround for that... The problem seems to be not only xfce4 related as the same behavior can be seen on yakuake running on xfce4 and every other terminal emulator I have tried, as well as on openbox and all the terminals. Anyway, here's the fix:
    Remove any
    Option "XkbLayout" "us,cz"
    Option "XkbOptions" "grp:alt_shift_toggle"
    and install xbindkeys from extra.
    Next edit and save the following script somewhere:
    #!/bin/bash
    # Put your desired layouts, space separated, between the brackets
    layout=(us de cz)
    # Main code, do not change, unless you know what you're doing
    current=$( setxkbmap -print | grep -o 'pc+[a-zA-Z0-9_-/]*' | sed 's/pc+//' )
    num=${#layout[@]}
    i=0
    for use in ${layout[@]} ; do
    i=$[ i + 1 ]
    if [[ $current = $use ]] ; then
    if [[ $i -eq $num ]] ; then
    setxkbmap ${layout[0]}
    break
    else
    setxkbmap ${layout[$i]}
    break
    fi
    fi
    done
    exit $?
    Make the script executable and try it! It should cycle through the specified layouts. The next step is to map the script to a keyboard shortcut in .xbindkeysrc (look up how in the wiki...)
    Everything works now, even after switching the layout!!!

  • Windows is forgetting shortcuts designated for keyboard layout switching after waking up from sleep

    I have a configuration of Ctrl+1,2,3,4,5 shortcuts for switching keyboard layouts on Windows 8.1. Once I boot up my laptop they work just fine and the layouts shortcuts setup window looks like this if I open it:However now when I close my laptop, putting it into sleep mode, and then open it again, the keyboard shortcuts stop working and if I open the aforementioned setup window, it also looks as if I have none configured: To get my shortcuts back after sleep mode I have either to reboot the laptop, or assign the shortcuts again manually. This is a problem I've experienced before on this same machine (Lenovo Yoga 13) with Windows 8 (before the 8.1 update) and I guess at that time it dissapeared after some editing of the list of layouts I use.
    But now I've added some layouts to the list, and then removed some of them and so on and here is what I get again.Maybe there is some branch of Windows Registry involved with the layouts and keyboard-shortcuts messed up and I could simply remove the registry branch and start with a clean slate?  

    I have never seen this Windows before, I unfortunately do not understand Russian.
    Here is the Russian community:
    https://forums.lenovo.com/t5/Сообщество-Lenovo/ct-p/Community-RU

  • Smart keyboard layout switching

    Unfortunately the Arch team has rejected the patch https://bugs.archlinux.org/task/26490
    Quote:
    ""...By default xorg switches keyboard layout on keys press (but it SHOULD do that when keys are released). For example, if we have ctrl+shift to change layout and ctrl+shift+tab to navigate to previous tab then we are unable to use second shortcut..."
    What are possible legal Arch ways to get this functionality?
    Last edited by student975 (2014-02-19 21:50:20)

    student975 wrote:What are possible legal Arch ways to get this functionality?
    Make your own PKGBUILD and apply the patch yourself. It does come with the disadvantage that you will need to compile the xorg-server yourself every-time there is an update.

  • Audio volume not save and keyboard layout configuration problems

    Hello all,
    I needed to register again because my old account seems not to be working
    After almost 2 years without Arch due to work now I'm back to Arch again.
    Everything has changed... now there is Systemd and even the installation it's different so I will need some helps from the experienced users
    The installation was done yesterday and I found two issues that are really annoying me.
    The first one... keyboard layout... Yes it's incredibly... I only want my system in english and my keyboard in norwegian... But all are problems for that. Before telling me to read more or search for information.... I will tell you that I waster 2 hours yesterday only for that... With no success at all.
    The second one... even more stupid... why my pulseaudio keep the volumen at 100%? I tried different things... but not success at all.
    So please, can you help me?
    I will provide all the information you need.
    Thanks a lot and so happy to be back here
    Best regards,
    TheArcher
    Last edited by thearcherblog (2014-10-30 17:07:09)

    Hello Runical,
    To be honest I was following a guide to install the system and everything works ok but according to journalctl I have some problems with pulseaudio so I guess that can be the original problem.
    I will paste it here:
    $ journalctl -b | grep pulse
    Oct 30 13:04:30 arch.colonialOne rtkit-daemon[458]: Successfully made thread 457 of process 457 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 482 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 483 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 487 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 488 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 533 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] main.c: Module load failed.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.bluez.service failed to load: No such file or directory.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 536 of process 536 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[536]: [pulseaudio] pid.c: Daemon already running.
    Regards,
    TheArcher
    Last edited by thearcherblog (2014-10-31 06:59:20)

  • Keyboard layout password problems

    Just thought I'd point out that I recently changed my user password, but because apple seem to have changed their keyboard settings lately I was suddenly a bit screwed. I changed my password and included a £ in it. But for some reason shift and 3 makes £ when you are on the user login page, but when you're anywhere else in the system shift and 3 now makes #. This is news to me as I always remember # being alt and 3. But now alt and 3 gives you £, which contradicts what's written directly on the keyboard! If you're gonna change the keyboard layouts apple, please make it systemwide. Because I had to keep force shutting down my computer, because there's now a different keyboard layout for the password when you wake from sleep, than there is when you boot up. Pretty basic stuff, luckily I had come across this before and eventually I suspected this might be the issue, other people might not be so lucky. Please somebody sort it out, it can't possibly be that hard!
    I blame twitter

    1) Go to http://support.apple.com/kb/HT1274 and scroll down to the section "Resetting the original administrator account password." Reset it to something that only uses English characters. (This will be a temporary password; you'll change it to whatever you want later.)
    2) Then, boot back up normally, login with the new password, and go to System Preferences. Set the "Show input menu at login" option and change your password to whatever you want.
    Let us know if this helps.
    -D

  • Keyboard layout driver problems

    hi there
    i have 3 problems with my keyboard!
    1.  the key to print an "^" does not work in every app, eg scite
    2. in some apps , for example mozilla-firefox my direction keys
    don work in text fields. left an right are (if possoble) scrolling the html site und up and down are simply do nothing....
    3. my language layout DE does not want to load at start up (for console, not x11)
    how can i change that?
    greetings matto

    I don't know anything about your first question but for the second IIRC the answer is already in the forums - search for mozilla-firefox and/or firefox.
    And about your third question first check this http://wiki.archlinux.org/index.php/KEYMAP%3D%3F wiki page and also check if you have kbd package installed.

  • Keyboard layout switching does not work properly when set to switch per document

    Hello,
    I have two input languages (U.S. / Bulgarian - Phonetic) and I am having problems when using the "Automatically switch to a document's input source" option (available in the Input Sources prefs pane).
    The problem is that when I switch applications (using CMD + Tab) the input is not changed to the correct one, until an input field in the new application is selected. If I don't manually select an input field, the language will remain whatever it was with the previous application I used. As a consequence, none of my shortcuts work, as they are defined in the U.S language, and not in Bulgarian.

    Hi,
    does this problem appear immediately after buying the machine? Maybe its a good idea to recover the machine, perhaps it could be a software issue.
    On the other side it sounds a little bit like a hardware related problem so if the recovery doesnt brought you joy then you should contact a local service partner for help.
    Here you can find the nearest ASP in your country (just click on the link and you will find some):
    http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=ASP_SUPPORT
    Nice weekend
    Cheers

  • Keyboard layout switcher Gnome panel

    Hi guys,
    Am using US altgr-intl as default.
    The icon US keyboard pops up everytime I start the system though I removed the layout a couple of times through system->prefs.
    It's not a big deal but starts to irritate me.
    Anyone an idea how to either disable the popup of the panel icon or remove the US layout permanently ?
    Tks

    Thanks, did so, like this. Didn't help though.
    <!-- 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">us altgr-intl</merge>
          <merge key="input.xkb.variant" type="string" />

  • How do I - with Swiss German Keyboard Layout - switch between several windows of the same application, what is the shortcut

    can anyone pls help me with this. plus anbody explain me how this very basic feature that millions of people are using billions of times every day can be that hard to find on a mac?? there is hundreds of posts about this, but nothing for the swiss german keyboard. and apple: can you please make this just that simple and great as all the rest. thank you so much.

    Hi Kappy,
    well what you are saying is obvious to me. This is not the point for me and not what I wanted to know. But I think you answered my question anyway: OS X is unable to switch between windows of the same application as I mentioned in my example.
    WHY NOT???
    Every other OS is able to differentiate between windows and not just applications.
    Another example: The Mail application and an Email editor window. When you are writing an Email and you want to switch to the main window of the Mail application to read something you must again use the mouse!
    I mean Apple seems to be "somehow" using FreeBSD in the background and even in FreeBSD's window manager it is possible to switch between windows of the same application.
    Well, in the Apple world it is always the pour user who is not intelligent enough to understand Apple's philosophy ;-(
    To me this is not modern, it is simply a weakness of the OS.
    Cheers
    Quartz84

  • Assign keyboard layout switch hotkey not listed in the keyboard applet

    I found some old tutorial to assign left alt+shift to 1st layout and right alt+shift to 2nd layout. How to adapt it to the modern hal way?
    Here it is:
    create $XKBROOT/mysym :
    partial modifier_keys xkb_symbols "shift_ctrl_1" {
    key <LFSH> {
    type="PC_BREAK",
    symbols[Group1]= [ Shift_L, ISO_First_Group ]
    key <RTSH> {
    type ="PC_BREAK",
    symbols[Group1]= [ Shift_R, ISO_Last_Group ]
    key <LCTL> { [ Control_L, ISO_First_Group ] };
    key <RCTL> { [ Control_R, ISO_Last_Group ] };
    add 1 line to $XKBROOT/rules/xorg (after "! option    =    symbols"):
    ! option = symbols
    myshiftctrl1 = +mysym(shift_ctrl_1)
    add option to xorg.conf :
    ! option = symbols
    Section "InputDevice"
    Option "XkbOptions" "myshiftctrl1"
    EndSection

    Found a temporary solution. Unfortunately It resets other options set in the corresponding gnome applet;
    Instead of alt+shift it sets shift+alt to change layout. I tried to swap the key names in 'mysym' file, but it has no effect.
    #!/bin/sh
    xkbdir="`mktemp -d`" || exit $?
    mkdir "$xkbdir/symbols"
    cat>"$xkbdir/symbols/mysym" <<EOF
    partial modifier_keys xkb_symbols "alt_shift_1" {
    key <LALT> {
    type="PC_BREAK",
    symbols[Group1]= [ Alt_L, ISO_First_Group ]
    key <RALT> {
    type ="PC_BREAK",
    symbols[Group1]= [ Alt_R, ISO_Last_Group ]
    key <LFSH> { [ Shift_L, ISO_First_Group ] };
    key <RTSH> { [ Shift_R, ISO_Last_Group ] };
    EOF
    setxkbmap -symbols "pc+us+ru:2+inet(evdev)+mysym(alt_shift_1)" -print | xkbcomp -w0 -I -I"$xkbdir" -I/usr/share/X11/xkb - $DISPLAY && rm -rf "$xkbdir"

Maybe you are looking for

  • Microsoft Forefront Server Protection for Exchange Registration Service does not start automatically

    Hello, I am having an issue when I start my TMG 2010 machine: (*TMG 2010 + Forefront protection for Exchange + Exchange Edge server role, acting like a SMTP relay and Antispam filter) The service "Microsoft Forefront Server Protection for Exchange Re

  • Needs to be resolved ipod 5 issue

    I am posting this from my computer bcuz my iPod touch 5g just wont turn on or charge. If i press the home button, th siri noise will work but the display is black, i ant put it into dfu mode, sync it with itunes, charge it with my ihome or adapter/ch

  • Using my iPhone 4s (AT&T) in London

    Traveling to London soon and curious if I can simpy purchase a pre-paid sim card in London and use it inside my iPhone 4s. Is this the best bet? Surely this is cheaper than subscribing to one of AT&T international plans. Thanks for your help! *Side q

  • No Wifi in new location on Mac Mini only.

    Hello, I've got a MacMini that I've brought with me to school and at home I have no problem connecting to my home router. But here at school, I don't even detect any of the available routers. Stranger still is that I my laptop has no problem detectin

  • User exit for f-29 payment

    Hi experts i wish to send a sms once payment is done through f-29. I need the following entries:   customer account number   Document number   Amount Is there any user exit that i can use to insert my code which can fetch these entries and pass to my