-
Notifications
You must be signed in to change notification settings - Fork 157
/
defaults.cfg
130 lines (122 loc) · 3.35 KB
/
defaults.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[Gui]
# Gui module to use (PyQt5)
module = PyQt5
# Start Photobooth in fullscreen mode (True/False)
fullscreen = False
# Width of Photobooth (if not fullscreen)
width = 1024
# Height of Photobooth (if not fullscreen)
height = 600
# Hide cursor
hide_cursor = False
# Use specified style
style = default
[Camera]
# Camera module to use (python-gphoto2, gphoto2-cffi, gphoto2-commandline,
# opencv, picamera, dummy)
module = python-gphoto2
# Specify rotation of camera in degree (possible values: 0, 90, 180, 270)
rotation = 0
[Gpio]
# Enable use of GPIO (True/False)
enable = False
# BOARD pin 18 (BCM pin 24) lets you return to start screen
exit_pin = 24
# BOARD pin 16 (BCM pin 23) triggers capturing pictures
trigger_pin = 23
# BOARD pin 7 (BCM pin 4) switches the lamp on and off
lamp_pin = 4
# BOARD pin (BCM pin 17) switches the blue channel
chan_b_pin = 17
# BOARD pin (BCM pin 27) switches the red channel
chan_r_pin = 27
# BOARD pin (BCM pin 22) switches the green channel
chan_g_pin = 22
[Printer]
# Enable printing (True/False)
enable = True
# Print to PDF (True/False) for debugging purposes
pdf = False
# Ask for confirmation before printing
confirmation = True
# Printer module to use (PyQt5, PyCUPS)
module = PyQt5
# Paper width in mm
width = 148
# Paper height in mm
height = 100
[Photobooth]
# Show preview while posing time (True/False)
show_preview = True
# Greeter time in seconds (shown before countdown)
greeter_time = 3
# Countdown length in seconds (shown before every shot)
countdown_time = 8
# Display time of assembled picture (shown after last shot)
display_time = 5
# Timeout for postprocessing (shown after review)
postprocess_time = 60
# Overwrite displayed error message (Leave empty for none)
overwrite_error_message =
[Picture]
# Number of pictures in horizontal direction
num_x = 2
# Number of pictures in vertical direction
num_y = 2
# Size of output picture in horizontal direction
size_x = 3496
# Size of output picture in vertical direction
size_y = 2362
# Minimum distance between thumbnails in horizontal direction
inner_dist_x = 20
# Minimum distance between thumbnails in vertical direction
inner_dist_y = 20
# Minimum distance of thumbnails to border in horizontal direction
outer_dist_x = 40
# Minimum distance of thumbnails to border in vertical direction
outer_dist_y = 40
# Leave out the specified pictures, e.g. for a logo (comma-separated list)
skip =
# Specify background image (filename, optional)
background =
[Storage]
# Basedir of output pictures
basedir = %Y-%m-%d
# Basename of output pictures
basename = photobooth
# Keep single pictures (True/False)
keep_pictures = False
[Mailer]
# Enable/disable mailer
enable = False
# Sender address
sender = [email protected]
# Recipient address
recipient = [email protected]
# Mail subject
subject = A new picture from the photobooth
# Mail message
message = Sent by the photobooth (https://github.com/reuterbal/photobooth)
# SMTP server name
server = localhost
# SMTP server port
port = 25
# SMTP server requires authentication
use_auth = True
# SMTP username
user =
# SMTP password
password =
# SSL connection
use_tls = False
[UploadWebdav]
# Enable/disable webdav upload
enable = False
# URL at webdav server where files should be uploaded
url = https://example.com/remote.php/webdav/Photobooth/
# Webdav server requires authentication
use_auth = True
# Webdav username
user =
# Webdav password
password =