Bugzilla – Bug 405237
ctrls_toggle no longer available to switch between keyboard layouts
Last modified: 2009-11-23 23:41:58 UTC
My xorg.conf has Option "XkbOptions" "grp:ctrls_toggle,compose:menu,eurosign:e" which I had previously set using sax2 in 10.3; With sax2-8.1-440.1 from 11.0 however, the option in sax2 to choose "both Ctrl keys switch keyboard layout" (ctrls_toggle) seems gone.
Looks like it's no longer supported. # setxkbmap -layout us,de -option "" -option grp:shifts_toggle -v <works this Shift-Shift> # setxkbmap -layout us,de -option "" -option grp:ctrls_toggle -v <does not work with Ctrl-Ctrl>
When using shifts_toggle when pressing the second Shift key I'm seing ISO_Prev_Group/ISO_Next_Group in xev. When using ctrls_toglle when pressing the second Ctrl key I'm still getting Control-L/Control-R.
Well I hope someone can readd ctrls_toggle.
Since the cause for bug #405236 is now found, all that is left is that Ctrls_toggle disappeared from sax2. It still works in the X server when $USER does not screw SCIM up, if SCIM is entirely disabled (by means of /etc/sysconfig/language) or when SCIM is not yet running (kdm login screen).
So setxkbmap -layout us,de -option "" -option grp:ctrls_toggle -v works for you? For me it doesn't.
Correct, that command "does not work", i.e. I don't get ctrl as toggles (of course I've used `setxkbmap -layout us -option "" -v` before to clear any potential settings which were already there). Further info: ctrls_toggle is not available in kdm and is also not available when I run `startx -- :1`, but is available when I sign on with kdm. Perhaps this is SCIM which (re)provides the Ctrls_toggle in some way. Checking.
Also works when SCIM is deactivated through /etc/sysconfig/language INPUT_METHOD=none. This is really odd, I could not find what process actually enables ctrl_toggle. Neither startx, nor X directly, nor icewm-session, nor SCIM nor kdm do, but logging in through kdm - and it's there when icewm is done loading. xsetkbmap -print: xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us(basic)+de(basic):2+group(ctrls_toggle)+compose(menu)+eurosign(e)" }; xkb_geometry { include "pc(pc105)" }; }; This stays the same, whether ctrls_toggle is actually available (normal login) or not available (others). Odd.
Hope it's ok to set this to minor. Otherwise I need to report it upstream on bugs.freedesktop.org.
Since the raw X server, without any desktop loaded is actually affected, I had been hoping that you would report it..
Oh well. I forgot, that I disabled that key combination by intention, since it wasn't working any longer with the newes X.Org version. And even upstream nobody has a clue how to fix the issue. Closing as duplicate. *** This bug has been marked as a duplicate of bug 373197 ***