You are not logged in.
I have a laptop running arch+kde/plasma on X. I have a dual language set up, with US (English) and Spanish (Latin American, with sun dead keys). I change my language with alt+shift, but lately the shortcut does not work after a reboot. It is still selected under the keyboard layout shortcuts, but it does nothing. If i disable and re-enable it it works again. It seems like there is some other shortcut that interfering with it on boot, but I don't know where I can check this. I don't see any other shortcut set to alt+shift (and in fact, this won't be accepted by KDE's shortcuts).
Is there anyway I can stop this from happening?
Last edited by ddshore (2018-11-24 18:00:11)
Offline
What's the output of
setxkbmap -print -query
before and after re-enabling the shortcut?
Offline
Thanks, that threw out more information. Shortcuts do not appear before, and they do appear after. One thing: the ctrl alt backspace shortcut was not disabled and re-enabled, I didn't touch it, and it also appeared. How can I fix this?
Before:
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
rules: evdev
model: pc105
layout: us
After renabling it.
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+latam(sundeadkeys):2+inet(evdev)+group(alt_shift_toggle)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc101)" };
};
rules: evdev
model: pc101
layout: us,latam
variant: ,sundeadkeys
options: terminate:ctrl_alt_bksp,grp:alt_shift_toggle
Offline
Your keyboard settings are not applied at all in the beginning, this is a very KDE specific issue.
Check "kcmshell5 kded" on whether some suspicious daemon isn't loaded (before you "fix" it) - that's all I can tell.
You could either add the config to Xorg or add a setxkbmap script to your autostart stuff, but that would oc. only work around the fact that KDE doesn't apply (all of) its settings on login.
Offline
Thanks for your message, I don't know why I didn't see it before. But wanted to let you know it seems to have done the trick. For anyone with the same problem, it's adding:
Section "InputClass"
Identifier "kebyoard defaults"
MatchIsKeyboard "on"
Option "XkbLayout" "us,latam"
Option "XKbOptions" "grp:alt_shift_toggle"
EndSection
To a configuration file I created inside of /etc/X11/xorg.conf.d/
Last edited by ddshore (2018-11-24 20:35:33)
Offline
Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline