Some of my shortcuts stopped working

Some of my shortcuts stopped working:

Ctrl + PrtScr used to open Flameshot, but now it doesn’t (nothing happens whilst pressing it).
PrtScr used to open ksnip, but now it doesn’t (also nothing happens).
When I open Flameshot manually, it doesn’t respond to my pressing the Esc key to exit.

Nothing changes if I re-assign those shorcuts in Settings.

This is the output from xev whilst pressing PrtScr, Ctrl + PrtScr and Esc buttons:

FocusOut event, serial 40, synthetic NO, window 0x5200001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 40, synthetic NO, window 0x5200001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 40, synthetic NO, window 0x5200001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   8   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 40, synthetic NO, window 0x5200001,
    root 0x24c, subw 0x0, time 787939, (268,365), root:(273,398),
    state 0x2010, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x5200001,
    root 0x24c, subw 0x0, time 788397, (268,365), root:(273,398),
    state 0x2010, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 40, synthetic NO, window 0x5200001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 40, synthetic NO, window 0x5200001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 40, synthetic NO, window 0x5200001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 40, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   10  0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 40, synthetic NO, window 0x5200001,
    root 0x24c, subw 0x0, time 788733, (268,365), root:(273,398),
    state 0x2014, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x5200001,
    root 0x24c, subw 0x0, time 788773, (268,365), root:(273,398),
    state 0x2014, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x5200001,
    root 0x24c, subw 0x0, time 789947, (268,365), root:(273,398),
    state 0x2010, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
    XLookupString gives 1 bytes: (1b) "
    XmbLookupString gives 1 bytes: (1b) "
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x5200001,
    root 0x24c, subw 0x0, time 790027, (268,365), root:(273,398),
    state 0x2010, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
    XLookupString gives 1 bytes: (1b) "
    XFilterEvent returns: False

Possibly related… :arrow_down:

1 Like

I created a new user and tried various PrtScr shortcuts and it worked without issues. Must be the new update ran over or collided with the existing config files, which made a mess.

1 Like

Here’s some more insight to this confusion. When I press Shift + PrtScr then Spectacle does the printscreen just fine, but when I change the default shortcut to Ctrl + PrtScr, Apply and press it, then Spectacle doesn’t make what it just previously did with NO errors within the logs. :woozy_face:

When I revert Ctrl + PrtScr back to Flameshot and check the logs, this is what pops up every time I press this particular shortcut combination:

18 Aug 2021 10:56:31	kstart5	QApplication: invalid style override 'gtk' passed, ignoring it.
	Available styles: Breeze, kvantum-dark, kvantum, qt5ct-style, Windows, Fusion
18 Aug 2021 10:56:32	kstart5	qt.svg: link #path2410 is undefined!
18 Aug 2021 10:56:32	kglobalaccel5	kstart: Unknown option 'delay'.

When I press PrtScr it triggers ksnip (another app for screenshots), but unfortunately it doesn’t create a screenshot. The log throws the following sausage instead:

19 Aug 2021 17:39:42	kstart5	QApplication: invalid style override 'gtk' passed, ignoring it.
	Available styles: Breeze, kvantum-dark, kvantum, qt5ct-style, Windows, Fusion
19 Aug 2021 17:39:42	kstart5	qt.svg: link #path2410 is undefined!
19 Aug 2021 17:39:42	kglobalaccel5	kstart: Unknown option 'r'.

What sorcery is this? :roll_eyes:

Having shortcut issues too. Slightly different than yours. Issues with function keys not working at all. Can’t even assign a new short using the Fn key, or any of the pre assigned fn keys. F1, F2 etc. This is only day 3 of a new install of manjaro kde.

I can confirm that my F1-F12 shortcuts, including my Fn shortcuts (multimedia keys) work as expected. It seems I’m having difficulties with variations of PrtScr only.

Yes, I am aware. I’m simply backing up your experience that there are issues with the shortcuts for multiple users in various ways.

FYI, I reported this bug upstream, so let’s see how it will untangle:

https://bugs.kde.org/show_bug.cgi?id=441203

1 Like

I solved the puzzle by reporting another issue here:
https://bugs.kde.org/show_bug.cgi?id=441376

It seems there were multiple issues after marking kinit as orphan, so my system and some other apps were missing this package greatly. After installing it back, I have fixed the PrtScr related issues.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.