Summary: | Save a screenshot to clipboard without the screenshot GUI | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | CTimmerman <ctimmerman2+kde> |
Component: | General | Assignee: | Boudhayan Gupta <me> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | c.timmerman2+kde, daniel-other+kdebug, kde, nate |
Priority: | NOR | ||
Version: | 19.04.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
CTimmerman
2020-01-11 02:31:29 UTC
you can reassign a newcommand to the printscreen key in the settings. For example, spectacle -b which saves it, without displayinging the GUI cees@cees-XPS-13-9380:~$ spectacle -b org.kde.knotifications: Could not notify "newScreenshotSaved" by taskbar, notification has no associated widget ^C cees@cees-XPS-13-9380:~$ spectacle -b org.kde.knotifications: Could not notify "newScreenshotSaved" by taskbar, notification has no associated widget (In reply to Cees Timmerman from comment #2) > cees@cees-XPS-13-9380:~$ spectacle -b > org.kde.knotifications: Could not notify "newScreenshotSaved" by taskbar, > notification has no associated widget > > ^C spectacle -b & sleep 1; killall spectacle Also that saves a file but does NOT place it on the clipboard. You can use
spectacle -b -c to save it to the clipboard (in theory, however the -c isn't working for me)
> org.kde.knotifications: Could not notify "newScreenshotSaved" by taskbar,
> notification has no associated widget
This should be just a warning that the notificatoin couldn't be displayed.
You can do so by adding a short key to the printscreen in you system's setting which executes spectacle -b -c or, if you wish to have no notification: spectacle -b -c -n (but this doesn't work with old versions, see #411263) Fixed on Kubuntu 19.10 by: sudo add-apt-repository ppa:kubuntu-ppa/backports sudo apt update sudo apt upgrade System Settings, Shortcuts, Custom Shortcuts, rightclick tree, New, Global Shortcut, Command/URL, "Desktop to clipboard", Trigger, "Ctrl+Print", Action, "spectacle -bc". I couldn't manage to set Alt+Print by pressing Alt+Fn+PrtScr, but that's a different issue. *** This bug has been marked as a duplicate of bug 375382 *** |