xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Last modified 3 weeks ago

#1607 new defect

Cannot switch between more than 2 XKB layouts

Reported by: chaanakya Owned by: chaanakya
Priority: major Milestone: 2.2
Component: keyboard Version: trunk
Keywords: Cc:

Description

I have set up XKB using

setxkbmap -layout us,in,in -variant ,kan-kagapa,hin-kagapa -option -option grp:menu_toggle -option ctrl:swap_caps -option grp_led:num

On regular X windows, this works fine - I can switch between all 3 layouts without any issues. Within Xpra, however, the keyboard refuses to output anything on the third layout (hin-kagapa). That is, it switches to that layout, but then does not type anything. I'm using revision 16525.

Attachments (5)

.xmodmap (1.5 KB) - added by chaanakya 3 weeks ago.
My xmodmap configuration
keymap.py (2.8 KB) - added by chaanakya 3 weeks ago.
xmodmap-pke (15.7 KB) - added by chaanakya 3 weeks ago.
Output of xmodmap -pke
:470.log (58.5 KB) - added by chaanakya 3 weeks ago.
Debug output
keymap.2.py (35.0 KB) - added by chaanakya 3 weeks ago.
Output of keymap.py

Download all attachments as: .zip

Change History (7)

comment:1 Changed 3 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to chaanakya

Please provide as many details as you can, as per wiki/Keyboard.
And I have no idea how to use such layouts..

Changed 3 weeks ago by chaanakya

Attachment: .xmodmap added

My xmodmap configuration

comment:2 Changed 3 weeks ago by chaanakya

Active keyboard layout(s): us,in(kan-kagapa),in(hin-kagapa) (I don't think the exact keyboard layouts matter though...this should be true of any 3 layouts)
Input methods: Not using any at the moment - switched exclusively to xkb
Keyboard-related configuration setup/files: See my .xmodmap attached above
Keyboard type: Standard laptop keyboard (pc105 with evdev rules)
Debug log output: I will upload this in a bit
Whether the bug is present with/without --no-keyboard-sync: yes
setxkbmap -print output:

xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete+lednum(group_lock)"	};
	xkb_symbols   { include "pc+us+in:2+in:3+inet(evdev)+group(rctrl_toggle)+ctrl(swapcaps)"	};
	xkb_geometry  { include "pc(pc105)"	};
};

setxkbmap -query output:

rules:      evdev
model:      pc105
layout:     us,in,in
options:    grp:rctrl_toggle,ctrl:swapcaps,grp_led:num

xpra/gtk_common/keymap.py: I will upload in a bit
xmodmap -pke output: I will attach output in a bit
xmodmap -pm output:

xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x85),  Shift_R (0xce)
lock        Caps_Lock (0x25)
control     Control_L (0x42)
mod1        Alt_R (0x31),  Alt_L (0x40),  Alt_L (0xcc),  Meta_L (0xcd)
mod2        Num_Lock (0x4d)
mod3      
mod4        Super_L (0x3e),  Super_R (0x86),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c),  ISO_Level3_Shift (0x87),  Mode_switch (0xcb)
Last edited 3 weeks ago by chaanakya (previous) (diff)

Changed 3 weeks ago by chaanakya

Attachment: keymap.py added

Changed 3 weeks ago by chaanakya

Attachment: xmodmap-pke added

Output of xmodmap -pke

Changed 3 weeks ago by chaanakya

Attachment: :470.log added

Debug output

Changed 3 weeks ago by chaanakya

Attachment: keymap.2.py added

Output of keymap.py

Note: See TracTickets for help on using tickets.