Questions tagged [scrot-command]

scrot is a command-line utility for taking screenshots on Unix-like systems such as Ubuntu.

Filter by
Sorted by
Tagged with
5 votes
1 answer
3k views

Scrot not working with Ubuntu 22.04

Okay as far as my searches go, I haven't found this question posed online... Has anyone else ran into issues with the screenshot program scrot not working correctly with Ubuntu 22.04? Currently, the ...
10 votes
1 answer
15k views

Change scrot output directory

When using scrot, I'd like to have the files appear in ~/Pictures/Screenshots/ instead of in my home directory. scrot -e 'mv $f ~/Pictures/Screenshots/' works OK, but I would love not to have to use ...
2 votes
2 answers
2k views

Using scrot to take screenshots continuously

I'm new to using scrot. I know how to take screenshots by typing the code scrot Image.jpg. I want to take continuous screenshots without the use of typing the code everytime on the Terminal. Is ...
0 votes
1 answer
544 views

Confusing behavior when running script from cron

I have a simple script. Here's the code: #/bin/bash saveLoc="/root/test"; dt=$(date '+%d-%m-%Y-%H:%M:%S'); scrot_name_fmt="${dt}.jpeg"; streamer_name_fmt="${dt}.jpeg"; #...
4 votes
2 answers
2k views

Looking for a bitmap editor for screenshots

I've started using scrot for screenshots; this works beautifully, but occasionally I need to edit screenshots to blur personal information add text add arrows add a box around something I'm looking ...
1 vote
1 answer
189 views

Can I configure Prnt-screen key order to be stored in my pictures folder?

I am currently using Lubuntu 18.04. When I press Impr-Pant in my keyboard the png archive generated is stored directly in my home folder. My question is: Can I configure Print-screen key order to ...
5 votes
7 answers
6k views

Take screenshots in background silently for archive purposes

During my work, I often try out tools of different complexity and develop usage and integration scenarios. I use Ubuntu 18.04 LTS. Sometimes if things get really complicated, I am not always sure ...
0 votes
1 answer
1k views

system does not beep while taking screenshots in scrot

I am trying to learn scrot utility and there is an option -z or --silent to prevent beeping. But my system is not beeping at all and so I am unable to test this -z option. I have installed the beep ...
0 votes
0 answers
225 views

--exec APP command not working in scrot

I am trying to run --exec command in Scrot to open an image in an APP from command line. But it is not opening the desired image, instead it is listing the contents of the directory or displaying all ...
7 votes
1 answer
12k views

How to use `scrot` to take screenshots of a particular window by name?

If I would like to select a window for scrot this could be easily done with: scrot -s name.jpg But if I want to ask scrot to keep taking screenshots from a selected window, then I don't know how to ...
0 votes
2 answers
2k views

Scrot and Imgur uploader bash script

I have once known how to do this, but totally forgot about it. So I use scrot, i.e 'scrot '%d/%m-scrot.jpg'. I know I can pass an -e argument to execute a program, but that's where I got stuck. I ...
0 votes
1 answer
349 views

Cron job not working

I have a script at ~/.sst/cmd.sh. It takes screenshot and saves after creating a date heirarchy of folders. Here's Content: #!/bin/sh mkdir -p --mode=0755 /home/username/.sst/rslt/$(date +%Y)/$(date +...
1 vote
1 answer
2k views

giblib error on LXterminal

I used this command: scrot -e 'mv $f ~/Pictures/Screenshots/ I have also created those folders in my directory but i cannot still take a screenshot. I keep getting: giblib error:Saving to file ...
2 votes
3 answers
1k views

Taking a screenshot of current user's session

(Forgive me if my terminology is not quite accurate here) I have a cron job set up that uses scrot to take screenshots of my desktop at various intervals. However, when I switch user to another ...
2 votes
1 answer
2k views

Lubuntu/Xlde > is there a way to change scrot printscreen default saving option to shutter?

Previously i was using ubuntu and had to switch due to pc performance issue.. Is there a way to Previously i got gnome-print-screen option replaced by shutter edit option from below thread for ubuntu....
1 vote
1 answer
307 views

Create periodically screenshots using scrot excluding time when screen is locked

I do one screenshot per minute using next bash script while true; do scrot -d 60 -q 1 '%Y-%m-%d-%H:%M:%S.png' -e 'mkdir -p ~/screen-snapshots/%Y-%m-%d & mv $f ~/screen-snapshots/%Y-%m-%d/'; ...
1 vote
1 answer
7k views

How to take screenshots with a timestamp and date stamp (with scrot command)

How to take screenshots with a timestamp and date stamp (with scrot command)? I forget the dates and i dont have time to go to properties and see the date. also, dates aren't written on the panel even!...