Hi, I want to be able to take a screenshot and copy it to clipboard and assign a shortcut to it. Can we have a function for that? Thanks, Samim
(In reply to Samim Pezeshki from comment #0) > > I want to be able to take a screenshot and copy it to clipboard and assign a > shortcut to it. Can we have a function for that? > We have that already: https://docs.kde.org/stable5/en/kdegraphics/spectacle/additional-functionality.html Copy To Clipboard This button copies the current screenshot to the clipboard. You can also use the Ctrl+C keyboard shortcut for this.
Thanks for the fast reply! I meant as a function to be able to create KDE shortcut to it. Like I have a shortcut which takes a full screenshot. In "Custom Shortcuts" in "System Settings" I have "org.kde.Spectacle" as remote application and "FullScreen" as function. Can I have a function like this to copy to clipboard?
I achieved the same with my own shortcut to this command: maim -s —format png /dev/stdout | xclip -selection clipboard -t image/png -i
(In reply to Samim Pezeshki from comment #2) > > I meant as a function to be able to create KDE shortcut to it. Like I have a > shortcut which takes a full screenshot. In "Custom Shortcuts" in "System > Settings" I have "org.kde.Spectacle" as remote application and "FullScreen" > as function. Can I have a function like this to copy to clipboard? Seems we had a misunderstanding. You want Custom Shortcuts -> org.kde.Spectacle -> FullScreen but copy to clipboard instead of save to the default folder defined in Spectacle? Seems to be not possible afaik You should reopen this and set importance + normal wishlist then
Reopening.
There's a patch for this: https://phabricator.kde.org/D9117
*** Bug 384830 has been marked as a duplicate of this bug. ***
If someone is still looking for this feature: just use the tool flameshot. It copies the last Screenshot to the clipboard by default.
*** Bug 405166 has been marked as a duplicate of this bug. ***
I'd just like to add that if this feature is implemented, I'd prefer for it to only save to clipboard, not save it to disk, because otherwise it'd feel like unnecessary clutter.
Yep, I think that's a given.
Hi, on ticket https://bugs.kde.org/show_bug.cgi?id=390415#c13 it is said this is not merged only because you try to save 70mb of memory. Please let this memory be used and the images copied to clipboard, this will bring more joy to the existence.
(In reply to Darafei Praliaskouski from comment #12) > on ticket https://bugs.kde.org/show_bug.cgi?id=390415#c13 it is said this is > not merged only because you try to save 70mb of memory. Please let this > memory be used and the images copied to clipboard, this will bring more joy > to the existence. That issue was already fixed in Bug 393708. https://phabricator.kde.org/D9117is still open for other technical reasons.
*** Bug 409690 has been marked as a duplicate of this bug. ***
*** Bug 416106 has been marked as a duplicate of this bug. ***
*** Bug 423366 has been marked as a duplicate of this bug. ***
If the desire is to have a way to create a custom shortcut for taking a screenshot and automatically copying to clipboard, this can already be done by setting up a custom shortcut that uses Spectacle's CLI. This should be more convenient to use than DBus.