How to reduce DPI of external monitor using xrandr
Have
I have the DPI on my laptop set in .Xresources
with Xft.dpi: 192
. I
am outputting to the external monitor with:
xrandr --output HDMI-2 --auto --rotate left --right-of eDP-1
Want
I want to decrease the DPI of the external monitor. Because the screen is bigger, everything gets blown up.
Tried
I tried using the --dpi
option but it affects no change:
xrandr --output HDMI-2 --auto --rotate left --dpi 92 --right-of eDP-1
1 answer
If changing the DPI using the --dpi
option doesn't appear to work, you can try adjusting the display size instead. You can do this using either the --mode
or --scale
options in xrandr.
Here is an example of how to use the --mode
option to set a custom display resolution for the external monitor:
xrandr --output HDMI-2 --mode 1920x1080 --rotate left --right-of eDP-1
In this example, we are setting the external monitor to a resolution of 1920x1080. You can substitute these values with any custom resolution that you want.
Alternatively, you can try using the --scale
option to adjust the display size. This option allows you to specify a scaling factor for the display. For example, if the external monitor is too large, you can scale down the display by setting the scaling factor to a value less than 1. Here is an example:
xrandr --output HDMI-2 --auto --scale 0.75x0.75 --rotate left --right-of eDP-1
In this example, we are scaling down the display on the external monitor by a factor of 0.75.
Try adjusting the resolution or scale factor to find a setting that works for you.
3 comment threads