Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7605

Raspberry Pi OS • Re: GUI screenshot/snip on rpi5/bookworm

$
0
0
screenshot.desktop

Code:

[Desktop Entry]Type=ApplicationName=Raspberry ScreenshotExec=capture.shIcon=applets-screenshooter
capture.sh

Code:

#!/bin/shsnip=$(zenity --question --title="Raspberry Screenshot" --text="" --switch --extra-button="All" --extra-button="Select" --extra-button="Time" --icon-name="eom")case "$snip" inAll) grim ;;Select) grim -g "$(slurp)" ;;Time) sleep $(zenity --entry --title="" --text="Enter The Time");grim && zenity --info --title="" --text="\n<big><big><big><big>Got It</big></big></big></big>" ;;esac

Statistics: Posted by kerry_s — Fri Feb 21, 2025 1:33 am



Viewing all articles
Browse latest Browse all 7605

Trending Articles