Dies ist eine alte Version des Dokuments!
Ideen und Skripte…
Sleeptimer, Alert_clock, lxAutostart sind nur einige Skripte, die ich mit Hilfe der PCLinuxOS-Gemeinschaft erstellt habe.
Spiele gerade mal wieder mit ein paar code schnippsel…
#! /bin/bash
#
export MAIN_DIALOG='<window window_position="1" title="PCLOS FLV-Player And Converter">
<vbox>
<frame PCLOS FLV-Player And Converter>
<text>
<label>'$"Play or convert your flv-videos to mp3!"'</label>
</text>
<hbox>
<button>
<input file icon="video"></input>
<label>Play</label>
<action>VAR=`zenity --file-selection --title="PCLOS FLV-Player and Converter" --file-filter=*.flv` ; if [ $? = 0 ]; then killall xscreensaver & mplayer "$VAR" ; fi &</action>
</button>
<button>
<input file icon="exec"></input>
<label>Convert</label>
<action>SELECT=`zenity --file-selection --title="PCLOS FLV-Player and Converter"` ; if [ "$SELECT" = "" ]; then exit ; fi ; SAVE=`zenity --file-selection --save --filename="$SELECT.mp3" --file-filter="*.mp3" --title="PCLOS FLV-Player and Converter"` ; (echo && ffmpeg -i "$SELECT" -acodec libmp3lame -ac 2 -ab 128 -vn -y "$SAVE") | zenity --progress --pulsate --auto-close --width=300 --title="PCLOS FLV-Player and Converter" --window-icon=$ICON --text=$"Convert \n$SELECT \nto \n$SAVE \n please wait...\nDo not disturb!" ; zenity --info --no-wrap --title="PCLOS FLV-Player and Converter" --text=$"Finish with converting!" &</action>
</button>
</hbox>
</frame>
</vbox>
</window>
'
gtkdialog --program=MAIN_DIALOG