Grant <[email protected]> wrote: > >> > and indeed XFCE doesn't seem to have very good support for this. > >> > Maybe you can find some of the settings listed there useful > >> > though. > >> > > >> > Other than that, if you want working DPI scaling, you'll have > >> > much better luck with KDE 5 / Plasma. > >> > >> > >> Won't I freak out if I'm an xfce4 guy and I try to switch to KDE? > >> Is there a better choice for HiDPI migration for people who like > >> xfce4? > > > > I'm using XFCE with a 140 DPI display and it's working fine. > > > How high is your res? This laptop has a native res of 3200x1800 so > that's what I *should* be using with DPI set a lot higher than 140 I > believe, but when it gets that high things get weird. However I'm not > sure how much of that can be alleviated by the DE.
You said your screen has a size of 13". When my 4k 32" screen has a DPI resolution of 140dpi than your 4k screen has a resolution of approximately 345dpi. I don't see a reason why auch a high DPI value shouldn't work fine also. My monitor has a resolution of 3840x2160 and an approximate screen diagonal of 32". Xorg says that the image size is 698 x 393 mm (don't have a tapeline handy but IIRC that's correct). That's 27.48 x 15.47 inch. 3840 / 27.48 = 139.74 2160 / 15.47 = 139.63 So 140 DPI seems to be a correct value for my monitor. And indeed font's have nearly the same size on screen as before with my old monitor (1920x1080, 27" 83DPI), but of course they are much sharper now. I'm using "Source Code Pro 10" as default font. For the XFCE panel I use "Droid Sans 8" (you can configure this in ~/.gtkrc-2.0). Antialiasing is on and Hinting is set to "Full". You should check what pixel color order your display has. Most displays use RGB, but some use an other order (my display uses BGR). If this value is not set correctly and you use antialiasing (strongly recommended) then fonts are looking fuzzy (colored edges). As I already wrote, the DPI setting doesn't change the size of XFCE window decorations, at least on my machine. I'm fine with the standard window decoration size (I use the "numix" theme for that). But if my display would have such a high DPI value as yours I probably would use "Default-hdpi" or maybe even "Default-xhdpi" as theme for the window decorations. The size for icons used in menus, buttons, toolbars etc. can be adjusted as well by modifying the theme gtkrc file. Maybe it could be that you can only use sizes that are available as bitmaps for the icon set you use. But I don't know, never checked this. Maybe you can also use arbitrary sizes because for many icon sets there exists a directory containing scalable icons in SVG format. I would check out if it is possible to tweak your XFCE settings in a way that everything looks good without the need to decrease the Xorg resolution. -- Regards wabe

