Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: SDDM DPI Issues

  1. #11
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,772

    Default Re: SDDM DPI Issues

    Quote Originally Posted by kyoki View Post
    Is there a command line tool or something, which can display KDE system settings? Would be nice to query that.
    Code:
    kcmshell5 xserver
    shows only xdpyinfo output, same as shown by the Xserver section in KInfoCenter.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  2. #12

    Default Re: SDDM DPI Issues

    The misbehaving apps are all gnome/gtk. That is why I pointed out, you could try to set Xft.dpi in your ~/.Xresources . There is, however, a problem if you have multiple monitors of very different dpi.

  3. #13

    Default Re: SDDM DPI Issues

    Quote Originally Posted by markdd View Post
    The misbehaving apps are all gnome/gtk. That is why I pointed out, you could try to set Xft.dpi in your ~/.Xresources . There is, however, a problem if you have multiple monitors of very different dpi.
    Hm, I think the "misbehaving" apps are actually the KDE ones - meaning some configuration is stored somewhere, overriding the defaults. If xdpyinfo reports a DPI of 96x96, KDE fonts should not be scaled to a DPI of 200+, if I don't have the "force DPI for fonts" checkbox enabled in the KDE configuration center.

  4. #14
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,989
    Blog Entries
    14

    Default Re: SDDM DPI Issues

    Add this ( change 122 to whatever DPI you desire ) in /etc/sddm.conf
    Code:
    [X11]
    ServerArguments=-dpi 122
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #15

    Default Re: SDDM DPI Issues

    Quote Originally Posted by Knurpht View Post
    Add this ( change 122 to whatever DPI you desire ) in /etc/sddm.conf
    Code:
    [X11]
    ServerArguments=-dpi 122
    Yes, that's my current setup (using a DPI value of 192). This works but gives me the issue that when I plug in, say, a video projector, everything on that second screen is scaled to that DPI value as well. My ideal solution would be to disable any DPI scaling (i.e. everything is set to the default value) and then simply use a different resolution on my laptop than the preferred one. E.g. on my laptop the default resolution is 3840x2160, so I would just chose 1920x1080 for a nice display of everything. But I seem to be overlooking a certain setting which messes up my windows when I set all options I know of to the default value.

    Thanks to the answers so far though, I appreciate the help.

  6. #16

    Default Re: SDDM DPI Issues

    This thread has become kind of stale but I just wanted to give an update. Apparently the issue is not a certain setting that I made, but seems to be a problem with QT and my hardware (Dell XPS 9370 with 4K display) - I did the crazy thing to wipe everything and install a fresh Tumbleweed snapshot with KDE and the same problem (QT apps and KDE windows are scaled way too large) is still persistent. That leads me to believe that the calculation of DPI settings (probably the font in my case) is incorrect in this situation. As mentioned above, this can be fixed by forcing a DPI value in sddm.conf.

    Interestingly, this problem does not occur, when I start a Wayland session with Plasma. Here, everything is scaled nicely and even Virtualbox plays along very well. I did not test using a projector so far and there are some minor issues (e.g. the search bar in the add mini programs menu does not work, but I think these are well known problems already), but this is not a show stopper for me so far. I will therefore stick with Wayland for the moment. Would love to have virtual workspaces and activities in Plasma Wayland, though ;-)

    Thanks for all the help, I think this issue is now settled. If for some reason Wayland does not work for me, I'll switch back to X and fix the DPI value in sddm.conf, that is a good fallback solution.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •