Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Sync Firefox in devices with different resolutions

  • 5
  • 2
  • 5 views
  • Nzaghachi ikpeazụ nke cor-el

more options

I use Firefox in several machines, with Windows and Ubuntu. Everything seems to sync ok, BUT, I would like to prevent synchronization of the resolution.

My laptop has a resolution of 3200x1800. I configured Firefox to that resolution, so that letters do not appear very small.

When Firefox is synchronized on the other machines I use, which have a resolution of 1366x768, everything is very big. In order to be able to use the browser, every time I log in, I have to edit the variable layout.css.PixelsPerPx, changing its value from 2 to 1.

Is there any way of syncing everything BUT the resolution? Or another way to solve this problem? (Not syncing preferences does not help).

Thanks in advance for any hint.

I use Firefox in several machines, with Windows and Ubuntu. Everything seems to sync ok, BUT, I would like to prevent synchronization of the resolution. My laptop has a resolution of 3200x1800. I configured Firefox to that resolution, so that letters do not appear very small. When Firefox is synchronized on the other machines I use, which have a resolution of 1366x768, everything is very big. In order to be able to use the browser, every time I log in, I have to edit the variable layout.css.PixelsPerPx, changing its value from 2 to 1. Is there any way of syncing everything BUT the resolution? Or another way to solve this problem? (Not syncing preferences does not help). Thanks in advance for any hint.

All Replies (5)

more options

Don't select Preferences under "Sync My" in Options / Prefs > Sync on that device which has the PixelsPerPx changed.

Unfortunately though, that disables Sync for all prefs on that device in Firefox. If that device is on Windows, have you tried changing that setting in Windows DPI settings, instead of changing PixelsPerPx in Firefox?

more options

Normally only prefs that have a corresponding services.sync.prefs.sync. pref that is set to true will be included in the sync.

The layout.css.devPixelsPerPx isn't included if I check the services.sync.prefs.* prefs.

Are you saying that this pref gets changed on synced devices?

I assume that the device with the bg screen is recognized as a HiDPI device.

See also:

  • bug 1081142 - [HiDPI] select an appropriate scale factor on Linux
more options

Thanks for your answer.

the-edmeister said

Don't select Preferences under "Sync My" in Options / Prefs > Sync on that device which has the PixelsPerPx changed.

I have unselected Preferences in ALL devices. I wonder where is this configuration stored (layout.css.devPixelsPerPx=2) :-(

Unfortunately though, that disables Sync for all prefs on that device in Firefox.

No problem for me with that.

If that device is on Windows, have you tried changing that setting in Windows DPI settings, instead of changing PixelsPerPx in Firefox?

One of the instances is on Windows. But if I change Windows DPI settings I suppose that will affect the whole environment (all applications).

more options

Thanks for your answer.

cor-el said

Normally only prefs that have a corresponding services.sync.prefs.sync. pref that is set to true will be included in the sync. The layout.css.devPixelsPerPx isn't included if I check the services.sync.prefs.* prefs. Are you saying that this pref gets changed on synced devices?

Exactly, that's my problem. layout.css.devPixelsPerPx is being stored somewhere and it is reset to 2 every time I restart Firefox, in any machine.

I assume that the device with the bg screen is recognized as a HiDPI device. See also:
  • bug 1081142 - [HiDPI] select an appropriate scale factor on Linux

Thanks for pointing to this bug. I read several of the comments (didn't understand many of them), and got the idea of resettting layout.css.devPixelsPerPx to -1.0. I will try it, as it seems to work automatically on all contexts.

more options

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

If you do not keep changes after a restart or otherwise have problems with preferences, see: