搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox on linux seems to default to mobile - how to change globally

  • 4 回覆
  • 1 有這個問題
  • 130 次檢視
  • 最近回覆由 KT

more options

Hello, I have Firefox on all of my devices (Win10Pro, Fire tablet, Samsung phone, etc.). Recently got a Raspberry Pi 4 (Linux) with a 24" (1920x1080) monitor and Firefox (78.11.0esr 32 bit) seems to 'default' to Mobile. How do I change to Desktop globally? Google Search comes up in the middle third of the screen. (Search dropped "Linux" from the search I tried on subject - Google is becoming worthless.) Amazon.com comes up as text on the left side. I don't want to have to manually change from Mobile to Desktop for each site that I visit. PLEASE, don't make me use Chromium....

Thanks!

Hello, I have Firefox on all of my devices (Win10Pro, Fire tablet, Samsung phone, etc.). Recently got a Raspberry Pi 4 (Linux) with a 24" (1920x1080) monitor and Firefox (78.11.0esr 32 bit) seems to 'default' to Mobile. How do I change to Desktop globally? Google Search comes up in the middle third of the screen. (Search dropped "Linux" from the search I tried on subject - Google is becoming worthless.) Amazon.com comes up as text on the left side. I don't want to have to manually change from Mobile to Desktop for each site that I visit. PLEASE, don't make me use Chromium.... Thanks!

被選擇的解決方法

Maybe the sites are reacting to armv71. Do you want to try modifying that? For example:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste general.useragent.override and pause while the list is filtered

Firefox usually will display a bar with choices of 3 preference types and a + button. If instead you see an existing preference value, skip the next step.

(3) Select String and click the + button to create a new preference

(4) If necessary, double-click the preference to display an editing field. In the field, type or paste the following, then press Enter/Return or click the blue check mark button to save the change.

Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko.20100101 Firefox/78.0

I don't know whether that might cause sites to try different code that isn't compatible with your processor. ???

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

What is the user agent string of Firefox running your Raspberry Pi? You can find that on a fingerprinting test site or probably lots of other ways. I have a test page here if needed (it's the test in red): https://jeffersonscher.com/res/jstest.php

more options

Hi Jefferson,

Your site shows: Browser "User Agent" string: Mozilla/5.0 (X11; Linux armv71; rv:78.0) Gecko.20100101 Firefox/78.0

Sorry, can't get my Win10 talking to my RPi... have to type between screen and can't copy/paste.

Kurt

more options

選擇的解決方法

Maybe the sites are reacting to armv71. Do you want to try modifying that? For example:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste general.useragent.override and pause while the list is filtered

Firefox usually will display a bar with choices of 3 preference types and a + button. If instead you see an existing preference value, skip the next step.

(3) Select String and click the + button to create a new preference

(4) If necessary, double-click the preference to display an editing field. In the field, type or paste the following, then press Enter/Return or click the blue check mark button to save the change.

Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko.20100101 Firefox/78.0

I don't know whether that might cause sites to try different code that isn't compatible with your processor. ???

more options

Thank you. That seems to have done it.... no problems with Amazon or Google Search. Now I just have to find a search engine that doesn't parse my query to something that the opposite of what I'm looking for...

Thanks, Kurt