Debian Codegraph @

cfg-data/obsoleted/AT-mode/kuickshow.cfg

raw
1 %
2 % anyremote configuration file for kuickshow management.
3 %
4 % Needs $PHOTO_DIR environment variable
5 %
6 % There were found no DCOP-oriented way to traverse the albums and photos,
7 % so XTest is used
8 %
9
10 % STATUS stable
11 % XTEST yes
12 % SOUND no
13 % ENV yes
14
15 GuiAppName=Kuickshow
16 GuiAppBinary=kuickshow
17 GuiAppRun=echo 'A=`dcop 2> /dev/null|grep kuickshow`; if [ "x$A" == "x" ]; then echo NOK; else echo OK; fi'|bash -f -s
18 GuiAppIcon=kuickshow.png
19 GuiAppType=Application
20 GuiAppProtocols=AT
21 GuiAppDesc=KuickShow is an image browser/viewer
22 GuiAppVersion=echo 'V=`kuickshow -v|grep KDE|tr -d " "|cut -f 2 -d ":"|cut -f 1 -d "."`; if [ "x$V" == "x3" ]; then echo OK; else echo NOK; fi'|bash -f -s
23
24 [Protocol]=AT
25
26 ZOOM=Macro(5)
27
28 (Init)=Include($(CfgDir)/Utils/aliases-at.cfg);\
29 Make(var,TwoWayComm,by_value,false);\
30 Make(var,Device,by_value,/dev/rfcomm0);\
31 Exec(echo 'if [ "x$PHOTO_DIR" == "x" ]; then $(CfgDir)/Utils/message.sh "ERROR: PHOTO_DIR environment variable is not set !"; fi'|bash -f -s);\
32 Exec(echo 'V=`amarok -v|grep KDE|tr -d " "|cut -f 2 -d ":"|cut -f 1 -d "."`; if [ "x$V" == "x4" ]; then $(CfgDir)/Utils/message.sh "ERROR: this configuration file is for KDE3"; fi'|bash -f -s);
33
34 % aliased keys
35 Answer=Make(disconnect);
36 Cancel=Exec(echo 'KS=`dcop|grep kuickshow`;dcop $KS MainApplication-Interface quit'|bash -f -s);
37
38 (Connect)=Macro(KUICKSHOW_RUN);
39
40 KUICKSHOW_RUN=Exec(kuickshow $PHOTO_DIR&);Emulate(sleep,5000,key,Tab,sleep,500,key,Tab)
41
42 1=Macro(KUICKSHOW_RUN);
43 2=Emulate(key,Up)
44 3=Exec(echo 'KS=`dcop|grep kuickshow`;dcop $KS kuickshow activateAction up'|bash -f -s)
45
46 4=Emulate(key,Left)
47 5=Make(mode,Fullscreen);Exec(echo 'KS=`dcop|grep kuickshow`;dcop $KS kuickshow activateAction kuick_showFullscreen'|bash -f -s)
48 6=Emulate(key,Right)
49
50 8=Emulate(key,Down)
51 9=Emulate(key,Return)
52
53 * *=Exec(echo 'F="$HOME/.anyRemote/anyrem.hlp";echo "1 - Run kuickshow 2 - Up 3 - Up Dir" > $F;echo "4 - Left 5 - Full Screen 6 - Right" >> $F;echo "7 8 - Down 9 - Into Dir" >> $F;echo "* * - Help 0 # - Quit" >> $F; kdialog -passivepopup "`cat $F`" 7' |bash -f -s)
54 #=Exec(echo 'KS=`dcop|grep kuickshow`;dcop $KS MainApplication-Interface quit'|bash -f -s)
55
56 [Mode]=Fullscreen
57
58 % empty values to override default mode
59 1=Make(none)
60 2=Make(none)
61 3=Make(none)
62
63 % Prev/Fullscreen off/Next
64 4=Emulate(key,Page_Up)
65 5=Make(mode,default);Emulate(key,Escape)
66 6=Emulate(key,Page_Down)
67
68 % Size +/ /-
69 7=Emulate(key,minus)
70 8=Make(none)
71 9=Emulate(keydown,Shift_L,key,plus,keyup,Shift_L)
72
73 * *=Exec(echo 'F="$HOME/.anyRemote/anyrem.hlp";echo "1 2 3" > $F;echo "4 - Previous 5 - Full Screen Off 6 - Next" >> $F;echo "7 - Size - 8 9 - Size +" >> $F;echo "* * - Help 0 # - Quit" >> $F; kdialog -passivepopup "`cat $F`" 7' |bash -f -s)
74
75 [ModeEnd]
76
77 [End]