DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,864 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Scrot remastered: A new tool for Debian/Raspbian users
Sachit71
Sachit71

Posted on

Scrot remastered: A new tool for Debian/Raspbian users

Hello there, this is my first blog post on the DEV forum so please bear with me!

This article is to talk about how a particular package I made, it's called Scrot remastered.

We all know about the popular scrot tool, used by Linux and distro users for screenshots. But when I first used it on my Debian based Raspberry Pi, I didn't find it all that "flexible". The terminal had to be opened and everytime I had to type in the command to take the screenshot.

Quite hectic imo. So I decided, screw this imma make my own tool and maybe others can use it as well, so here is scrot remastered.

https://pypi.org/project/scrotrem/
https://github.com/Sachit71/scrotrem

It's quite simple to use.

Since it's written in python, we begin with the classic pip install scrotrem command.

Once this is done, we move on to the python command which opens a Python shell in the terminal.

Finally import scrotrem

After this you can minimize the terminal, head to your webpage or screen that you want to screenshot and press 'tab;, press 'tab' for the number of times you want the screenshot to be taken, maybe at multiple locations too!

After you're done messing around to close it press the 'delete' key.

As simple as it gets, no root user required, now that's what I'd call "flexible". If you liked this package please do star it on GitHub and contributions are always open!

Top comments (1)

Collapse
 
thomasbnt profile image
Thomas Bnt

Hello nice post ! For a better content, you can adjust that with Liquid tags. πŸ’ͺπŸΌβ˜•
For example of GitHub links, use {% github Sachit71/scrotrem %} and he make that :

GitHub logo Sachit71 / scrotrem

A screenshotter service for Raspberry Pi better than the original scrot.

Scrot remastered

Scrot rem is an easy to use Python package for Raspberry Pi users to take screenshots, instead of using scrot which is not very conveninet.

What makes it better than scrot You don't need sudo to install, neither do you need root permissions. A simple pip install gets your work done!

Installation

Use the package manager pip to install scrotrem.

pip install scrotrem
Enter fullscreen mode Exit fullscreen mode

Usage

python3
Enter fullscreen mode Exit fullscreen mode

In the Python shell now open in the terminal, import scrotrem.

import scrotrem
Enter fullscreen mode Exit fullscreen mode

#Minimize the terminal, go to the webpageterminalscreen you want to screenshot and press 'TAB' key. #To exit press delete key.

An Image with the name Screenshot.png will be saved in your current directory.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT




🌱 We built an open source tool called Forem.

It powers everything you see on DEV, and you can contribute to the codebase or host your own.