Tag Info

Hot answers tagged

3

Here is a solution using yad, bash only (no php), with one dialog: #!/bin/bash eval $(yad --width=400 --form --field=input:FL --field=start --field=end --field=output:SFL "" "00:00:00" "00:00:00" "" | awk -F'|' '{printf "INPUT=\"%s\"\nSTART=%s\nEND=%s\nOUTPUT=\"%s\"\n", $1, $2, $3, $4}') [[ -z $INPUT || -z $START || -z $END || -z $OUTPUT ]] && ...


2

You can Use Zenity as follows:- For File-selection: file=$(zenity --file-selection --file-filter='*.mp4 *.mp3 *.avi') or file=$(zenity --file-selection --title="Select Input File" --file-filter='*.mp4' --file-filter='*.mp3' --file-filter=*.avi) For Text-Entry: startchop=$(zenity --entry --text=startchop) stopchop=$(zenity --entry --text=stopchop) ...


1

I've used mocp (MOC). With it you can even add a play list.


1

If you have PHP installed, make it a script: TimeDiff.php contents: <?php // Create datetime objcects $dt1 = new DateTime($argv[1]); $dt2 = new DateTime($argv[2]); // Conver difference to seconds $dt3 = $dt2->format('U') - $dt1->format('U'); // echo $dt3."\n"; $h = (int)($dt3 / 3600); $dt3 %= 3600; $m = (int)($dt3 / 60); $dt3 %= 60; $s = $dt3; ...


1

Assuming the snd_hda driver was being loaded (it was), the lack of working sound indicates either a driver conflict or a bad default configuration. To bottom this out I added the following line to /boot/loader.conf to turn on verbose messages in dmesg: boot_verbose="YES" Doing this makes dmesg output much more useful, with all kinds of additional ...



Only top voted, non community-wiki answers of a minimum length are eligible