Bug 92585

Summary: Switching the keyboard layout does not affect XQuartz.app
Product: XQuartz Reporter: Mihai Moldovan <ionic>
Component: New BugsAssignee: Jeremy Huddleston Sequoia <jeremyhu>
Status: RESOLVED WORKSFORME QA Contact: Jeremy Huddleston Sequoia <jeremyhu>
Severity: normal    
Priority: medium    
Version: 2.7.8 (xserver-1.16.4)   
Hardware: x86-64 (AMD64)   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:

Description Mihai Moldovan 2015-10-22 03:24:14 UTC
The selected system keyboard layout is respected during XQuartz.app startup, but any subsequent changes are not reflected within the X.Org server.

xmodmap -pke will always report the same initial value.

"Follow System Layout" is turned on.
Comment 1 Mihai Moldovan 2015-10-22 03:27:06 UTC
Btw, although I have selected "development" as the version because I'm using MacPorts with xorg-server-devel, other users are seeing this for the latest XQuartz installer release as well.
Comment 2 sysradium 2015-10-23 19:17:44 UTC
I confirm this bug. Layout changes only if you restart the XQuartz.
Also it's quite sad that does not try to combine layouts into one keycode table. 
While it should take all layouts available in OSX and combine them. This is very needed in order for x2go client to work correctly. Each 1 second x2go client dumps keycodes from xmodmap and applies them on a remote machine. So if xmodmap will return keycodes only for the current layout, english for example, and apply it on a remote machine. So when you change layout on mac x2go will send new keycode table with another language, like German, only in a few seconds. This will make frequent switching very awful and frustrating.
I ducked this issue by manually composing keycode table and uploading it on a remote machine, but I hope the fix this in XQuartz itself.
Comment 3 Jeremy Huddleston Sequoia 2016-05-29 17:52:45 UTC
@sysradium: That's not possible.  You should talk to the x2go authors about changing that behavior.
Comment 4 Jeremy Huddleston Sequoia 2016-05-29 17:54:20 UTC
The layout is properly switching for me with 2.7.10_beta1.  Nobody else seems to have reported this, so I suspect a local configuration issue.  Please ask for support on the x11-users mailing list.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.