[winswitch] XKB layout
Vinícius dos Santos Oliveira
vini.ipsmaker at gmail.com
Tue Apr 6 17:35:42 BST 2021
Em ter., 6 de abr. de 2021 às 08:58, Antoine Martin via shifter-users
<shifter-users at lists.devloop.org.uk> escreveu:
> The "-d keyboard" debugging switch is probably too verbose, but may help
> diagnose things.
Indeed it's very verbose. However I got this:
2021-04-06 16:27:18,986 make_keymask_match: ignored as
keynames_for_mod not assigned yet
2021-04-06 16:27:18,987 set_keymap(None, {}, False, False)
keyboard_config=KeyboardConfig(us / / None)
2021-04-06 16:27:18,990 current keyboard id=None, new keyboard
id=us//None/ab7bde654447bf3655ef60eac19ec0048d52e808
2021-04-06 16:27:18,991 set_keymap(False) layout=us, variant=,
options=None, print=, query=rules: evdev\nmodel:
pc105\nlayout: us\noptions: caps:capslock\n
2021-04-06 16:27:18,991 setting XKB layout group 0
2021-04-06 16:27:18,992 do_set_keymap using xkbmap_query
struct={b'rules': b'evdev', b'model': b'pc105', b'layout': b'us',
b'options': b'caps:capslock'}
2021-04-06 16:27:18,993 setting keymap:
2021-04-06 16:27:18,993 setxkbmap(b'evdev', b'pc105', b'us', None,
b'caps:capslock')
2021-04-06 16:27:18,993 setxkbmap: using locale=C
2021-04-06 16:27:18,994 setxkbmap: using {'rules': 'evdev', 'model':
'pc105', 'layout': 'us', 'variant': 'NULL', 'options':
'caps:capslock'}
2021-04-06 16:27:18,994 setxkbmap: trying to load rules file b'./rules/evdev'...
2021-04-06 16:27:18,994 setxkbmap: trying to load rules file
b'/usr/share/X11/xkb/rules/evdev'...
2021-04-06 16:27:18,995 Error: cannot find rules file 'evdev'
2021-04-06 16:27:18,995 setting keyboard layout to 'us'
2021-04-06 16:27:18,995 setxkbmap(evdev, pc105, us, , None)
2021-04-06 16:27:18,995 setxkbmap: using locale=C
2021-04-06 16:27:18,996 setxkbmap: using {'rules': 'evdev', 'model':
'pc105', 'layout': 'us', 'variant': 'NULL', 'options': 'NULL'}
2021-04-06 16:27:18,996 setxkbmap: trying to load rules file b'./rules/evdev'...
2021-04-06 16:27:18,996 setxkbmap: trying to load rules file
b'/usr/share/X11/xkb/rules/evdev'...
2021-04-06 16:27:18,997 Error: cannot find rules file 'evdev'
It seems to be ignoring XKB_DEFAULT_VARIANT=colemak. It's only getting
the XKB_DEFAULT_LAYOUT=us.
colemak is a variant from the /usr/share/X11/xkb/symbols/us layout
(totally different tho). Did I hit a bug then?
--
Vinícius dos Santos Oliveira
https://vinipsmaker.github.io/
More information about the shifter-users
mailing list