Spectacle/Tutorials/Invoking Spectacle with custom shortcuts: Difference between revisions

From KDE UserBase Wiki
No edit summary
(rewrite most of the content)
Line 1: Line 1:
The default way to capture your screen to a file is to press the PrintScreen key. The program ksnapshot will pop up. It allows you to capture
<languages />
<translate>
The default way to capture your screen to a file is to press the PrintScreen key. The program [[Special:myLanguage/Spectacle|Spectacle]] will pop up. It allows you to capture
 
* the complete screen
* the complete screen
* single windows
* single windows
* a rectangular region on the screen
* a rectangular region on the screen


However many people want their screenshots to be stored without any further interaction. This can be useful during documentation work when you want to do a lot of screenshots without interrupting work. One solution is to set up Shift_PrintScreen to trigger a screenshot. To do this
However, some people want their screenshots to be stored without any further interaction. This can be useful during documentation work when you want to do a lot of screenshots without interrupting work. One solution is to set up Shift+PrintScreen to trigger a screenshot. To do this
* install the import command, e.g. for SUSE Linux:
 
yast -i ImageMagick
* start System Settings, navigate to <menuchoice>Shortcuts</menuchoice> -> <menuchoice>Custom Shortcuts</menuchoice> -> <menuchoice>Take Full Screen Screenshot</menuchoice>
* start systemsettings, navigate to Shortcuts and Gestures -> Custom Shortcuts -> Edit -> New -> Global Shortcut -> Command/URL
 
* enter a name for your action, for example Screenshot_batch
* click on <menuchoice>Trigger</menuchoice> -> <menuchoice>Shortcut</menuchoice> and press Shif+Printscreen. Shift+Print should then appears in the button:
* click on Trigger -> Shortcut and press Shift_Printscreen. Shift+Print appears in the button:
 
[[Image:Spectacle-systemsettings-printscreen.png|center|500px|
Setting up Shift+PrintScreen as global shortcut]]
 
* click on <menuchoice>Apply</menuchoice>
 
Now whenever you press Shift+PrintScreen your screen will be saved to your Pictures folder with a timestamp in its name, e.g.
Screenshot_20190107_224731.png.


[[Image:Snapshot-systemsettings-printscreen.png|360px|<translate><!--T:1-->
== More Information ==
Setting up Shift_PrintScreen as global shortcut</translate>]]


* click on "Action" and enter the command
* [[Special:myLanguage/System_Settings/Custom_Shortcuts|System Settings/Custom Shortcuts]]
import -window root "snapshot-$(date --rfc-3339=seconds).jpg"
* [[Special:myLanguage/Spectacle|Spectacle]]
* click on "Apply"


Now whenever you press Shift_PrintScreen your screen will be saved to your home folder with a timestamp in its name, e.g.
</translate>
snapshot-2014-08-05 10:06:09+02:00.jpg

Revision as of 21:57, 7 January 2019

Other languages:

The default way to capture your screen to a file is to press the PrintScreen key. The program Spectacle will pop up. It allows you to capture

  • the complete screen
  • single windows
  • a rectangular region on the screen

However, some people want their screenshots to be stored without any further interaction. This can be useful during documentation work when you want to do a lot of screenshots without interrupting work. One solution is to set up Shift+PrintScreen to trigger a screenshot. To do this

  • start System Settings, navigate to Shortcuts -> Custom Shortcuts -> Take Full Screen Screenshot
  • click on Trigger -> Shortcut and press Shif+Printscreen. Shift+Print should then appears in the button:
Setting up Shift+PrintScreen as global shortcut
Setting up Shift+PrintScreen as global shortcut
  • click on Apply

Now whenever you press Shift+PrintScreen your screen will be saved to your Pictures folder with a timestamp in its name, e.g. Screenshot_20190107_224731.png.

More Information