Key '@' (Keycode 49) and key '<' (keycode 94) are inverted on macbookPro keyboard - Ask Ubuntu


i running ubuntu 16.10 on macbookpro , keys 49 , 94 inverted... resolved problem xmodmap, won't apply permanently. after research found xmodmap no longuer use ubuntu xkb instead. searched in configuration of xkb , found in config file /usr/share/x11/xkb/keycodes/macintosh lines :

xkb_keycodes "badmap" {     <tlde> =  94;     <lsgt> =  49; };  xkb_keycodes "goodmap" {     <tlde> =  49;     <lsgt> =  94; }; 

this problem, 2 keys inverted. wondering if can't change layout configuration param badmap.


the ouput of setxkbmap -query -v 10

setting verbose level 10 locale c trying load rules file ./rules/evdev... trying load rules file /usr/share/x11/xkb/rules/evdev... success. applied rules evdev: rules:      evdev model:      pc105 layout:     fr,fr,us variant:    mac,oss, trying build keymap using following components: keycodes:   evdev+aliases(azerty) types:      complete compat:     complete symbols:    pc+fr(mac)+fr(oss):2+us:3+inet(evdev) geometry:   pc(pc105) rules:      evdev model:      pc105 layout:     fr,fr,us variant:    mac,oss, 

i accidentally stumbled upon this patch, led me solution:

open /etc/default/keyboard editing , set:

xkboptions="apple:badmap" 

at next reboot keys switched.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User