Yubico Forum
https://forum.yubico.com/

alternative keyboard layout support
https://forum.yubico.com/viewtopic.php?f=16&t=317
Page 3 of 3

Author:  sebastian [ Sat Apr 14, 2012 8:20 am ]
Post subject:  Re: alternative keyboard layout support

Three years after this topic has been started the problem hasn't been solved yet? Just bought my first key and using dvorak the key is almost unusable with this restriction.

The excitement quickly turned into disappointment having wasted $36. This is definitely something you should warn your customers about before letting them order.

Author:  fbnlsr [ Mon Feb 25, 2013 8:59 pm ]
Post subject:  Re: alternative keyboard layout support

I've just submited the same problem to the support team.

I'm using the BEPO layout (which is the french equivalent to DVORAK), and unfortunately it's not possible to use my Yubikey when this layout is activated. That's a real shame, especially considering the Yubikey is used by both end-users and technology enthousiasts/powerusers.

I hope this issue will be resolved soon.

Author:  Jakob [ Tue Feb 26, 2013 9:56 pm ]
Post subject:  Re: alternative keyboard layout support

The Yubikey NEO does support configuration of a custom key map to address this and similar issues.

Best regards,

JakobE
Hardware- and firmware guy @ Yubico

Author:  kychen [ Tue Mar 19, 2013 4:35 pm ]
Post subject:  Re: alternative keyboard layout support

Hi, I just got my standard yubikey, and I'm trying to get my system to recognize it as a US/qwerty keyboard. I normally type in dvorak. This way, even the static passwords would be correct on my laptop and when I move to other computers that use qwerty layouts.

I tried using the code that haavardm posted in xorg.conf, but it doesn't seem to work for me. I'm running kubuntu 12.10. This is the output of setxkbkmap:

Code:
$ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc101
layout:     us,us
variant:    dvorak,
options:    terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us(dvorak)+us:2+inet(evdev)+terminate(ctrl_alt_bksp)
geometry:   pc(pc101)
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us(dvorak)+us:2+inet(evdev)+terminate(ctrl_alt_bksp)"       };
        xkb_geometry  { include "pc(pc101)"     };
};


Is there anyway to specify so that X would know that the keyboard of my laptop is Dvorak and the yubikey is querty?

It doesn't seem like I have such options in KDE's keyboard layout options.

Any help would be appreciated!

Author:  Klas [ Thu Mar 21, 2013 1:50 pm ]
Post subject:  Re: alternative keyboard layout support

Hello,

This is how you can achieve having all YubiKeys inserted mapped to qwerty layout:

* Add /etc/default/qwerty.keyboard
Code:
XKBMODEL="pc101"
XKBLAYOUT="us"
XKBVARIANT="qwerty"
XKBOPTIONS=""


* Add /etc/udev/rules.d/99-yubikey_qwerty.rule
Code:
ACTION=="add|change", SUBSYSTEM=="input", \
       ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111", \
       IMPORT{file}="/etc/default/qwerty.keyboard"


* Reboot


/klas

Author:  trilliput [ Mon Oct 21, 2013 4:22 pm ]
Post subject:  Re: alternative keyboard layout support

Udev rules didn't helped me, but solution from haavardm fixed the problem, at least on the client side.

viewtopic.php?f=16&t=317&hilit=dvorak&start=10#p2399
Quote:
For those using X11 >= 1.7.99.901-1, put the following in /etc/X11/xorg.conf to have the yubikey get a us keyboard layout regardless of what layout you normally have:
Code:
Section "InputClass"
  Identifier      "yubikey"
  MatchVendor "Yubico"
  MatchProduct "Yubikey"
  Option "XkbModel" "pc101"
  Option "XkbLayout" "us"
  Option "XkbVariant" "intl"
EndSection

Page 3 of 3 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/