I would like to take a screenshot every 20 seconds or so and save it to a folder behind the scenes. Is this possible, if so, how?
Thanks,
Tom
I would like to take a screenshot every 20 seconds or so and save it to a folder behind the scenes. Is this possible, if so, how?
Thanks,
Tom
Lucid Beta 2 powered Studio 15 (Core 2 Duo 2.0GHz, 3 GB RAM, HD 3450) & Windows XP powered Scaleo E (Celeron D 3.06GHz, 1.5GB RAM, Intel GMA 915G). Please see Ubuntu Tutorials (my YouTube channel).
You could write a shell script:
Code:#!/bin/bash while true; do scrot ~/screenshots/%M-%S.png sleep 20 done exit 0
"Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
Linux User #441960 | Wiki: DrSmall
It beeps every time. Can I stop it from doing that?
Thanks,
Tom
Lucid Beta 2 powered Studio 15 (Core 2 Duo 2.0GHz, 3 GB RAM, HD 3450) & Windows XP powered Scaleo E (Celeron D 3.06GHz, 1.5GB RAM, Intel GMA 915G). Please see Ubuntu Tutorials (my YouTube channel).
Are you spying on someone? lol... is it a system beep or speakers beeping?
"Security lies within the user of who runs the system. Think smart, live safe." - Dr Small
Linux User #441960 | Wiki: DrSmall
No, it's an experiment of mine. I like to film myself coding then put it into a timelapse.
Anyways I decided to compile from source and comment out 'XBell' in main.c. Great. 'cept I can't seem to compile it. Could someone point instructions. I've configured fine, then make, then sudo make install, are there more steps or something?
Lucid Beta 2 powered Studio 15 (Core 2 Duo 2.0GHz, 3 GB RAM, HD 3450) & Windows XP powered Scaleo E (Celeron D 3.06GHz, 1.5GB RAM, Intel GMA 915G). Please see Ubuntu Tutorials (my YouTube channel).
I ran the script, and it does not make a beep for me.
Okays, I found that temporarily disabling the pcspkr module works for me:
rmmod pcspkr
Thanks for everyone's help. It now works fine.![]()
Lucid Beta 2 powered Studio 15 (Core 2 Duo 2.0GHz, 3 GB RAM, HD 3450) & Windows XP powered Scaleo E (Celeron D 3.06GHz, 1.5GB RAM, Intel GMA 915G). Please see Ubuntu Tutorials (my YouTube channel).
To remove the system speaker module, type in the terminal:
Run the script again, and with a bit of blind faith. It should be quiet nowCode:sudo modprobe -r pcspkr
To make this change permanent, edit your blacklist file.
and add the lineCode:sudo gedit /etc/modprobe.d/blacklist
at the bottom.Code:blacklist pcspkr
Regards
Iain
Bookmarks