[texworks] "Download TeXworks" box, please test

Stefan Löffler st.loeffler at gmail.com
Mon Dec 19 07:49:10 CET 2011


first of all, thanks to all who have tested this so far.

On 2011-12-18 21:37, Atri wrote:
> Actually, I now see that Firefox since version 4.0 does not allow the
> reporting of vendor or distribution specific information in the
> userAgent string. This is discussed in
> https://bugzilla.mozilla.org/show_bug.cgi?id=591573
> So I am not sure how only based on the useragent string, one would be
> able to distinguish between ubuntu or openSUSE for example, or even
> detect if the Linux distribution being used is one of the two. The
> userAgent string in both cases (Ubuntu and openSUSE) would only report
> "Linux x86_64" (or i686).

Well, FWIW, on my Ubuntu box, it reports
Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
so this gets detected OK. If openSUSE (or others) adopt a different
approach, we won't be able to detect it this way, unfortunately. But I
don't really want to dive into Java or similar (which would require
plugins in most cases). So if there is another JavaScript based method
to determine the Linux distro, I'm very eager to learn about it.

Otherwise, there's still the "Check Getting TeXworks..." stuff, which
will lead to the traditional section of the webpage (once the box is
installed there). And there's still the possibility to "Get TeXworks
Sources" - I'm not sure how easy this is to compile on openSUSE, but on
most Linux distros it should be relatively simple (if they provide the
necessary libraries).


More information about the texworks mailing list