Script for taking screenshots on minimalist Linux distributions.
- Using rofi to display screenshot taking menu
- Allows to take screenshot of whole screen or only selected region (region can be selected using mouse)
- Saving image as JPG, PNG or copying screenshot to clipboard
Before you use this application, you need to install the following dependencies - either using your package manager (like apt, pacman) or by manually compiling source codes.
- rofi (for displaying menus)
- slop (for selecting screen regions)
- ffcast (for saving screenshots of entire screen or specified region)
- xclip (for copying image to clipboard)
- libnotify (for sending desktop notifications)
- imagemagick (for converting screenshots to jpg)
- Install required dependecies.
- Clone this repo
- Copy rofi-screenshot.sh to any directory in your $PATH environmental variable
- Give rofi-screenshot.sh execution rights by running
chmod a+x rofi-screenshot.sh
- Run rofi-screenshot.sh to open screenshot taking tool (or assign the script to a keyboard shortcut to have it always at hand)
This script has been written in pure POSIX-compliant Linux shell (/bin/sh
). Script should run on any Linux distribution where all required dependencies can be installed.