linuxweb.net

linuxweb.net
improve websites creatively

merchandize
web design is our passionary profession
login
register for free!
shopping cart
en
Choose your language/Sprache auswählen:
English:en|Deutsch:de

CMS Corporate Design/Logo Server Apache fine tuning Linux ( ) linuxweb.net

KDE

KDE Shellscripting (kdedialog)
 choose="$( kdialog --combobox "Select  :"  "File" "Webcam" "DVD " )" #| Option" 
 if [ "$choose" = 'File' ]; then 
 filename="$(kdialog --getopenfilename /home/shorty/Movies/ "*.mkv *.avi *.mpg *.mp4 |Movie Files")" 
 #:label1 
 if [[ $? -ne 0 ]]; then
 kdialog --caption "Abgebrochen" --sorry "Abgebrochen durch Benutzer"
 exit 3
  else
 options="$(kdialog --title "Input dialog" --inputbox "Any additional options?" " -channels 4 -ao alsa:device=hw=1.0")" 
 # do whatever you want with filename
 mplayer2 $filename $options --fs -loop 0 #af extrastereo=0 
 fi
 #else
 #kdialog --caption "Abgebrochen" --sorry "Abgebrochen durch Benutzer"
 fi
 if [ "$choose" = 'Webcam' ]; then 
 mplayer tv:// -tv device=/dev/video0
 fi
 if [ "$choose" = 'DVD' ]; then 
 mplayer2 dvd://n
 fi
 if [[ $choose -ne 0 ]]; then
 kdialog --caption "Abgebrochen" --sorry "Abgebrochen durch Benutzer"
 exit 3
 fi;
speichern als shellscript (*.sh) und ausfhrbar machen
Source

- 1463 Chars , Views: 22171 Bewerten:           Rating:3
letzte Aktualisierung 2017-06-28 02:32:39 von admin

tuxlayer

gpl-licensed KDE.org gpl-licensed

configure Configure
countercountercountercountercountercountercounter
2 online

To Top
neu in 2017
Besucher (set cookie)
Content Management System News Xwax Linux livestreams Bilder Statistics live streams Welcome Shorties Linux CMS OpenSource linuxweb.net improve websites

Content Management System