Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-07 Thread Benedikt Meurer
Erlend Davidson wrote: >>> Attached a rough latex thumbnailer. Uses latex to generate a dvi and >>> then convert to output a png. >>> >> You should cleanup the temporary files used by your script. >> > Latex can leave quite a lot of temporary files behind after a compile. > How should I d

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-05 Thread Erlend Davidson
Benedikt Meurer wrote: > Erlend Davidson wrote: > >> Attached a rough latex thumbnailer. Uses latex to generate a dvi and >> then convert to output a png. >> > > You should cleanup the temporary files used by your script. > Latex can leave quite a lot of temporary files behind after a

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-04 Thread Benedikt Meurer
Erlend Davidson wrote: > > Benedikt Meurer wrote: >> Benedikt Meurer wrote: >> > So am I correct is saying that a gif image is actually thumbnailed by > converting it to a png? What do you use to do that, imagemagick? I am > asking because the 'convert' binary could be used for

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-04 Thread Erlend Davidson
Benedikt Meurer wrote: > Benedikt Meurer wrote: > So am I correct is saying that a gif image is actually thumbnailed by converting it to a png? What do you use to do that, imagemagick? I am asking because the 'convert' binary could be used for eps. >>> The imag

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-03 Thread Benedikt Meurer
Benedikt Meurer wrote: > Your website is located at: > > http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers/ ... and the entry on the Thunar website: http://thunar.xfce.org/plugins.html#thunar-thumbnailers Benedikt ___ Thunar-dev ma

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-03 Thread Benedikt Meurer
Erlend Davidson wrote: > Attached a rough latex thumbnailer. Uses latex to generate a dvi and > then convert to output a png. You should cleanup the temporary files used by your script. > Does anybody know how konqueror or nautilus thumbnails text? > > I've looked at text2gif. Nautilus does tha

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-02 Thread Erlend Davidson
Benedikt Meurer wrote: Erlend Davidson wrote: I'd like to see a repository of additional thumbnailers/scripts. If somebody agrees to maintain the thumbnailers, I can setup a goodies project. I bet there are a lot of interesting file formats, which don't have thumbnailers right now (i.e. I

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-02 Thread Benedikt Meurer
Erlend Davidson wrote: >> I'd like to see a repository of additional thumbnailers/scripts. If >> somebody agrees to maintain the thumbnailers, I can setup a goodies >> project. I bet there are a lot of interesting file formats, which >> don't >> have thumbnailers right now (i.e. I'd very much wel

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-02 Thread Benedikt Meurer
Erlend Davidson wrote: >>> Here's one for xmgrace .agr files (which generally contain a graph). >>> There is one problem however - .agr files have a mime-type of text/ >>> plain >>> so thunar won't know how to distinguish them from any other text >>> files. >> Install a mime type for the .agr fi

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-01 Thread Erlend Davidson
On 31 Dec 2006, at 14:11, Benedikt Meurer wrote: > Erlend Davidson wrote: >> Here's one for xmgrace .agr files (which generally contain a graph). >> There is one problem however - .agr files have a mime-type of text/ >> plain >> so thunar won't know how to distinguish them from any other text

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-01 Thread Erlend Davidson
On 31 Dec 2006, at 12:52, Benedikt Meurer wrote: > Benedikt Meurer wrote: So am I correct is saying that a gif image is actually thumbnailed by converting it to a png? What do you use to do that, imagemagick? I am asking because the 'convert' binary could be used fo

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-01 Thread Benedikt Meurer
Erlend Davidson wrote: PS: Would you want to maintain a thumbnailers project? >>> I would yes, but how much work is involved and how much time is it >>> likely to take? >> Depends on you, of course. > > Ok. I'll do it. Ok, sign up for an account, see http://goodies.xfce.org/contribute/use

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-01 Thread Erlend Davidson
On 1 Jan 2007, at 12:20, Benedikt Meurer wrote: > Erlend Davidson wrote: >>> PS: Would you want to maintain a thumbnailers project? >> >> I would yes, but how much work is involved and how much time is it >> likely to take? > > Depends on you, of course. > > Benedikt Ok. I'll do it. Erlend ___

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-01 Thread Benedikt Meurer
Erlend Davidson wrote: >> PS: Would you want to maintain a thumbnailers project? > > I would yes, but how much work is involved and how much time is it > likely to take? Depends on you, of course. Benedikt ___ Thunar-dev mailing list Thunar-dev@xfce.

Re: [Thunar-dev] Thumbnails for HTML documents

2007-01-01 Thread Erlend Davidson
On 31 Dec 2006, at 14:11, Benedikt Meurer wrote: > Erlend Davidson wrote: >> Here's one for xmgrace .agr files (which generally contain a graph). >> There is one problem however - .agr files have a mime-type of text/ >> plain >> so thunar won't know how to distinguish them from any other text

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Mathias Brodala wrote: >> The scaling is not the problem. Thunar does that very good and very >> fast. > > Good to know. Faster than calling convert/mogrify? Definitely faster than invoking an external utility. > Regards, Mathias Benedikt ___ Thunar-d

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Mathias Brodala
Hello Benedikt. Benedikt Meurer, 31.12.2006 15:37: > Mathias Brodala wrote: >>> Right now Thunar scales down >>> the 640x480 preview, which is not the optimal result for a webpage (IMHO). >> Well, then you could let the scaling be done via ImageMagick. This way you >> could >> optimize the thumbn

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Mathias Brodala wrote: >> Right now Thunar scales down >> the 640x480 preview, which is not the optimal result for a webpage (IMHO). > > Well, then you could let the scaling be done via ImageMagick. This way you > could > optimize the thumbnail a bit (sharpening, …). Everything could go into a sh

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Mathias Brodala
Hello Benedikt. Benedikt Meurer, 31.12.2006 15:15: > Mathias Brodala wrote: >>> ---< html-thumbnailer.desktop >--- >>> [Desktop Entry] >>> Version=1.0 >>> Encoding=UTF-8 >>> Type=X-Thumbnailer >>> TryExec=kwebdesktop >>> MimeType=text/html; >>> Name=HTML Thumbnailer >>> X-Thumbnailer-Exec=kwebdesk

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Mathias Brodala wrote: >> ---< html-thumbnailer.desktop >--- >> [Desktop Entry] >> Version=1.0 >> Encoding=UTF-8 >> Type=X-Thumbnailer >> TryExec=kwebdesktop >> MimeType=text/html; >> Name=HTML Thumbnailer >> X-Thumbnailer-Exec=kwebdesktop 640 480 %o %u >> -- >> >> T

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Mathias Brodala
Hello Benedikt. Benedikt Meurer, 31.12.2006 14:20: > Benedikt Meurer wrote: >>> This is what „kwebdesktop“ offers: >>> >>> $ kwebdesktop 640 480 thumbnail.png file:///home/you/your-document.html >>> >>> And there you go: you have your thumbnail. How difficult would it be to >>> integrate this? >>

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Erlend Davidson wrote: > Here's one for xmgrace .agr files (which generally contain a graph). > There is one problem however - .agr files have a mime-type of text/plain > so thunar won't know how to distinguish them from any other text files. Install a mime type for the .agr files. Benedikt PS:

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Erlend Davidson
Benedikt Meurer wrote: Benedikt Meurer wrote: So am I correct is saying that a gif image is actually thumbnailed by converting it to a png? What do you use to do that, imagemagick? I am asking because the 'convert' binary could be used for eps. The image thumbnailers use GdkPixb

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Benedikt Meurer wrote: >> This is what „kwebdesktop“ offers: >> >> $ kwebdesktop 640 480 thumbnail.png file:///home/you/your-document.html >> >> And there you go: you have your thumbnail. How difficult would it be to >> integrate this? > > Probably 4 hours to install KDE and 1 minute to add it to

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Benedikt Meurer wrote: >>> So am I correct is saying that a gif image is actually thumbnailed by >>> converting it to a png? What do you use to do that, imagemagick? I am >>> asking because the 'convert' binary could be used for eps. >> The image thumbnailers use GdkPixbuf (except for JPEGs, wh

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Benedikt Meurer wrote: > Erlend Davidson wrote: >> So am I correct is saying that a gif image is actually thumbnailed by >> converting it to a png? What do you use to do that, imagemagick? I am >> asking because the 'convert' binary could be used for eps. > > The image thumbnailers use GdkPixb

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Mathias Brodala wrote: > Hello Benedikt. Hey Matthias, > This is what „kwebdesktop“ offers: > > $ kwebdesktop 640 480 thumbnail.png file:///home/you/your-document.html > > And there you go: you have your thumbnail. How difficult would it be to > integrate this? Probably 4 hours to install KDE

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-31 Thread Benedikt Meurer
Erlend Davidson wrote: > So am I correct is saying that a gif image is actually thumbnailed by > converting it to a png? What do you use to do that, imagemagick? I am > asking because the 'convert' binary could be used for eps. The image thumbnailers use GdkPixbuf (except for JPEGs, where we u

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-30 Thread Erlend Davidson
Benedikt Meurer wrote: > Erlend Davidson wrote: > >> I'd love to contribute some thumbnailers (I use some less common file >> formats, e.g. eps and I'd love to have them thumbnailed). The trouble >> is, while I can program well in C++, I don't know where to start with >> writing for thunar. Is

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-30 Thread Mathias Brodala
Hello Benedikt. Benedikt Meurer, 30.12.2006 13:37: > Erlend Davidson wrote: >> I'd love to contribute some thumbnailers (I use some less common file >> formats, e.g. eps and I'd love to have them thumbnailed). The trouble >> is, while I can program well in C++, I don't know where to start with >>

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-30 Thread Benedikt Meurer
Erlend Davidson wrote: > I'd love to contribute some thumbnailers (I use some less common file > formats, e.g. eps and I'd love to have them thumbnailed). The trouble > is, while I can program well in C++, I don't know where to start with > writing for thunar. Is there a howto on writing plugins

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-19 Thread Erlend Davidson
Benedikt Meurer wrote: > Erlend Davidson wrote: > Thunar is able to show thumbnails of HTML documents if they were created by visiting folders with Konqueror. Could this thumbnailer be built-in? Or how can I enable or trigger it without Konqueror if it already is

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-08 Thread Benedikt Meurer
Erik Harrison wrote: > On 12/6/06, Benedikt Meurer <[EMAIL PROTECTED]> wrote: >> Erlend Davidson wrote: > Thunar is able to show thumbnails of HTML documents if they were created > by > visiting folders with Konqueror. > > Could this thumbnailer be built-in? Or how can I enable

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-06 Thread Erik Harrison
On 12/6/06, Benedikt Meurer <[EMAIL PROTECTED]> wrote: > Erlend Davidson wrote: > >>> Thunar is able to show thumbnails of HTML documents if they were created > >>> by > >>> visiting folders with Konqueror. > >>> > >>> Could this thumbnailer be built-in? Or how can I enable or trigger it > >>> wi

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-06 Thread Benedikt Meurer
Erlend Davidson wrote: >>> Thunar is able to show thumbnails of HTML documents if they were created by >>> visiting folders with Konqueror. >>> >>> Could this thumbnailer be built-in? Or how can I enable or trigger it >>> without >>> Konqueror if it already is? >>> >>> >> Benedikt can correct

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-05 Thread Erlend Davidson
Erik Harrison wrote: > On 12/5/06, Mathias Brodala <[EMAIL PROTECTED]> wrote: > >> Hello everyone. >> >> Thunar is able to show thumbnails of HTML documents if they were created by >> visiting folders with Konqueror. >> >> Could this thumbnailer be built-in? Or how can I enable or trigger it w

Re: [Thunar-dev] Thumbnails for HTML documents

2006-12-05 Thread Erik Harrison
On 12/5/06, Mathias Brodala <[EMAIL PROTECTED]> wrote: > Hello everyone. > > Thunar is able to show thumbnails of HTML documents if they were created by > visiting folders with Konqueror. > > Could this thumbnailer be built-in? Or how can I enable or trigger it without > Konqueror if it already is?

[Thunar-dev] Thumbnails for HTML documents

2006-12-05 Thread Mathias Brodala
Hello everyone. Thunar is able to show thumbnails of HTML documents if they were created by visiting folders with Konqueror. Could this thumbnailer be built-in? Or how can I enable or trigger it without Konqueror if it already is? Regards, Mathias -- debian/rules signature.asc Description: