1 |
# |
# |
2 |
# Sample config file for cscreenshot |
# Sample config file for cscreenshot-0.1.2 |
3 |
|
# $Id$ |
4 |
# |
# |
5 |
|
|
6 |
[main] |
[main] |
7 |
|
|
8 |
|
# the place you want the images to go |
9 |
|
# default = ~/ |
10 |
img_dir = /home/you/pub_html/screens/ |
img_dir = /home/you/pub_html/screens/ |
11 |
|
|
12 |
# at the moment I recomend using gifs (patent issues aside) pngs are to large |
# at the moment I recomend using gifs (patent issues aside) pngs are to large |
13 |
# and montage is fucking up jpgs for some reason. |
# and montage is fucking up jpgs for some reason. |
14 |
|
# default = gif |
15 |
img_type = gif |
img_type = gif |
16 |
|
|
17 |
# the number of monitors you have if you don't use xinerama |
# the number of monitors you have if you don't use xinerama |
18 |
|
# default = 1 |
19 |
num_screens = 2 |
num_screens = 2 |
20 |
|
|
21 |
|
# width of the thumbnail, height is proportional to width |
22 |
|
# default = 200 |
23 |
thumb_size = 200 |
thumb_size = 200 |
24 |
|
|
25 |
# do you want to append the html template to a file |
# do you want to insert the html template to a file, you have to put the |
26 |
|
# string :::SCREENS::: in the file to indicate where you want the screens to |
27 |
|
# go. New screens will be right after :::SCREENS::: so they are closer to the |
28 |
|
# top (reverse date order) |
29 |
|
# options are true or false |
30 |
|
# default = false |
31 |
write_html = true |
write_html = true |
32 |
|
|
33 |
# for now web file has to be in the img directory |
# for now html file has to be in the img directory (note: it will be in the same |
34 |
web_file = index.html |
# directory as the images on the webserver as well) |
35 |
|
# default = screens.html |
36 |
|
html_file = index.html |
37 |
|
|
38 |
# do you want to upload the images and html |
# do you want to upload the images and html |
39 |
|
# options are true or false |
40 |
|
# default = false |
41 |
upload = true |
upload = true |
42 |
|
|
43 |
|
# what protocal do you want to use to upload (note: if you use scp you have to |
44 |
|
# make sure that you can scp without a password, do this by copying your ssh |
45 |
|
# idendity.pub file to ~/.ssh/authorized_keys on the web server |
46 |
|
# default = ftp |
47 |
|
proto = ftp |
48 |
|
|
49 |
# the directory everything will go on your ftp site |
# the directory everything will go on your ftp site |
50 |
|
# default = www/screens |
51 |
remote_dir = www/screens |
remote_dir = www/screens |
52 |
|
|
53 |
ftp_site = 555.555.555.555 |
# hostname of your webserver (ex: ftp.mysite.com) |
54 |
|
# default = None |
55 |
ftp_user = myusername |
remote_site = 555.555.555.555 |
56 |
|
|
57 |
ftp_pass = XXXXXXXX |
# your login name on your web server |
58 |
|
# default = None |
59 |
|
remote_user = myusername |
60 |
|
|
61 |
|
# your password on the webserver. keep in mind, like most ftp programs your |
62 |
|
# passwd is in this file, so make sure this config file is only readable by |
63 |
|
# you |
64 |
|
default = None |
65 |
|
remote_pass = XXXXXXXX |