Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index



On 11/11/2011 06:52 AM, Christian Lohmaier wrote:
Hi Cor, *,

On Fri, Nov 11, 2011 at 9:10 AM, Cor Nouws<oolst@nouenoff.nl>  wrote:
webmaster for Kracked Press Productions wrote (11-11-11 01:25)
I noticed today, while working with a 32-bit DEB based server, that when
I go to the download page for 3.4.4, the page chooses 32-bit RPM instead
of the 32-bit DEB version. It happened with Ubuntu 11.04 and Mint 11.
This behaviour is as you may expect it from the website.
Selecting the type of Linux package is what you have to do.
Well - yes. It defaults to RPM unless it can tell from the browser's
identification string that it is ubuntu or debian. As those are the
only ones who did alter the user-agent string.

There has been some discussion on this is the past. I also once had the idea
that it was new, that I had to do that choice myself. People convinced me
that I must have been confused ;-)
Well, not confused just that the broswer's response doesn't give a hint anymore.

The detection uses:
navigator.platform for the OS and 32bit vs 64bit detection
navigator.userAgent for trying to guess the package format (if it
contains *buntu, debian, iceweasel → deb, otherwise rpm)
navigator.language / navigator.userLanguage for getting the language.

If you know a way on how to detect debian/ubuntu more reliably, don't
hesitate to share your knowledge :-)

You can check on this page what the values your browser reports are:
http://jsfiddle.net/ZZRSk/embedded/result/

If you think that any info can be used to derive "ah, this is a
deb-user", then please share the results :-)

ciao
Christian

Well
I was using Ubuntu 11.04 and 11.10 with their default versions of Firefox on a 32-bit system. It detected the 32-bit English, but not the need for a DEB install. The same for Linux Mint 11. It is based on Ubuntu and it now getting more users since it has not gone to Unity as Ubuntu did. I never failed to see the type of install I needed before. It detected Windows properly and it detected Ubuntu's 10.10 and 10.04 properly for both 32-bit and 64-bit. It just was when I went to that page with OSs that were Ubuntu 11.xx based.

I wonder if Firefox 4.x and up could be the issue? I use 3.x.x with Ubuntu 10.xx and the same for Windows. I do not like the new look for FF and I avoid it if possible. Ubuntu/Mint 11.xx used FF 4.x.x as its default.

Could you add to the list Linux Mint as a detected value for DEBs?

Also, I ran that browser detail link and it only showed that the OS was Linux, not Ubuntu, Mint, DEB or RPM based.

.

--
Unsubscribe instructions: E-mail to website+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.