Platform Version 4.13.3 I'm trying to set up CapsLock as layout switcher (default is 'en', added 'ru', and I though it would shift from en into ru, it would not switch back. [vps@druid vps]$ setxkbmap -print xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete+caps(internal)" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+sun_vndr/us+sun_vndr/ru:2+inet(evdev)+capslock(grouplock)+sun_vndr/solaris(sun_compat)" }; xkb_geometry { include "sun(type6unix)" }; }; KBD model: Sun Microsystems | Sun Type 6 USB (Unix layout) Maintain key compatibility with old Solaris keycodes : checked (no other advanced options checked) Reproducible: Always Steps to Reproduce: (in keyboard settings) 1. Add a second layout (ru, Default variant) 2. Go to Advanced, select "Caps Lock" as "Switching to another layout" option 3. Apply changes 4. Go to terminal, try switching layouts using caps lock Actual Results: Pressing C/L when in en switches to 'ru' Pressing C/L when in ru turns on CapsLock. Expected Results: Pressing C/L should always switch to the next layout.
I wonder if it's something with sun keyboard definition, it works ok for me with Enligsh/Ukrainian layouts and pc101 keyboard. If it is you'll have to file a bug for http://www.freedesktop.org/wiki/Software/XKeyboardConfig/ $ setxkbmap -print xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+ua:2+inet(evdev)+capslock(grouplock)" }; xkb_geometry { include "pc(pc101)" };
It probably is then. The layout maps for this keyboard are grossly strange. However, when I do the KDE settings to show the layout, it shows what it thinks it is, not what the layout files specified. It seems that kxkb is way too disconnected from the actual provisioned layout. Since I'm configuring this through kxkb, and I don't want to mess with my system files manually, these problems should be, IMHO, handled by KDE.
KDE 4.x layout preview does not show selected keyboard it only shows the layout (on a standard keyboard). We had a GSoC student that actually did the work to show selected keyboard (among other improvements), and it was ported to KDE5, but he didn't get much feedback on reviewboard and I don't have time to pick it up and merge it myself.
I would so vote for that merge :)
kde keyboard module does not control that so you'd have to file a bug against xkeyboard-config component at freedesktop.org 2014-09-18 0:22 GMT-04:00 <pawel.veselov@gmail.com>: > https://bugs.kde.org/show_bug.cgi?id=339162 > > Bug ID: 339162 > Summary: Caps Lock can't be used as layout switcher > Product: kxkb > Version: unspecified > Platform: Fedora RPMs > OS: Linux > Status: UNCONFIRMED > Severity: normal > Priority: NOR > Component: general > Assignee: arysin@gmail.com > Reporter: pawel.veselov@gmail.com > > Platform Version 4.13.3 > > I'm trying to set up CapsLock as layout switcher (default is 'en', added 'ru', > and I though it would shift from en into ru, it would not switch back. > > [vps@druid vps]$ setxkbmap -print > xkb_keymap { > xkb_keycodes { include "evdev+aliases(qwerty)" }; > xkb_types { include "complete+caps(internal)" }; > xkb_compat { include "complete" }; > xkb_symbols { include > "pc+sun_vndr/us+sun_vndr/ru:2+inet(evdev)+capslock(grouplock)+sun_vndr/solaris(sun_compat)" > }; > xkb_geometry { include "sun(type6unix)" }; > }; > > KBD model: Sun Microsystems | Sun Type 6 USB (Unix layout) > Maintain key compatibility with old Solaris keycodes : checked > (no other advanced options checked) > > Reproducible: Always > > Steps to Reproduce: > (in keyboard settings) > 1. Add a second layout (ru, Default variant) > 2. Go to Advanced, select "Caps Lock" as "Switching to another layout" option > 3. Apply changes > 4. Go to terminal, try switching layouts using caps lock > > Actual Results: > Pressing C/L when in en switches to 'ru' > Pressing C/L when in ru turns on CapsLock. > > Expected Results: > Pressing C/L should always switch to the next layout. > > -- > You are receiving this mail because: > You are the assignee for the bug.
oops, sorry, ignore my previous reply - it was posted by mistake P.S. showing keyboard geometry in layout preview feature has been pushed in plasma version 5 (should show up in 5.2)
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!
Works for me in Plasma 5.21 with en and ru.