4

First, about a week ago, i saw a series of screenshot files attributed to scrot separated by a second in my home directory, e.g. 2016-06-25-02030[1-9]. I was working on something that required me to frequently reboot at the time. I did not use the scrot bash command.

Now, over the last three days, I see three more scrot files, and I've not used scrot over the last few days. I see no keyboard shortcuts for scrot. I see no easy way to take a screenshot in raspbian, using scrot as the default application. It looks like I have no related bash aliases. What could it be?

  • have you checked your crontab entries? – Gene Jul 6 '16 at 2:06
  • nothing related in the crontab – cfye14 Jul 6 '16 at 2:29
  • Look at the header of the files. Are there some hints in them? – ott-- Jul 6 '16 at 8:01
  • What exactly do you mean by file headers and how should I access those? – cfye14 Jul 6 '16 at 23:00
  • image sizes were all for full desktop – cfye14 Jul 6 '16 at 23:06
2

Do you have a cat? Could it have accidentally walked over the keyboard and hit the Prt Sc key?

Raspbian's GUI sets up the Print Screen key to call scrot by default. Check the config file .config/openbox/lxde-pi-rc.xml to see if it has any references to the command.

1

If you haven't already changed the default password and disconnected from the Internet, start there. If the scrot captures continue check /etc/rc.local for odd entries.

0

as of scrot, open/edit .config/openbox/lxde-pi-rc.xml

replace scrot with (single line)

scrot -q 1 '%Y-%m-%d_%H-%M-%S_$wx$h_scrot.png' -e 'mv $f ~/Pictures/Screencaps/' 

(or whatever directory you like)

and you have a handy screenshot dairy preventing scrot from overwriting and cluttering up the home dir.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.