Hi, i have this little problem with chrome in ubuntu 9.10 i saw the mobile version, i will need to see the normal version (desktop theme?) of site.

i try adding this rules:

USERAGENT =~ Windows NT PPC Mac OS X Intel Mac OS X Ubuntu ? group=no (weight=1)

but nothing change.

Any idea about the way i need to add the rule?

Comments

jscm’s picture

Hi,
I have the same problem.

When I open my test site with Google Chrome I see the mobile theme.

I use Ubuntu 10.04.

Is there a FIX?

Thank you for your support.

Best regards.

jscm
Milan (Italy)

nik78’s picture

Hi, I also got the same problem and no solution with Chromium / Gentoo Linux.
UA: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.376.0 Safari/533.4

The strange thing is that with Chrome / Windows XP the correct, normal theme gets selected,
UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1059 Safari/532.5

As you can see there is not much difference, I tried also comparing my Firefox UA's:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100408 Gentoo Firefox/3.6.3
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
- both are showing as expected the normal theme.

I added the Rule: "USERAGENT =~ Chrome ? group=no (weight=1)" - now it is working, but I'm not 100% sure that this is the right way to fix this? Perhaps "Linux" would be better? But I don't know if any mobile browser uses "Linux" in its useragent...

atrasatti’s picture

Assigned: Unassigned » atrasatti

What are you configuration settings? What type of detection are you using? Lite? WURFL? Other?

I assume you want your browser to be ALWAYS detected as a desktop computer rather than a mobile, but if you enable the widget to switch presentation you should be able to just click the link and get the desktop presentation.

nik78’s picture

Using Mobile Plugin 6.x-2.0, Lite (integrated) detection, the problem happens when only the default rules are loaded:

USERAGENT =~ Windows NT PPC Mac OS X Intel Mac OS X ? group=no (weight=1)
USERAGENT =~ Series60/5.0 Maemo iPhone iPod webOS ? group=mobile,1 (weight=2)
USERAGENT =~ Series60 webKit Android ? group=mobile,0 (weight=3)
is_wireless_device == true ? group=mobile (weight=10)

I think there are some possibilities to correct this with changing one of the default rules, a few of them:

  • add "Chrome" to the first rule
  • add "Linux" to the first rule (but I don't know if/which mobile phones have "Linux" in its useragent string)
  • remove "webKit" from the third rule, but I think thats no good idea

Thanks, I know the block too, surely additional in use.

Edit: perhaps even better to add "X11" to the first rule? I'm still not sure, only an idea, for now I use the "add Chrome" solution.

scottsawyer’s picture

@nik78
I was experiencing the same issue, only with Chromium on Ubuntu NBR. To solve this (and for all Ubuntu) I added the detection rule ~Ubuntu ? group=no
Seems to be working. Needs to be tested with other distros, probably needs to be modified.

If anyone is having problems with their distro, please post your detection rules and user agent.