Nachdem ich eine Menge Links nach Worschters Tip gesetzt habe (scheinbar war auch ein Link auf die libfx2.so für Outdoor und LCDCirc nötig, die original-Datei liegt in /lib) sieht mein Flexmenü jetzt so aus:
Code: Alles auswählen
# ShellExec Version 1.42, Greez SnowHead
FONT=/share/fonts/micron_bold.ttf
FONTSIZE=18
PAGING=1
MENU=PLUGINS
ACTION=&Reboot, killall sectionsd;killall camd2;killall controld;killall timerd;reboot, Box wird neu gestartet
ACTION=&Shutdown, wget -O - -q http://localhost/control/shutdown, Box fährt jetzt runter
ACTION=&Standby, wget -O - -q http://localhost/control/standby?on, Standby
MENU=Infos
DEPENDON=§Dbox-Sysinfo,/var/plugins/sysinfo,/var/plugins/sysinfo
ACTION=Satfind,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=satfind.cfg
DEPENDON=&PID-Status,wget -O /tmp/pids.txt http://localhost/control/zapto?getallpids && msgbox title="PID-Status" msg=/tmp/pids.txt,/var/bin/msgbox
DEPENDON=&Image-Info,wget -O /tmp/info.txt http://localhost/control/info?version && msgbox title="ImageInfo" msg=/tmp/info.txt,/var/bin/msgbox
DEPENDON=&Settings,wget -O /tmp/sett.txt http://localhost/control/info?settings && msgbox title="SettingsInfo" msg=/tmp/sett.txt,/var/bin/msgbox
DEPENDON=&Streaminfo,wget -O /tmp/stre.txt http://localhost/control/info?streaminfo && msgbox title="StreamInfo" msg=/tmp/stre.txt,/var/bin/msgbox
DEPENDON=&Uhrzeit,wget -O /tmp/time.txt http://localhost/control/gettime && msgbox title="Zeit" msg=/tmp/time.txt,/var/bin/msgbox
DEPENDON=&Datum,wget -O /tmp/date.txt http://localhost/control/getdate && msgbox title="Datum" msg=/tmp/date.txt,/var/bin/msgbox
SHELLRESON=SPTS-Modus ist aktiv,,wget -O /tmp/spts.txt http://localhost/control/system?getAViAExtPlayBack && grep 1 /tmp/spts.txt
SHELLRESON=SPTS-Modus ist nicht aktiv,,grep 0 /tmp/spts.txt
ENDMENU
MENU=Boxsteuerung
MENU=Lautstärke Steuerung
ACTION=&Mute Taste, wget -O - -q http://127.0.0.1/fb/controlpanel.dbox2?volumemute > /dev/null
ACTION=&Schnelles Mute, pzapit -mute
ACTION=&Schnelles Unmute, pzapit -unmute
ACTION=&Lautstärke 100%, wget -O - -q http://127.0.0.1/control/volume?100 > /dev/null
ACTION=&Lautstärke 75%, wget -O - -q http://127.0.0.1/control/volume?75 > /dev/null
ACTION=&Lautstärke 50%, wget -O - -q http://127.0.0.1/control/volume?50 > /dev/null
ACTION=&Lautstärke 25%, wget -O - -q http://127.0.0.1/control/volume?25 > /dev/null
ACTION=&Lautstärke 0%, wget -O - -q http://127.0.0.1/control/volume?0 > /dev/null
ENDMENU
MENU=EPG und Playback und Recordmode
ACTION=&Sectionsd reset, killall -9 sectionsd && sectionsd, EPG neu gestartet
ACTION=&Sectionsd anhalten, wget -O - -q http://127.0.0.1/control/zapto?stopsectionsd > /dev/null, EPG aus
ACTION=&Sectionsd starten, wget -O - -q http://127.0.0.1/control/zapto?startsectionsd > /dev/null, EPG an
ACTION=&Playback anhalten, wget -O - -q http://localhost/control/zapto?stopplayback > /dev/null, Bild aus
ACTION=&Playback starten, wget -O - -q http://localhost/control/zapto?startplayback > /dev/null, Bild an
ACTION=&Recordmode anhalten, wget -O - -q http://localhost/control/setmode?record=stop > /dev/null, Bild aus
ACTION=&Recordmode starten, wget -O - -q http://localhost/control/setmode?record=start > /dev/null, Bild an
ENDMENU
MENU=Format
ACTION=&16:9 Anamorph, saa --wss 7
ACTION=&16:9 Zoom, saa --wss 3
ACTION=&14:9 Zoom, saa --wss 1
ACTION=&4:3 Standardformat, saa --wss 0
ACTION=&Automatikformat, saa --wss 8
ENDMENU
MENU=Farbsystem
COMMENT= ACHTUNG !!!!
COMMENT=Beim Umstellen auf NTSC geht leider das OSD-
COMMENT=Menü verloren. Dann bitte über das LCD
COMMENT=wieder auf PAL umschalten.
ACTION=&PAL, saa --pal
ACTION=&NTSC, saa --ntsc
ENDMENU
MENU=Optischer Ausgang
ACTION=&Aktiviert den Iec, wget -O - -q http://localhost/control/system?setAViAExtIec=on > /dev/null
ACTION=&Deaktiviert den Iec, wget -O - -q http://localhost/control/system?setAViAExtIec=off > /dev/null
ENDMENU
DEPENDON=&Uhrzeit stellen, /var/plugins/tuxwet/swisstime,/var/plugins/tuxwet/swisstime,Dbox-Uhrzeit wurde neu gestellt
DEPENDON=&Uhrzeit stellen, /var/plugins/swisstime,/var/plugins/swisstime
MENU=Avia tauschen
COMMENT= ACHTUNG !!!
COMMENT=Nach dem Aktivieren eines anderen Avia-Treibers
COMMENT=muß die Box erst neu gestartet werden, damit
COMMENT=die Änderungen wirklich wirksam werden.
ACTION=&Avia600vb022 aktivieren,rm /var/tuxbox/ucodes/avia600.ux && ln -s /var/tuxbox/ucodes/avia600.022 /var/tuxbox/ucodes/avia600.ux
ACTION=&Avia600vb028 aktivieren,rm /var/tuxbox/ucodes/avia600.ux && ln -s /var/tuxbox/ucodes/avia600.028 /var/tuxbox/ucodes/avia600.ux
ACTION=&Reboot, killall sectionsd;killall camd2;killall controld;killall timerd;reboot, Box wird neu gestartet
ENDMENU
MENU=Ucode.bin tauschen
COMMENT= ACHTUNG !!!
COMMENT=Nach dem Aktivieren einer anderen Ucode.bin
COMMENT=muß die Box erst neu gestartet werden, damit
COMMENT=die Änderungen wirklich wirksam werden.
DEPENDON=&Ucode.bin 014 (build in) aktivieren,rm /var/tuxbox/ucodes/ucode.bin,/var/tuxbox/ucodes/ucode.bin, Ucode.bin gewechselt - bitte rebooten
DEPENDOFF=&Ucode.bin 107 (Betanova) aktivieren,ln -s /var/tuxbox/ucodes/ucode.107 /var/tuxbox/ucodes/ucode.bin,/var/tuxbox/ucodes/ucode.bin, Ucode.bin gewechselt - bitte rebooten
DEPENDON=&Ucode.bin 107 (Betanova) aktivieren,rm /var/tuxbox/ucodes/ucode.bin && ln -s /var/tuxbox/ucodes/ucode.107 /var/tuxbox/ucodes/ucode.bin,/var/tuxbox/ucodes/ucode.bin, Ucode.bin gewechselt - bitte rebooten
DEPENDOFF=&Ucode.bin 00f0 (Derget) aktivieren,ln -s /var/tuxbox/ucodes/ucode.00f0 /var/tuxbox/ucodes/ucode.bin,/var/tuxbox/ucodes/ucode.bin, Ucode.bin gewechselt - bitte rebooten
DEPENDON=&Ucode.bin 00f0 (Derget) aktivieren,rm /var/tuxbox/ucodes/ucode.bin && ln -s /var/tuxbox/ucodes/ucode.00f0 /var/tuxbox/ucodes/ucode.bin,/var/tuxbox/ucodes/ucode.bin, Ucode.bin gewechselt - bitte rebooten
ACTION=&Reboot, killall sectionsd;killall camd2;killall controld;killall timerd;reboot, Box wird neu gestartet
ENDMENU
DEPENDON=&Nächster Boot mit original start_neutrino,rm /var/tuxbox/start_neutrino,/var/tuxbox/start_neutrino, Originale Startdatei wird verwendet
DEPENDOFF=&Nächster Boot mit alternativer start_neutrino,ln -s /var/tuxbox/start_neutrin_ /var/tuxbox/start_neutrino && chmod 755 /var/tuxbox/start_neutrino,/var/tuxbox/start_neutrino, Originale Startdatei wird verwendet
ACTION=&Reboot, killall sectionsd;killall camd2;killall controld;killall timerd;reboot, Box wird neu gestartet
ENDMENU
DEPENDON=§Tuxwetter,/var/plugins/tuxwet/tuxwetter,/var/plugins/tuxwet/tuxwetter
MENUDON= Tuxwetter-Einstellungen,/var/plugins/tuxwet/twops
COMMENT=Startbildschirm
SHELLRESON=&*Aktivieren,/var/plugins/tuxwet/twops tuxwet sscreen,grep -q "^SplashScreen=0" /var/plugins/tuxwet/tuxwetter.mcfg
SHELLRESOFF=&*Deaktivieren,/var/plugins/tuxwet/twops tuxwet sscreen,grep -q "^SplashScreen=0" /var/plugins/tuxwet/tuxwetter.mcfg
COMMENT=Systemfarben verwenden
SHELLRESON=&*Aktivieren,/var/plugins/tuxwet/twops tuxwet scolor,grep -q "^SystemColors=0" /var/plugins/tuxwet/tuxwetter.mcfg
SHELLRESOFF=&*Deaktivieren,/var/plugins/tuxwet/twops tuxwet scolor,grep -q "^SystemColors=0" /var/plugins/tuxwet/tuxwetter.mcfg
COMMENT=Wettersymbole einblenden
SHELLRESON=&*Aktivieren,/var/plugins/tuxwet/twops tuxwet sicons,grep -q "^ShowIcons=0" /var/plugins/tuxwet/tuxwetter.mcfg
SHELLRESOFF=&*Deaktivieren,/var/plugins/tuxwet/twops tuxwet sicons,grep -q "^ShowIcons=0" /var/plugins/tuxwet/tuxwetter.mcfg
COMMENT=Internetverbindung
SHELLRESOFF=&-DSL,/var/plugins/tuxwet/twops tuxwet iconnect DSL,grep -q "^InetConnection=DSL" /var/plugins/tuxwet/tuxwetter.mcfg
SHELLRESOFF=&-ISDN,/var/plugins/tuxwet/twops tuxwet iconnect ISDN,grep -q "^InetConnection=ISDN" /var/plugins/tuxwet/tuxwetter.mcfg
SHELLRESOFF=&-ANALOG,/var/plugins/tuxwet/twops tuxwet iconnect ANALOG,grep -q "^InetConnection=ANALOG" /var/plugins/tuxwet/tuxwetter.mcfg
ENDMENU
MENU=Standard Plugins starten
ACTION=Satfind,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=satfind.cfg
ACTION=VNC,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=vnc.cfg
ACTION=Tuxnews,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=tuxnews.cfg
ACTION=Tuxcalender,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=tuxcal.cfg
ACTION=Tuxmail,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=tuxmail.cfg
ACTION=Dbox-Uhrzeit stellen,/var/plugins/tuxwet/swisstime, echo Dbox-Uhrzeit wurde neu gestellt
ACTION=Outdoor,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=outdoor.cfg
ACTION=LCD-Circ,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=lcdcirc.cfg
ACTION=TuxCommander,wget -O /dev/null http://localhost/cgi-bin/startPlugin?name=tuxcom.cfg
ENDMENU
DEPENDON=Fbshot in 10 sec, chmod 755 /tmp/fbshot ; sleep 10 && /tmp/fbshot /tmp/`date +%Y%m%d%H%M%S`.png ,/tmp/fbshot
DEPENDON=Fbshot in 10 sec, chmod 755 /mnt/custom/fbshot ; sleep 10 && /mnt/custom/fbshot /mnt/custom/`date +%Y%m%d%H%M%S`.png ,/mnt/custom/fbshot
ENDMENU
Hab jetzt nurnoch Tuxtxt, PAL, NTSC und natürlich das Flexmenü direkt auf der blauen Taste.
Das ist schon sehr nett so. Wenn das Flexmenü noch etwas schneller wäre, wäre das das Non-Plus-Ultra.
P.S. - Da ja hier das Übernehmen des Codes nicht möglich ist, häng ich es nochmal dran.
P.P.S. - ein paar kleine Änderungen am 24.2. hinzugefügt, mit der aktuellen Version 1.42 klappt das nun alles schneller. Die hinzugefügten §-Zeichen sorgen für besseres Bild/Farben Handling. Weiteres dazu unten.