https://github.com/freeslave/capscr
Capture screen or window in X using shell scripts
https://github.com/freeslave/capscr
Last synced: about 1 year ago
JSON representation
Capture screen or window in X using shell scripts
- Host: GitHub
- URL: https://github.com/freeslave/capscr
- Owner: FreeSlave
- Created: 2016-09-03T18:21:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T21:03:58.000Z (about 9 years ago)
- Last Synced: 2025-01-22T14:45:57.445Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# capscr
Capture screen or window in X using shell scripts
Dependencies:
1. **xprop** utility to find active window.
2. ImageMagick, specifically **import** utility.
3. **xclip** to copy screenshot to clipboard.
Optional dependencies:
1. notify-send
2. zenity
3. kdialog
Usage:
./capscr screen # save screen image to $HOME/capscr
./capscr window # save active window image to $HOME/capscr
./capscr screen-to-clip # copy screen image to clipboard
./capscr window-to-clip # copy active window image to clipboard
./capscr # same as screen-to-clip