1 |
|
cscreenshot |
2 |
|
|
3 |
Cscreenshot is a simple python program for taking a screenshot of all the |
Cscreenshot is a simple python program for taking a screenshot of all the |
4 |
screens of the current X display. If you use 2 or 3 monitors without xinerama |
screens of the current X display. If you use 2 or 3 monitors without xinerama |
5 |
specify num_screens = 2 in ~/.cscreenshot.cfg and it will import a screenshot |
specify num_screens = 2 in ~/.cscreenshot.cfg and it will import a screenshot |
6 |
of both and generate a thumbnail. If you want it can write some html based on |
of both and generate a thumbnail. |
7 |
a template (hard coded, but you can change it in code) to a file, and upload |
|
8 |
the file via ftp or scp. |
If you want it can write some html based on a template to a file, it will put |
9 |
|
the new html immidiately below (by default) a line containing the string : |
10 |
|
|
11 |
|
:::SCREENS::: |
12 |
|
|
13 |
|
The template hard coded, but you can change it in code if you really want. |
14 |
|
the default template is: |
15 |
|
<br class="divider"/> |
16 |
|
<div class="entry"> |
17 |
|
<a href="screens/FILENAME"> |
18 |
|
<img class="thumb" src="screens/THUMBNAME" alt="FILENAME"/> |
19 |
|
</a> |
20 |
|
<div class="heading">DATE</div> |
21 |
|
<br/> |
22 |
|
<br/> |
23 |
|
<br/> |
24 |
|
</div> |
25 |
|
FILENAME is the name of the image file |
26 |
|
THUMBNAME is the name of the thumbnail |
27 |
|
DATE is the date in YYYY-MM-DD form |
28 |
|
|
29 |
|
You can set cscreenshot to upload your images and the html file to website via |
30 |
|
ftp or scp, if you want to use scp you have to be able to scp without a |
31 |
|
password (copy identity.pub from your home machine to ~/.ssh/authorized_keys |
32 |
|
on the webserver). If you have the write_html option turned off then the html |
33 |
|
won't be uploaded. |
34 |
|
|
35 |
Thanks to Eliran Gonen <eg@rulix.rulix> for making the manpage and rpm |
Thanks to Eliran Gonen <eg@rulix.rulix> for making the manpage and rpm |
36 |
|
|
37 |
|
If you have any questions comments or bugs, send me an email at |
38 |
|
bskahan@etria.com please attach your config file. |