Adding keyboard layout to tty and to i3 with urxvt

After million searches and tries, reddit posting and bleeding keyboard, I give up. I can't figure out how to add another keyboard layout. I want simple alt+shift switching settings and I want it to work on both tty and urxvt. I have seen the install wiki, the xorg  page and few questions and answers in the forum. not only that I couldnt get it to work, I can't understand which one from all the different configuration options is the current, right for my setup.
Many thanks

Thank you for replying
this is what I configured:
Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option  "Xkbmodel" "microsoftccurve2k"
        Option  "XkbLayout" "us,il"
        Option  XkbOptions" "grp:alt_shift_toggle"
EndSection
this is what the xlog tells me:
I) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    54.914] (**) AT Translated Set 2 keyboard: Applying InputClass "microsoftccurve2k"
[    54.914] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    54.914] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    54.914] (**) AT Translated Set 2 keyboard: always reports core events
[    54.914] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    54.914] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    54.914] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    54.914] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    54.914] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    54.914] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[    54.914] (**) Option "xkb_rules" "evdev"
[    54.914] (**) Option "xkb_model" "microsoftccurve2k"
[    54.914] (**) Option "xkb_layout" "us,il"
[    54.914] (**) Option "xkb_options" "grp:alt_shift_toggle"
and the thing dosent work

Similar Messages

  • Bug report: A keyboard layout is incorrect on the remote with Hungarian and other "exotic" keyboard layouts

    This is a bug report for Microst Remote Desktop
    ===================================================
    ## Summary
    A keyboard layout is incorrect on the remote with Hungarian keyboard
    ## Version Information, I tested
    * Client
        * Case 1
            * MacBook Pro with HU101 Keyboard
    * Locale: Hungarian
            * Mac OS X Maverics 10.9.2
            * Microsoft Remote Desktop 8.0.6
    * Remote
        * Case 1
            * Windows Server 2003 R2 (English)
        * Case 2
            * Windows Server 2008 R2 (English)
        * Case 3
            * Windows 8.1 (Hungarian)
    ## Detail of bug
    When I connect to the listed remotes the client sets the keyboard layout to Latvian which is a completely different layout than Hungarian (not even close...).
    - On Windows 8 if I set the language on the login screen it stays on that language after the login.
    - On Windows Server 2003R2 and 2008R2 even if I set the language at login it will switch back to LV after the login.
    ## Attachments
    Unfortunately cannot include my shots because I'm not allowed to do this...
    ## End of report
    Please allow the users to set the correct "target" language on connection basis because the automatic method the app use to determine that is unreliable.

    Hi,
    Thanks for the feedback.
    I will forward this to the product team.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Is there any way to have equal Ukraine keyboard layout for iPad and iMac?

    There are fatal difference between Ukrainian keyboard layouts for iPad and for iMac. Letters «І» and «И» are set vice versa. I would like to have equal Ukraine keyboard layout for iPad and iMac. How I can get it?

    You need to create and restore a backup to transfer the application data.
    (93453)

  • Bug report: A keyboard layout is incorrect on the remote with Japanese keyboard

    This is a bug report for Microst Remote Desktop
    ===================================================
    ## Summary
    A keyboard layout is incorrect on the remote with Japanese keyboard
    ## Version Information, I tested
    * Client
        * Case 1
            * MacBook Pro with JIS106 Keyboard
            * Mac OS X Lion 10.7.5
            * Microsoft Remote Desktop 8.0.24308
        * Case 2
            * MacBook Pro with JIS106 Keyboard
            * Mac OS X Mavericks 10.9.1
            * Microsoft Remote Desktop 8.0.24308
    * Remote
        * Case 1
            * Windows 7 Professional Japanese
        * Case 2
            * Windows Server 2008R2 Datacenter Japanese
        * Case 3
            * Windows Server 2012R2 Datacenter Japanese
    ## Detail of bug
    When login from Mac OS X with Microsoft Remote Desktop, the keyboard layout is always incorrect on the remote.
    The client machine have a built-in keyboard of JIS 106 layout,
    and the primary language is set to Japanese.
    But on the remote, the keyboard layout is US 101.
    So a input of Shift+2 does not result " but @.
    I've seen the above behavior on the 3 remote enviornments described the above.
    This bug did not occcur with Microsoft Remote Desktop Connection Client for Mac 2.1.1, even if the system language is English and keyboard layout is Japanese.
    ## Captures
    I've took some of screen captures.
    I'm sorry for the capture includes Japanese words, so I added description in English.
    Capture 1:
    Mac OS X Keyboard Setting
    Capture 2:
    Windows Server 2012R2 Screen Keyboard
    Capture 3:
    Windows Server 2012R2 Screen Keyboard, with a additional registry key configured.

    This bug also affects the Canadian English settings.  If the client is set to Canadian English with a US keyboard the remote server is setup using a Canadian French keyboard.  Using the language selection in the toolbar you can temporarily correct
    the problem but the keyboard resets to french at the most inopportune times.  The was a problem in the earlier RDP client and was fixed so it's sad to see it reoccur in the new client.
    Lawrence

  • [Solved]Keyboard layout screwed up and some keys don't work

    After I reinstalled xorg-server 1.5.3-1 and installed xf86-input-evdev 2.0.1-1 and xf86-input-keyboard 1.3.1-1 some of my keys don't work and keyboard layout screwed up. I had finnish (fi) layout, but now it's "us". Arrows, insert- delete- home- end- pg up- pg down- print screen- scroll lock- pause- keys don't work. All characters behind Alt Gr + "" don't work either.
    How to fix this?
    Last edited by Sotamarsu (2008-11-08 13:57:25)

    brother fixed it with next code
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
    <device>
    <!--
    <match key="info.capabilities" contains="input.keys">
    <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    -->
    <match key="info.capabilities" contains="input.keys">
    <!-- <merge key="input.xkb.model" type="string">pc104</merge> -->
    <!-- <merge key="input.xkb.rules" type="string">evdev</merge> -->
    <merge key="input.x11_options.XkbRules" type="string">base</merge>
    <merge key="input.x11_options.XkbModel" type="string">evdev</merge>
    <merge key="input.x11_options.XkbLayout" type="string">fi</merge>
    <append key="input.x11_options.XkbOptions" type="strlist">altwin:menu</append>
    <!--
    <merge key="input.xkb.layout" type="string">fi</merge>
    <append key="input.xkb.options" type="strlist">altwin:menu</append>
    -->
    </match>
    </device>
    </deviceinfo>
    Last edited by Sotamarsu (2008-11-08 13:59:18)

  • Keyboard layout has changed and i can't enter the password

    I was cleaning the keyboard but forgot to turn it off before doing so.  Now i can't access my computer!  I have two accounts. one for the children and one for myself! I logged out of the children's account before i started cleaning it!  I could've forgotten one of the passwords but I am sure i the kids have not forgotten theirs too!
    please help?
    Kind Regards

    1     Make sure your Caps Lock isn't on
    2     borrow or buy a basic USB keyboard to enter the passwords & ensure the system is ok

  • Finding objects in arrays, adding to a temp array and replace old with temp

    hi, I am currently modifying a hand analyser for a poker game. imagine a hand of a set of cards that can be from 5 up to whatever the game instructs, the analyser then has to match the hand to the rankings of best hands. so it has to map the hand to these possible besthands..
    Royal Flush (A,K,Q,J,10 of same suit)
    Straight flush(a running rank of same suit)
    4 of a kind(er... 4 of the same rank)
    full house(3 of a kind and a pair)
    flush(all same suit)
    straight(a running rank, A,2,3,4,5...,K)
    2 pair(a pair and a pair)
    1 pair(a pair)
    and a high Card(the highest card in a hand)
    the hand is sorted in ranks and suits to check for straights and flushes, and i have used a for loop to find any pairs, trips and quads for a hand. the problem i am having is the checking of two pairs. here is the loop i am using
    Hand temp = new Hand();//creates a temporary hand to place the matching cards into. hand is an array of cards.
          for (int i = 1; i < cards.size() - 1; i++) {//cards is the hand passed to be checked for two pairs
            if (cards.getCard(i).getRank() == cards.getCard(i + 1).getRank()) {
             /*checks if the card in i is the same as the next card, if true,
                then adds it to the temp hand.*/
              temp.addCard(cards.getCard(i));
              /*once the cards are passed to the temp hand,
                 it is removed from the cards hand.*/
              cards.removeCard(i);     
              temp.addCard(cards.getCard(i));
              cards.removeCard(i);
              System.out.println(temp + "check twopair");
              /*just a check to see if they are passed and removed from those hands
                 -- these work the first time around*/
              System.out.println(cards + "check remaining best hand");
            else if (temp.size() == 4) {
                /*if the temp hand as 4 cards, it means there are 2 pairs found,
                   it adds the next card in the cards hand as the kicker. since cards
                   is ranked by value, it will choose the highest card*/
              temp.addCard(cards.getCard(i));
    //a check to see if the card has been added to the hand
              System.out.println("adds the kicker to the 2 pair");
            if (temp.size() == 5) {
    //once the best cards have been dealt into temp, it is passed back to the hand, cards.
              kicker = (Card)temp.getCard(4);
              cards = temp;
              return true;
           /*if the check finds that there is no 2 pairs in the hands, the cards are set
              back to the original cards, and sorted by rank and passes over to the
              next test, which should be the check one pair*/
          cards = new Hand(originalCards);
          sortbyRank();
          return false;the loop finds the first pair alright, but coming around the second time, it doesnt seem to pick up on the second pair.
    in an example, consider a 7 card hand being passed to this analyser..
    3d, 7h, Ac, 3h, 6h, 7s, Kd. this gets sorted into ranks and become Ac, Kd, 7s, 7h, 6h, 3d, 3h. the first check would be the royal flush - lets ignore the way it works, and it fails anyway because the hand doesnt hold a royal flush, similarly, all the other tests will fail, from straight flush, 4 of a kind, full house, flush, straight, 3 of a kind and then we get to 2 pairs. in the first instance the loop will check Ac == K, it fails, and checks if the temp hand has 4, it fails and goes to i =2. it will check K to 7, fail and go to i = 3, 7h matches 7s, so puts that to temp, temp now equal 2, but not 4, so loops. this is where i messes up. it doesnt pick up the two pairs of 3s. any suggestions?

    I've never played poker so I had to look carefully at your question. This resulted in the following table. This suggests to me that any attempt at simplification will not be easy so I think I would have an analyser object with nine methods returning a boolean as to whether each test had been met. This seems a cleaner approach although it may be less efficient than your own.
                                                  Same   Same   Rank
                                                  Suit   Rank   Seq
    Royal Flush (A,K,Q,J,10 of same suit)           Y             Y
    Straight flush(a running rank of same suit)     Y             Y
    4 of a kind(er... 4 of the same rank)                  Y
    full house(3 of a kind and a pair)             0.5    0.5
    flush(all same suit)                            Y
    straight(a running rank, A,2,3,4,5...,K)                      Y
    2 pair(a pair and a pair)                              Y
    1 pair(a pair)                                         Y
    and a high Card(the highest card in a hand)

  • 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

  • Application hotkeys and keyboard layouts in KDE[SOLVED]

    Hi,
    For as long as I use Linux, I've been annoyed by this particular trouble: change layout from en to ru, for instance, and get your hotkeys (like Ctrl-S) unresponsive. Granted, that the trouble sometimes goes - to come back later on . I tried Google, but no luck. Which is kinda funny, because any bilingual user must be all too familiar with the issue. I can't even be sure whether it's some systemwide setting or an application responsibility.
    Now I've run into a something like a perfect testcase :
    OpenOffice 3.0.1 and Firefox 3.0.8:
    (1) In Arch the hotkeys like Ctrl-S and Ctrl-T work in both apps regardless of the keyboard layout. (KDE3 and KDE4)
    (2) In Pardus the hotkeys in both apps work in en layout but do not in ru layout. (KDE3)
    What is it?
    Last edited by Llama (2009-04-05 13:27:48)

    Control Center(KDE)->Keyboard Layout->Layout->Include latin layout checkbox needs to be checked. After that Command lines for the respective layouts look like
    setxkbmap -model pc104 -layout us
    setxkbmap -model pc104 -layout ru,us -variant ,winkeys
    The trouble's gone.

  • Flaw in SMS and BBM Keyboard Layout

    Hi, I've been using the Z10 for a couple of months, and I think the keyboard layout for SMS and BBM is flawed because the PERIOD is located next to the SEND button.  This has caused me to accidentally send messages when I am typing too quickly.  I think a better layout would have the EMOTICON icon exchange positions with the SEND buttion.
    Solved!
    Go to Solution.

    keithbergoff wrote:
    In Hub - More - Settings - Text Messages.
    Use Enter Key To Send - Set to 'Off'.
    'Send' now becomes 'Carriage Return'.
    Yes, to this.
    And to Knotty's ... tap the spacebar twice for period.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Keyboard layout changing question

    I use three different keyboard layouts: English, Spanish and Bulgarian. Back in Windows I added Spanish as a variant of English and used ctrl + shift to change English/Bulgarian and alt + shift to change English/Spanish. Now when I moved to linux I want to setup my layouts in a similar way. Is there any way to do it?

    Do you use gnome? If you do, you can just go to System>>Preferences>>Keyboard and click on the Layouts tab. You can then add layouts from there. In the Layout Options tab, under the Group Shift/Lock behaviour section, you can select how you want to be able to change groups.. But, I'm not sure if you can make it so that one sequence changes it from english to bulgarian and one changes it from english to spanish... I do know that you can have say alt+shift have it cycle through english, bulgarian, and english.. You can also right click on the panel, hit add to panel, find Keyboard Indicator, and hit add.. That will add a little thing that says what keyboard layout you are using, and you can just click on it to change to another one..
    If you don't use gnome I'm afraid I can't help you...
    Hope that helps
    majikstreet

  • Gnome 2.28 GDM Keyboard layout

    Hello,
    A few months ago I installed Arch + Gnome 2.26 and never had problems since then until I upgraded to Gnome 2.28. Now with the rewritten GDM the keyboard layout (for entering the username because I don't like select-your-user-from-the-list-thingies) is set to USA (qwerty) while the rest of my system is completely BE (standard, no variant) layout. Before the upgrade also GDM was 100% BE, but now the username is USA and when I want to enter the password it changes immediately to BE (because in the panel down I chose BE). Is there a way to also make the username respond to the BE layout?
    ==> What works in BE?
    TTY's
    password prompt of GDM
    gnome session
    terminals
    ==> What works not in BE and responds to USA layout?
    GDM username prompt
    How weird is that? My system is setup as described in the beginners guide (keyboard layout in 10-osvendor.fdi file + hal + evdev) which was system-wide until the update.
    I looked around and found some similar threads, but only complaining about keyboard variants, which is not my issue. Also on the Gnome forums, there is no-one with this problem. I checked all config files and XML files related to GDM I could found, but nothing helped.
    I noticed that with the Ubuntu Karmic Beta live CD, upon entering the keyboard layout from the boot screen, everything was BE as I want it to be. It proves to me it's all possible, but I can't find how.
    Any help would be appreciated!

    killajoe wrote:
    /etc/gdm/custom.conf is the file to configure gdm:
    http://library.gnome.org/admin/gdm/2.28 … on.html.en
    there is no gui but for what we need a gui for that?
    That's very interesting, thanks for the link. Sure, it's possible that way, but a few weeks ago there still was a GUI for it and now everything has to be done manually again. That sounds very much like a regression to me Anyway, that's not really the point. GDM documentation pages tell us that the system keyboard layout is used to login and that every user logging in can choose their preferred session. However, our system languages (which are different than USA) are not detected correctly and there is no option to override this in custom.conf.
    /apps/gdm/simple-greeter/recent-languages
        [] (string list)
        Set to a list of languages to be shown by default in the login window. Default value is "[]". With the default setting only the system default language is shown and the option "Other..." which pops-up a dialog box showing a full list of available languages which the user can select.
        Users are not intended to change this setting by hand. Instead GDM keeps track of any languages selected in this configuration key, and will show them in the language combo box along with the "Other..." choice. This way, commonly selected languages are easier to select.
    /apps/gdm/simple-greeter/recent-layouts
        [] (string list)
        Set to a list of keyboard layouts to be shown by default in the login panel. Default value is "[]". With the default setting only the system default keyboard layout is shown and the option "Other..." which pops-up a dialog box showing a full list of available keyboard layouts which the user can select.
        Users are not intended to change this setting by hand. Instead GDM keeps track of any keyboard layouts selected in this configuration key, and will show them in the keyboard layout combo box along with the "Other..." choice. This way, commonly selected keyboard layouts are easier to select.
    Has someone the answer to the questions I asked earlier:
    1. Will I still be able to update gdm via pacman -Syu after rebuilding gdm with this patch?
    2. And will there come an official Arch GDM update with this patch to solve the problem or is the only way to get it solved dealing with the patch now?
    Last edited by ulukai (2009-10-17 15:28:35)

  • Need help after install lxde fresh (keyboard layout, policykit, ...)

    i cant mount mz other ext hard disk i get this
    org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)
    i tried to search forums and do some things but none helped
    altought i selected croat as a keyboard layout during install, and it worked in lxde first time i loged in, now it doesnt work
    ati propriety driver 9.3 altought it is old now supports new kernel and Xorg but i dont know how to install it, aur has missing file and if you just run from package from ati it gives unsupported os error

    For the graphical keymap, try setting it manually like this:
    setxkbmap <LANG> -print | xkbcomp - $DISPLAY
    Substitute <LANG> for the croatian language code (for instance, you would use "us" for an american keymap, or "no" for a norwegian one. I don't know the croatian one.)

  • Keyboard layout problem at the login screen

    Hi there!
    I'm having a huge problem at the login screen just after installing OS X Lion 10.7. It seems like the keyboard layout has changed, and I need to enter some numbers in my password. I can't find the digit 9, and I really don't know if the other numbers are in the right place either. Maybe it's changed to a us layout.. What to do?

    stoneheart,
    the numbers are in the same position on a US English keyboard as they are on a Norwegian keyboard.
    If you select the Users & Groups pane of System Preferences, and select its Login Options, do you have the “Show Input menu in login window” checkbox checked? (That’s where the checkbox’s location is in Mavericks; I don’t have Lion, so I don’t know if it’s in the same location there.)

  • How to set custom keyboard layout as default?

    I've downloaded a german keyboard layout for normal PC keyboards from this page: http://www.nullpointer.de/stuff/keylayout/index.de.
    Everything works fine. The layout is showing up in "Input Sources".
    But for some reason I cannot uncheck the default "Apple German Keyboard Layout" as you can see in this screenshot:
    The TickBox next to it is disabled...
    This leads to the problem that in some applications that layout is being used (switched to) automatically instead of keeping the new one...
    How do I set a custom keyboard layout as default and/or deactivate built-in one?
    Thanks in advance!
    MemphiZ

    This has come up before, and I think it is not possible.  The OS always keeps one of its own Latin keyboards active, and unfortunately I have not seen any way that these (located in system/library/keyboard layouts/applekeyboardlayouts.bundle) can be modified by the user.
    PS Another possible source for "PC" layouts for people using that kind of hardware instead of Apple keyboards is the set of Logitech layouts provided when you download Ukelele.

Maybe you are looking for

  • Help With Airport Extreme and External Hard Drive

    I just purchased the Airport Extreme and I couldn't have been happier. I have attached my western digital external hard drive, but I have run into a slight problem/dilemma which I'm hoping someone who is apple savvy can help me out. I live in a house

  • "Moving" Tiger and Leopard OS's from G4 (32b) to G5 (64b)

    I plan to image Tiger (10.4) and Leopard (10.5) from my Power Mac G4 (Quicksilver 2002) to a recently acquired a Power Mac G5 (Early 2005). My questions are: 1. Tiger and Leopard were installed on a G4, a 32 bit processor, but the G5 is a 64 bit proc

  • Deleted all my System Fonts!

    I accidentally deleted all my system fonts (long story) now when i turn my machine on the screen is almost completely blank except for my wallpaper and some time detail at the top. No icons at the bottom, desktop icons or top bar! have been told to r

  • Effects of change of ISO code of UoM

    Dear Experts, i am facing the following general question - based on SRM 7.0, CS On the R/3 side, we have three different systems in use, to which SRM is connected. All these different R/3 systems are having differences in the used UoM / ISO codes of

  • DOES LMS 4.1 manages firewall and IPS ?

    Please help