not approvable for children

Please verify your age to see content (format: YYYY-MM-DD):
- -
change the form values!
linuxweb.net

lnxwbtag
improve websites creatively

en

secs click inside to pause/play next video

CMS Corporate Design Apache fine tuning Linux ( ) linuxweb.net webdesign ritterhude

KDE Dialogs

#kde #bash
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 ausf�hrbar machen
Source

- 1408 Chars - 120 Wörter , Views: 115287

War die Information auf dieser Seite für Sie hilfreich?

like dislike
0
0
Bewerten:           Rating:2.94

Expand/show comments

Was denkst Du? Hinterlasse hier einen Kommentar zu diesem Artikel.
Bisher : 0 Kommentare.




BOTCHECK: Enter this string : captcha here: to verify you're human.
192 Character(s) Remaining
to prevent slamming comments, post will be checked for bad content and released to public when passed.

letzte Aktualisierung 2024-04-18 16:21:46 von admin

Graphics by GIMP
nickname:
chat

Möchten Sie Cookies erlauben?

Es handelt sich dabei nur um technische Cookies. Sie haben die Wahl:


Lesen Sie mehr in unseren Datenschutzrichtlinien

configure Configure
countercountercountercountercountercountercountercounter

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

Content Management System