Bug 405237 - ctrls_toggle no longer available to switch between keyboard layouts
Summary: ctrls_toggle no longer available to switch between keyboard layouts
Status: VERIFIED DUPLICATE of bug 373197
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Final
Hardware: x86 Linux
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 05:21 UTC by Jan Engelhardt
Modified: 2009-11-23 23:41 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Engelhardt 2008-07-01 05:21:09 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.
Comment 1 Stefan Dirsch 2008-07-01 12:52:28 UTC
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>
Comment 2 Stefan Dirsch 2008-07-01 14:47:18 UTC
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.
Comment 3 Jan Engelhardt 2008-07-01 15:12:37 UTC
Well I hope someone can readd ctrls_toggle.
Comment 4 Jan Engelhardt 2008-07-01 17:49:19 UTC
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).
Comment 5 Stefan Dirsch 2008-07-01 19:01:58 UTC
So 

  setxkbmap -layout us,de -option "" -option grp:ctrls_toggle -v

works for you? For me it doesn't.
Comment 6 Jan Engelhardt 2008-07-01 19:20:46 UTC
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.
Comment 7 Jan Engelhardt 2008-07-01 19:36:03 UTC
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.
Comment 8 Stefan Dirsch 2008-07-02 06:31:09 UTC
Hope it's ok to set this to minor. Otherwise I need to report it upstream on bugs.freedesktop.org.
Comment 9 Jan Engelhardt 2008-07-02 06:40:17 UTC
Since the raw X server, without any desktop loaded is actually
affected, I had been hoping that you would report it..
Comment 10 Stefan Dirsch 2008-07-02 07:13:56 UTC
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 ***