diff --git a/bin/xsettingsd-setup b/bin/xsettingsd-setup index c70aef7..f22148e 100755 --- a/bin/xsettingsd-setup +++ b/bin/xsettingsd-setup @@ -38,4 +38,10 @@ change() { echo Xft.dpi: $dpi | xrdb -merge } +if [ x"$pid" != x ]; then + # Change a first time to a DPI that will trigger a scale factor + # change (notably, Firefox needs that). + change $(( $dpi * 2 )) + sleep 1 +fi change $dpi