blob: 1f91f641219bc75bfe524f89833aae70f40252f2 (
plain)
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
|
#!/bin/sh
#
# This script uses KPresenter's DCOP interface to automate a presentation
# Every 10 seconds, it goes to the next sequence or page (just as if
# 'space' was pressed)
#
# Idea from Christopher Molnar <[email protected]>
# Implementation by David Faure <[email protected]> using Matthias Ettrich dcop shell
#
# Open the presentation in kpresenter, then launch this script
#
appname=`dcop | grep -m 1 ^kpresenter`
#echo $appname
viewname=`dcop $appname | grep ^View`
#echo $viewname
dcop $appname $viewname screenStart
sleep 5;
while true; do
sleep 10;
dcop $appname $viewname screenNext
done
|