The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 2,591     Votes:  18 
Tags: 19.04   screenshot   gnome-screenshot   yad  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1146146
Title: How can I include the cursor in the screenshots created when PrtScr is pressed?
ID: /2019/05/25/How-can-I-include-the-cursor-in-the-screenshots-created-when-PrtScr-is-pressed_
Created: May 25, 2019    Edited:  May 31, 2019
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


You can do this with dconf-editor but with command line as well. Here are the gsettings effecting gnome-screenshot:

gnome-screenshot gsettings.png

Use this command to check current settings:

gsettings get org.gnome.gnome-screenshot include-pointer
false

Use this command to turn on the option:

gsettings set org.gnome.gnome-screenshot include-pointer true

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:

gsettings list-recursively | sed 's/  */\n/;s/  */\n/;s/\&/\&/g' | yad --list --title "gsettings" --item-seperator='\n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup
⇧ xdotool how to select desktop send F5 and return? How can I increase screen resolution?  ⇩