GNOME and Ubuntu use following shortcuts. Prt Scrn to take a screenshot of the desktop. Alt+Prt Scrn to take a screenshot of a window. Shift+Prt Scrn to take a screenshot of an area you select. Windows also uses same Prt Scrn and Alt+Prt Scrn as above. I think it would be a great idea if Spectacle also used these shortcuts so that users who have to use multiple OS and desktop environment feel right at home when using Plasma. Reproducible: Always Expected Results: Set following shortcuts for Spectacle Prt Scrn to take a screenshot of the desktop. Alt+Prt Scrn to take a screenshot of a window. Shift+Prt Scrn to take a screenshot of an area you select. https://help.gnome.org/users/gnome-help/stable/shell-keyboard-shortcuts.html.en https://help.ubuntu.com/16.04/ubuntu-help/shell-keyboard-shortcuts.html http://windows.microsoft.com/en-in/windows/take-screen-capture-print-screen#take-screen-capture-print-screen=windows-8
This sounds like a good idea in principle, but should we shake things up again? I'm deferring the decision to Plasma - your usability guys can take a call. Changing the keybindings once a decision has been made is easy.
Yes, please, change it! Spectacle is still young enough that the benefit of being consistent with other desktops/OSes is bigger than the cost of changing compared to previous versions of Spectacle. We should put a notice in the release announcement for the next release that the shortcuts have changed, of course.
Excellent. I'll have the changes done in master for 16.08
Did these changes get committed? :D
Print Screen currently open Spectacle. Alt + Print Screen does nothing. Shift + Print Screen currently saves the full screen to a file without showing the dialog. This does not really match the GNOME shortcuts, would you like to see it differently?
Doesn't look like changes were made.
I checked the spectacle source log: https://cgit.kde.org/spectacle.git/log/. In the log messages on the first three pages I cannot see any keyboard shortcut related change. But I am not sure if the global shortcut settings are done in this repository or maybe somewhere else.
There were no changes made to Spectacle. I think these are handled by KWin, but not sure. If you are going to implement this, you probably have to interface with DBus (see dbus/org.kde.Spectacle.xml for the interface).
Shortcuts are defined in custom shortcuts using dbus specs. I do have two problems. 1. I am unable to set Alt+PrtSc as keyboard shortcuts. 2. I don't know what Arguments mean in dbus settings.
@Sudhir: you are working on this? If yes, cool. :) ...Would you create a review request for this (on reviewboard or phabricator depending on the repository) with your current development state? Prefix the review request title with WIP to make it clear it is not finished yet and post the URL back to here. Code discussion is easier there than here.
> I am unable to set Alt+PrtSc as keyboard shortcuts. That looks like https://bugs.kde.org/show_bug.cgi?id=386253 We'll need to fix that before we can do this.
I would like to add that it would be helpful if the behaviour of "Prt Scrn" could be configured in the screenshot tool itself. By default it would be "Screenshot of whole desktop". "Select area" might be a second option; Greenshot for example has this as default action.
Any news on this?
I created a task https://phabricator.kde.org/T10574 Feel free to comment there