uniacid Posted April 27, 2003 Share Posted April 27, 2003 anyone know of a program that takes shots of your desktop and puts them in a specified folder? Like SCWebcam but for linux? don't know if this was asked before Link to comment Share on other sites More sharing options...
john smith 1924 Veteran Posted April 27, 2003 Veteran Share Posted April 27, 2003 theres one for macs isnt there.. Link to comment Share on other sites More sharing options...
uniacid Posted April 27, 2003 Author Share Posted April 27, 2003 yea but for Linux..... Link to comment Share on other sites More sharing options...
Clone5k Posted April 27, 2003 Share Posted April 27, 2003 You could write a small shell script that would do it for you. Link to comment Share on other sites More sharing options...
uniacid Posted April 27, 2003 Author Share Posted April 27, 2003 I could but I don't know how to write linux scripts. care to guide me? Link to comment Share on other sites More sharing options...
Guest jl7c2 Posted April 27, 2003 Share Posted April 27, 2003 BE PATIENT! :p Well the command 'import -w root ~/desktop.png' would take a screenshot of the entire window and put it in your home. I don't know how to use cron, but I'm sure someone could tell you how to make it so cron executes that command every so often. Link to comment Share on other sites More sharing options...
john smith 1924 Veteran Posted April 27, 2003 Veteran Share Posted April 27, 2003 BE PATIENT! :pWell the command 'import -w root ~/desktop.png' would take a screenshot of the entire window and put it in your home. I don't know how to use cron, but I'm sure someone could tell you how to make it so cron executes that command every so often. well said; seriously man- it doesnt need 3 more posts... Link to comment Share on other sites More sharing options...
uniacid Posted April 27, 2003 Author Share Posted April 27, 2003 well its been 5 hours... Link to comment Share on other sites More sharing options...
pagal Posted April 27, 2003 Share Posted April 27, 2003 you could use something like this... save this as script.pl #!/usr/bin/perl $res = "1280:1024"; # screen resolution $file = "/tmp/ss.png"; #where you want the screenshot to be saved. exec("import -window root -geometry $res -display servername:0 $file"); __END__ and then add this to /etc/crontab to run it every 2 minutes */2 * * * * root /path/to/script/script.pl Link to comment Share on other sites More sharing options...
uniacid Posted April 27, 2003 Author Share Posted April 27, 2003 (edited) how would I run it every 30 seconds or every minute? I added it to crontab but so far I'm not seeing anything, how can I make sure its working right? Edited April 27, 2003 by uniacid Link to comment Share on other sites More sharing options...
mezz Posted April 27, 2003 Share Posted April 27, 2003 how would I run it every 30 seconds or every minute?I added it to crontab but so far I'm not seeing anything, how can I make sure its working right? Read in the man page of crontab.. Link to comment Share on other sites More sharing options...
uniacid Posted April 28, 2003 Author Share Posted April 28, 2003 (edited) I read it, doesn't show any examples, just says how to list, remove, and edit crontab I added it to my user but doesnt seem to be running Edited April 28, 2003 by uniacid Link to comment Share on other sites More sharing options...
Rusty.Metal Posted April 30, 2003 Share Posted April 30, 2003 unacid you get it to work Link to comment Share on other sites More sharing options...
uniacid Posted April 30, 2003 Author Share Posted April 30, 2003 nah, it didnt seem to run it, but it was assigned to my user, anyways I'm back on win 2k3 server, need better remote desktop :) Link to comment Share on other sites More sharing options...
HPMCommander Posted April 30, 2003 Share Posted April 30, 2003 is there a service like www.camarades.com that will upload to their server instead of your own ftp? i don't have an ftp server :) Link to comment Share on other sites More sharing options...
Rusty.Metal Posted April 30, 2003 Share Posted April 30, 2003 If some one can help me with linux desk top live thing ... please aim me or something Link to comment Share on other sites More sharing options...
Corona Posted April 30, 2003 Share Posted April 30, 2003 If some one can help me with linux desk top live thing ... please aim me or something I'm watching your desktop right now hehe :p Link to comment Share on other sites More sharing options...
Rusty.Metal Posted April 30, 2003 Share Posted April 30, 2003 You could be looking at porn Link to comment Share on other sites More sharing options...
uniacid Posted April 30, 2003 Author Share Posted April 30, 2003 is there a service like www.camarades.com that will upload to their server instead of your own ftp? i don't have an ftp server :) eh you dont have a web server? is that your site? (windcrestsystems), maybe you could do lycos or some free host that does ftp, thats all you need Link to comment Share on other sites More sharing options...
Corona Posted April 30, 2003 Share Posted April 30, 2003 Screenies getting worse half of the image green and very big pixel box eww Link to comment Share on other sites More sharing options...
Rusty.Metal Posted April 30, 2003 Share Posted April 30, 2003 they are looking ok to me.. i changed the size so they may done something Link to comment Share on other sites More sharing options...
Corona Posted April 30, 2003 Share Posted April 30, 2003 maybe slow data transfer pictures wont complete Link to comment Share on other sites More sharing options...
Rib Feast Posted April 30, 2003 Share Posted April 30, 2003 You should be looking at porn Edited the post :laugh: Link to comment Share on other sites More sharing options...
Corona Posted April 30, 2003 Share Posted April 30, 2003 lol Link to comment Share on other sites More sharing options...
Rusty.Metal Posted April 30, 2003 Share Posted April 30, 2003 lol should be faster now Link to comment Share on other sites More sharing options...
Recommended Posts