Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已存档

layout.css.devPixelsPerPx setting

Rene 已回复
jessebnd

I have to manually change the layout.css.devPixelsPerPx setting evertime I switch from my laptop to an external monitor. What can I do to avoid this every single time?

I have to manually change the layout.css.devPixelsPerPx setting evertime I switch from my laptop to an external monitor. What can I do to avoid this every single time?

所有回复 (2)

Current version or firefox is Version 128.10.0esr

I had the same problem. After varying my windows display settings around, I found out that I had to fix it in the Windows display settings. What I did was:

     be sure that my laptop display settings are correct before connecting the monitor,
     connect the monitor and  Detect  it if necessary, 
     select  Duplicate These Displays  in the  Multiple displays   drop down list,
     identify the laptop display as number 1 and the external monitor as number 2, 
     select  show only on 2  from the list,
     check that the external monitor is shown as a shaded and number 2,
     set the the resolution and scale on  number 2 as wanted,
     leave the  Multiple displays  set to  Show only on 2.
   

Each time the monitor is connected or disconnected the display should automatically swap screens. To change settings on one of the screens that display must be the Show only on selection.

My laptop is almost always connected to the monitor, so I don't have change any thing when I use it. If I disconnect from the monitor my laptop picks up the display without any input from me. When I reconnect the monitor it picks up the display.

由Rene于修改