Questions tagged [scrot-command]

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

scrot was first released in 2000 and the latest stable release was in 2003 with no development since that time. However scrot still works perfectly well on a modern Ubuntu system.

Features include:

  • Takes a full screen snapshot in user-defined quality PNG file
  • Takes partial screen size: either selected by drawing with mouse or selecting a window
  • Outputs screenshot directly to an image manipulating application such as GIMP
  • Sets a delay and/or countdown on the screenshot
  • Gets screenshots over a network on a remote computer

More information on screenshots on Ubuntu available here:

17 questions
10
votes
1 answer

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 the -e flag because I want to have the file…
Blue Ice
  • 381
7
votes
1 answer

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 do this. The following is what I…
Inspired_Blue
  • 601
  • 2
  • 11
  • 26
7
votes
1 answer

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 program "works" but only screenshots a black…
5
votes
7 answers

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 how exactly I got to the solution, and for…
J. Doe
  • 595
  • 1
  • 9
  • 25
4
votes
2 answers

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 for a lightweight bitmap editor that will launch…
2
votes
2 answers

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 there a way to do so and if so, what should I do in…
2
votes
3 answers

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 account (without logging off) the screenshots that…
2
votes
1 answer

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.. Looking for the same for Lubuntu.. Replace…
user879
  • 393
  • 2
  • 4
  • 13
1
vote
1 answer

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 utility in my system.
user644200
  • 83
  • 1
  • 9
1
vote
1 answer

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 filename.png failed
lol
  • 11
1
vote
1 answer

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/'; done But screenshots are made also if screen is…
Nawa
  • 113
1
vote
1 answer

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! i use lubuntu 13.10 and 512 mb ram
user204653
1
vote
1 answer

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 be stored in my pictures folder? I don't want to…
ft18
  • 451
0
votes
0 answers

--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 the images of the directory. scrot --exec APP…
user644200
  • 83
  • 1
  • 9
0
votes
2 answers

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 want to use scrot with the Imgur uploader bash script…
user224674
  • 103
  • 1
  • 2
  • 12
1
2