4k font size dom0 vs vm

@UberFubar:

Release 4.1

All my experience is with R4.0. There is probably no difference.

I did install KDE, no other packages in Dom0> force dpi 144 in kde

So you are using KDE or XFCE?

Edited /etc/X11/Xresources Xft.dpi: 144
created dpi.sh

I am not familiar with dpi.sh or what would be in it. I do remember reading in several places that DPI settings made in daemon based installs (Gnome, KDE, XFCE etc) can conflict with the Xresources settings, although I never observed that myself.

export GDK_SCALE=2
export GDK_DPI_SCALE=0.5

If you are up for it, I would temporarily remove the above two for dom0 only. Reboot and see if and what difference it makes.

Uninstalled gnome daemon

Can you run ps aux | grep gsd in dom0? What do you see? xfsettingsd? Something that starts with gsd-?

did these in dom0 and all templates, works great for all terminals and windows.

That’s because most (but not all) templates come with gnome-settings-daemon and once you deinstall it the Xresource way works perfectly. However in dom0 you either run XFCE (with the xfsettingsd daemon) or KDE (don’t know of hand how their daemon is called). So this ‘overwrites’ whatever you did in Xresources, or as others claim even interferes with each other.

While I can’t tell you what the issue is, I have a recommendation how I would go about figuring it out:

  1. temporarily undo all modifications you made (Xresources, dpi.sh, environment variables GDK_ …) in dom0
  2. reboot and select XFCE at login screen
  3. set DPI in XFCE settings and reboot again
  4. verify if at least under XFCE everything now works as expected (it should)
  5. reboot select KDE at login screen (if KDE is what you want to use)
  6. check that KDE settings in GUI are all set to the DPI you want
  7. see how the behavior is now, if it’s not to your satisfaction…
  8. reintroduce your modifications one at a time(!), reboot and see what if any difference it made.

(all of the above for dom0 only, no need to touch your templates!)

Good luck!