You are not logged in.

#26 2019-07-25 20:00:54

forgetmenot
Member
Registered: 2018-09-19
Posts: 27

Re: KDE global shortcuts have stopped working

Here's the output:
https://pastebin.com/sBix8ces

Offline

#27 2019-07-25 20:33:14

seth
Member
Registered: 2012-09-03
Posts: 51,141

Re: KDE global shortcuts have stopped working

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

#28 2019-07-26 20:28:38

forgetmenot
Member
Registered: 2018-09-19
Posts: 27

Re: KDE global shortcuts have stopped working

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

#29 2019-07-26 20:41:33

seth
Member
Registered: 2012-09-03
Posts: 51,141

Re: KDE global shortcuts have stopped working

Do you change the keyboard layout somewhen after the sessions started?

Offline

#30 2019-07-26 21:29:52

forgetmenot
Member
Registered: 2018-09-19
Posts: 27

Re: KDE global shortcuts have stopped working

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

#31 2019-07-26 21:41:55

seth
Member
Registered: 2012-09-03
Posts: 51,141

Re: KDE global shortcuts have stopped working

setxkbmap -print -query

Offline

#32 2019-07-26 21:53:47

forgetmenot
Member
Registered: 2018-09-19
Posts: 27

Re: KDE global shortcuts have stopped working

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

#33 2019-07-27 06:50:52

seth
Member
Registered: 2012-09-03
Posts: 51,141

Re: KDE global shortcuts have stopped working

"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

#34 2020-06-24 16:12:55

diogosiebert
Member
Registered: 2020-06-24
Posts: 1

Re: KDE global shortcuts have stopped working

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

#35 2023-07-08 11:12:37

ifernando
Member
Registered: 2022-09-20
Posts: 5

Re: KDE global shortcuts have stopped working

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

#36 2023-07-08 15:51:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,784

Re: KDE global shortcuts have stopped working

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

Board footer

Powered by FluxBB