You are not logged in.
Here's the output:
https://pastebin.com/sBix8ces
Offline
Nope, there's a static hostname so it's not a server loss through hostname change.
At this point I'm out of ideas. You could strace or gdb kglobalaccel5 to see what it does in response to a shortcut being pressed…
Offline
So it turns out this problem will torment me not only on KDE - on awesome and Mate shortcuts are also not working... I guess I'm just going to wipe out this user altogether and create another one, for I have absolutely no idea why this happens and what I could do to make shortcuts work again.
Offline
Do you change the keyboard layout somewhen after the sessions started?
Offline
Well I have noticed that when I press Ctrl+Meta+t (launch a terminal emulator) my keyboard layout mystically switches to RU (even thought it's not the shortcut for switching layouts), and after that no other shortcut is ever working, not even when I switch back to US (the same happens when the layout is RU - I press Ctrl+Meta+t and it switches to US). Even if I disable the russian keyboard layout, it all breaks after I launch terminal with Ctrl+Meta+t ONCE - shortcuts simply stop working afterwards. It's really, really strange. (tested this both on KDE and Mate)
Last edited by forgetmenot (2019-07-26 21:38:15)
Offline
setxkbmap -print -query
Offline
Well it seems that I was able to fix it. The problem apparently was in my .bashrc file which had the following line in it (about which I completely forgot):
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll ru,us
and this line *also* was present in my .initrc file, and I had the same layouts configured via KDE, and somehow it all got messed up and the setting were conflicting with each other producing such unexpected behaviour... I have not the slightest idea why it was not working then and why it is working now, but the issue seems to be solved for the time being. I'll change the title once I'm completely sure it's gone. And thank you seth for helping me start working in the right direction! God knows how it could happen that the problem was exactly in the keyboard layout, of all things... It's all really strange.
Here's the output of setxkbmap -print -query, for the sake of completeness:
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+ru:2+inet(evdev)+group(alt_shift_toggle)"};
xkb_geometry { include "pc(pc101)" };
};
rules: evdev
model: pc101
layout: us,ru
options: grp:alt_shift_toggle
And here's what setxkbmap -print -query giving out when that line is present in .bashrc:
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include "pc+ru+us:2+inet(evdev)+group(switch)+group(alt_shift_toggle)" };
xkb_geometry { include "pc(pc101)" };
};
rules: evdev
model: pc101
layout: ru,us
options: grp:switch,grp:alt_shift_toggle,grp_led:scroll,grp:alt_shift_toggle
Last edited by forgetmenot (2019-07-26 22:23:26)
Offline
"grp:switch" is your right alt key, so any shortcut including the alt key will change the layout what might turn things messy, yes.
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
I had a similar problem with shortcuts in KDE. My notebook's keyboard has an FN-lock (FN + ESC) which I had accidentally pressed. When the FN-lock function is activated the ALT + KEY shortcuts stopped working.
Offline
I solved it by checking the output of:
systemctl status --user plasma-kglobalaccel.service
And then I erasing entries producing errors from this file:
~/.config/kglobalshortcutrc
Offline
ifernando, welcome to the forums.
When you post, be aware of the age of threads. This one is over four years old -- a lot of things change in that much time.
Using this opportunity close this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline