I discovered just today the spectacle shortcuts, but unfortunately the one I would use the most for taking rectangular regions screenshots is not working. Shift+PrntScrn and Meta+PrntScrn are working correctly.
Hmh, works fine for me. Ideas: - Check "kcmshell keys" → KDE Daemon → "Screenshot" (we should improve the dialog, BTW…). - Make sure not to run into Bug 389694, i.e. "killall spectacle". - Is taking a region screenshot working from the main dialog?
Also, check your KF5 version (see Bug 385073).
My kglobalaccel package version is 5.42, quite recent, and Meta+Shift+[key] works for other things, like moving KWin windows around. Tried to kill spectacle, nothing changed. My shortcuts were configured like this: PrintScreen: None Start Screenshot Tool: Print Take Active Window Screenshot: Meta+Print Take Full Screen Screenshot: Shift+Print I don't see an entry for Rectangular region. I now set PrintScreen:Print, and this seems to do nothing. (There is not picture copied in the clipboard) and spectacle is not triggered. On a side note: It's very not intuitive to find these shortcuts in the category "KDE Daemon". I agree that we should improve the dialog, and think of a better name for that category. I guess that a basic user is not familiar with a concept of daemon, same for ksmserver.
> PrintScreen: None That's odd, I don't have that. Instead it shows "Take Rectangular Region Screenshot: Meta+Shift+Print" for me. Also, I discovered a second place you can configure it: "kcmshell khotkeys" – Maybe something gone wrong there (e.g. deleted by mistake), or a distro-specific problem? It works for me on Tumbleweed and Neon. Try with a new user account? > I agree that we should improve the dialog From Spectacle's point of view, there are these bugs: Bug 362061 Bug 388592 Bug 389778 For "kcmshell keys", I could imagine transforming it to look like the application-specific "configure shortcuts" dialog, i.e. a combined tree view allowing to search in every component at once, instead of two separate lists. Wanna work on it ;) ?
And don't forget Bug 388592!
Oops, ignore that comment, sorry.
With a new user the entry "Rectangular region" is present in the shortcuts and it works. I have reinstalled kglobalaccel I have removed .config/kglobalshortcutsrc, logout, login to let KDE recreate it. Meta+Shift+Key is assigned to PrintScreen (as "Custom") Tried to copy the entry from .config/kglobalshortcutsrc of the new user to mine, but apparently is recreated at login (?) .config/kglobalshortcutsrc Do you know where is the file containing the default shortcuts if any? Can the fault instead be of an old config file of spectacle?
Sorry, I'm just as clueless. What I would try in those cases is to play around in the config dialogs and look at what files were changed (e.g. "find" all files changed in the last minute). Or perhaps do a directory/file diff with KDiff3 between user accounts. For the global config files my trick is to use "rpm -qf file" to know where it is coming from. Often they have the same name as in ~/. Your best bet might be asking an expert on IRC. Another idea: Press the "Defaults" button everywhere (but it might be broken there…). Anyway, we can continue debugging here, but I'll change the status as it is somehow resolved. Perhaps open new bugs regarding concrete improvements.
This works for me too, FWIW.
For reference. I've deleted ~/.config/kglobalshortcutsrc ~/.config/khotkeysrc and in KCM Global shortcuts set everything to default. And this somehow solved the problem. Careful that all the custom shortcuts are gone with this method.