diff options
-rw-r--r-- | debian/impressive-display.default | 3 | ||||
-rwxr-xr-x | impressive-display/bin/impressive-display | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/impressive-display.default b/debian/impressive-display.default index 4f80602..4855bf8 100644 --- a/debian/impressive-display.default +++ b/debian/impressive-display.default @@ -26,6 +26,9 @@ DOWNLOAD_INTERVAL=600 PDF_FILE_MASTERS="/usr/share/doc/debian/FAQ/debian-faq.pdf.gz PDF_FILE_SLAVES="/usr/share/doc/debian/FAQ/debian-faq.pdf.gz +# Show each slide for <n> seconds +SLIDE_DURATION=20 + # launch pulseaudio daemon if not already running WITH_PULSEAUDIO="yes" diff --git a/impressive-display/bin/impressive-display b/impressive-display/bin/impressive-display index 67b0989..a9a0512 100755 --- a/impressive-display/bin/impressive-display +++ b/impressive-display/bin/impressive-display @@ -72,6 +72,9 @@ HTTP_PROXY_URL="" # interval of PDF continuous downloads DOWNLOAD_INTERVAL="600" +# show each slide for 20 seconds by default +SLIDE_DURATION="20" + if [ -r $HOME/.impressive-display-secrets ]; then . $HOME/.impressive-display-secrets fi @@ -242,7 +245,7 @@ if [ -n "$pdffile" ]; then # on GL systems add: --supersample -k if which impressive 1>/dev/null; then - impressive ${fade_options} --fake-fullscreen --wrap --poll 30 -a 5 --nologo "${pdffile}" 1>/dev/null + impressive ${fade_options} --fake-fullscreen --wrap --poll 30 -a ${SLIDE_DURATION} --nologo "${pdffile}" 1>/dev/null fi stop_pdfdownload_loop |