After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687929 - Allow keyboard layout switching by Caps Lock
Allow keyboard layout switching by Caps Lock
Status: RESOLVED DUPLICATE of bug 686613
Product: gnome-settings-daemon
Classification: Core
Component: keyboard
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-08 15:44 UTC by Valeriy L.
Modified: 2012-11-08 15:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Initial hack on gnome-settings-daemon to allow Caps Lock layout switching (INCORRECTLY WORKING) (1.27 KB, patch)
2012-11-08 15:44 UTC, Valeriy L.
none Details | Review

Description Valeriy L. 2012-11-08 15:44:12 UTC
Created attachment 228481 [details] [review]
Initial hack on gnome-settings-daemon to allow Caps Lock layout switching (INCORRECTLY WORKING)

After upgrade to 3.6.1 there's no possibility to specify Caps Lock as a next layout shortcut. Also it is not present in gnome-tweak-tool's shortcut list.

The only option now is to set Caps Lock switching via setxkbmap, but in that case layout indicator stops working, and also it's not user friendly.

The perfect solution will be a possibility to choose Caps Lock as a layout switcher shortcut in gnome-tweak-tool. I've tried hacking GSD a bit and can confirm it's quite working, with exception that it is also changing case of entered letters. Anyway, I've attached a patch with my attempts.
Comment 1 Rui Matos 2012-11-08 15:51:26 UTC
Hey thanks for the patch but there's already a working one in bug 686613. Can you test it?

*** This bug has been marked as a duplicate of bug 686613 ***