[TAG] Recording OpenCourseWare free lectures
Jimmy O'Regan
jimregan at o2.ie
Sun Jun 20 18:03:55 MSD 2004
Ben Okopnik wrote:
>The easier way to do all that, instead of typing out those horrendous
>names (one for each file, mind you :), is very similar to my 'clipurl'
>tip, back in issue 78.
>
>---------------------------------------------------------------------
>#!/bin/bash
># Created by Ben Okopnik on Sun Jun 20 09:15:33 EDT 2004
>
>url=`xclip -o`
>mplayer -dumpstream -dumpfile ${url##*/} $url
>---------------------------------------------------------------------
>
>Now, all you have to do is right-click the link, choose "Copy Link
>Location", and run the above script. It will do the same thing as Jimmy's
>suggestion. Obviously, you need to have 'xclip' and 'mplayer' installed.
>
>
Ah. Missed that. If you don't have xclip, but are using KDE, you can use
url=`dcop klipper klipper getClipboardContents`
instead.
More information about the TAG
mailing list