Hi there!

I’ve setup a kali-linux xfce desktop (via Windows10 wsl2 + win-kex package) and to get it looking crisp I set it up so that Windows doesn’t apply any scaling to it, but rather make XFCE do that itself. (see also: https://www.reddit.com/r/Kalilinux/comments/14iicps/winkex_windows10_highdpi_setup/ )

I’m mostly happy with how that turned out, but now those two applications look much too tiny:

  • LibreOffice
  • unison-gtk

How can I get XFCE to apply high-DPI scaling to those too?

  • sixede5290@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Now I found a solution that works for all the apps I tried so far:

    • add export GDK_DPI_SCALE=0.5 to /usr/lib/win-kex/xstartup
    • activate “Settings Manager” -> Appearance -> Fonts -> DPI -> “Custom DPI Setting” (leaving the proposed 192 next to the checkbox)
    • restart XFCE desktop session, and remove all the env QT_SCALE_FACTOR=2 prefixes I’ve previously applied to various QT-app shortcuts to prevent double scaling.