I want to make it so that when I press the print screen key on my keyboard, it actually includes the cursor. I know that it is calling gnome-screenshot
, but I can't find any way to change the arguments it is using with it. If anyone knows about this, it would be greatly appreciated.
You can do this with dconf-editor but with command line as well. Here are the
gsettings
effectinggnome-screenshot
:Use this command to check current settings:
Use this command to turn on the option:
Use the same technique for the other
gnome-screenshot
settings.Note you can get a list of all settings with
gsettings list-recursively
. For the screenshot above I used the technique in this answer:And the one-liner code (works with
yad
only) is:man gnome-screenshot
tells us thatSo you'll need to set up a new keyboard shortcut that incorporates
-p
:Note that gnome-screenshot has a variety of options described in
man gnome-screenshot
toYou can make your own shortcuts for each of these activities.