matanui159 / ReplaySorcery

An open-source, instant-replay solution for Linux
GNU General Public License v3.0
854 stars 27 forks source link

"X Error of failed request: BadAccess" is because of a conflicting keybind in plasma error handling #172

Open Hsky17 opened 1 year ago

Hsky17 commented 1 year ago

Is your feature request related to a problem? Please describe. I downloaded this package today from the AUR, and I noticed that the dkm service would work while the normal one would fail each time without logging. I ran the replay-sorcery command directly from the terminal and I got this error: X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 33 (X_GrabKey) Serial number of failed request: 10 Current serial number in output stream: 13

This is actually because there is a shortcut in plasma that is already this key bind as in the picture described and needs to be disabled to work: Screenshot_20230820_224915

I made this just as a heads-up to anyone having the same issue but it would be nice to have error handling, just to let the user know that there might be a conflicting key bind like they did in this thread: https://stackoverflow.com/questions/36764217/ubuntu-hotkeys-with-x11-xlib-x-error-badaccess

That's it, other than that it seems that I have some configuration to do but it works out of the box once I disabled the key bind