How to ensure xfce can detect/adapt to different DPIs?
I am running slackware64-current on a samsung smart pc pro. It has a very high-resolution but not-too-large native display. I usually use it at work connected to a much bigger monitor. I have been using it either big-monitor-only (while at work) or small-native-display-only (when elsewhere).
The thing is, the dots-per-inch (DPI) of the native display works out at a very high 191. Out-of-the-box xfce, for this machine anyway, does not seem to be aware of the DPI, but going into Settings -> Appearance -> Fonts one can enter a Custom DPI setting, and everything is fine.
However if I connect the external monitor, the fonts are now way too big, so I have to go back and change the Custom DPI setting back to something less to get things sensible. I can disable the custom DPI setting and fonts on the external monitor are a reasonable size. But if I switch back to the native display I need to switch on the custom DPI again. It appears that the system has difficulty detecting the DPI of the native display.
I thought maybe that xrandr could fix it.
When I boot the machine with the external display connected, once xfce starts up the native display is dark, only the external monitor is showing the desktop. Running an xrandr query returns:
Now, I executed various xrandr commands, as you see below, and then ran another query.
The commands only differ in that
Does anyone know what is going on here? I guess a workaround would be to use xrandr --scale <<something>> (this enlarges windows/fonts but not things like the mouse pointer) but it would be better if the system could just tell in some other way what the DPI of the native display was. It may not be possible with this version of xfce to have two monitors with (very) different DPIs, it could be a ``global desktop setting''? If so that's ok, I am happy to just use one at a time -- only without having to manually change the DPI each time! I don't know if this is actually slackware-specific -- it might not be, but I would nonetheless like to see if any other slackers have some idea what to do.
I guess there might be machine-specific info you need, I'm sorry I don't know what that would be; just let me know and I'll post it.
|All times are GMT -5. The time now is 02:01 PM.|