Change DPI in Linux using command line
Using a DE is pretty straightforward but you might be out of luck if you use something like dwm.
Find correct DPI of your display currently used by X server
xdpyinfo | grep -B2 resolution
This is probably the correct value. If not, you can calculate...
hashnode.adityakumar.xyz1 min read