Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [gentoo-dev-announce] Last rites: app-text/xpdf
Date: Sun, 29 Jan 2012 18:04:19
Message-Id: 201201291803.11339.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Re: [gentoo-dev-announce] Last rites: app-text/xpdf by Frank Steinmetzger
1 On Saturday 28 Jan 2012 19:38:26 Frank Steinmetzger wrote:
2 > On Sat, Jan 28, 2012 at 06:06:33PM +0000, Mick wrote:
3 > > > > another application (e.g. a browser) but unlike xpdf I have not found
4 > > > > a way of saving a file once opened without having to redownload it
5 > > > > with the browser.
6 > > >
7 > > > I'd look into /tmp, it'll probably be there.
8 > >
9 > > It used to be the case that FF would drop temporary downloads in /tmp,
10 > > but I can't find them in there any more. This is of particular interest
11 > > for some flash videos which after I watched them I decide to save them,
12 > > but can't find them anywhere. Ditto with Chromium, not idea where it
13 > > saves such temporary files.
14 >
15 > [getting OT regarding xpdf]
16 >
17 > Yes, that's the flash plugin. It creates a file and then immediately
18 > deletes it again. But thanks to the open architecture of a Linux system
19 > you can get it back by copying from the file handle in /proc. I have a
20 > little script for that which I'll attach to this message. It looks for all
21 > file handles that link to a (now deleted) file called /tmp/Flash* and
22 > restores the link, printing out the filename it thusly recovered. It could
23 > be a bit refined by only looking for handles of flash player PIDs, but I
24 > guess a human wouldn't perceive the difference anyway.
25 >
26 > For youtube, I recommend youtube-dl. It lets you select the video format
27 > and resolution (as offered), downloads the video and automatically renames
28 > the file.
29
30 Yes, I'm also using xVideoServiceThief for youtube.
31
32 Thanks for your script! I'll put it through its paces soon. :-)
33 --
34 Regards,
35 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature