• Re: SDDM configuration details (was: Re: Qt 6.7.2, plasma 6.2)

    From Martin Steigerwald@21:1/5 to All on Sat Oct 12 11:50:02 2024
    Martin Steigerwald - 12.10.24, 11:25:28 MESZ:
    So there are two different mechanism for theme selection. The
    alternatives system: update-alternatives --config sddm-debian-theme and Systemsettings. This is confusing.

    None of them work.

    First I made sure I upgraded all sddm-theme packages to experimental in
    order to avoid any kind of version conflict, as I do have SDDM itself from experimental as well.

    But SDDM ignores theme setting, whether via update-alternatives or Systemsettings completely. And yeah, in there is is under Colors & Design (translated from German language) not Appearance. Which is even more
    confusion. I think the previous structure was better.

    I even wrote the theme into the empty /etc/sddm.conf. No luck.

    SDDM from experimental seems to ignore theme completely?

    Best,
    --
    Martin - please no carbon copy to me

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Sat Oct 12 11:30:02 2024
    Hi!

    Geoff - 12.10.24, 10:33:27 MESZ:
    Luc Castermans wrote:
    after update and booted up i am looking to a fully black screen, with
    mouse nicely movable. that's it.

    could someone share a list of related KDE packages which should be installed?
    […]
    I had to remove the config files from /etc/sddm.conf.d/ as I had the
    same thing. sddm still complains about some theme issue but it does
    work now.

    Interesting.

    I did not have a fully black screen, however… SDDM does not seem to be interested all that much in KDE configuration of theme:

    % /etc/sddm.conf.d> cat kde_settings.conf
    [Autologin]
    Relogin=false
    Session=
    User=

    [General]
    HaltCommand=
    RebootCommand=

    [Theme]
    Current=maldives

    [Users]
    MaximumUid=60000
    MinimumUid=1000

    I am definitely not having the maldives theme at the moment.

    I prefer it cause it does not display a user icon for each user. I can
    still enter my username, thanks. :)

    This config file should have been written out by 6.1.5 sddm kcm for Systemsettings. I just removed it and rewrote it with 6.2.0. Looks the
    same.

    Needed to first find SDDM config in Systemsettings. It is under
    Appearance now. I am quite confused about the recent shuffling around of things in Systemsettings. Search function for the rescue!

    SDDM is using the Debian theme instead according to "/var/log/sddm.log":

    [20:16:15.185] (II) DAEMON: Loading theme configuration from "/usr/share/ sddm/themes/debian-theme/theme.conf"

    No error message whatsoever on any failure to load maldives theme which is indeed installed.

    Funnily enough both Debian and Maldives theme are shown with the same background image in Systemsettings. The background image from Maldives
    theme.

    Which is not the one SDDM is using for Debian theme. Okay, this is odd:

    % /usr/share/sddm/themes/debian-theme> cat metadata.desktop
    [SddmGreeterTheme]
    Name=Maldives
    Description=Maldives Theme
    Author=Abdurrahman AVCI
    Copyright=(c) 2013, Abdurrahman AVCI
    License=CC-BY-SA
    Type=sddm-theme
    Version=0.1
    Website=https://github.com/sddm/sddm
    Screenshot=maldives.jpg
    MainScript=Main.qml
    ConfigFile=theme.conf
    TranslationsDirectory=translations
    Email=[…]
    Theme-Id=maldives
    Theme-API=2.0

    Ah… that is the reason:

    lrwxrwxrwx 1 root root 35 12. Okt 11:19 debian-theme -> /etc/ alternatives/sddm-debian-theme

    I do not even had the Debian themes installed so I think it just linked to
    the Maldives theme. Yet SDDM still did not really use that theme. Maybe
    not compatible with newer SDDM version? Above link is after I installed
    all SDDM themes.

    So there are two different mechanism for theme selection. The alternatives system: update-alternatives --config sddm-debian-theme and Systemsettings. This is confusing.

    So yeah, maybe good opportunity to check whether things are sound in
    there.

    Ah, and while digging for issues I also found a black screen issue with amdgpu:

    https://github.com/sddm/sddm/issues/1988

    But that is firmware related.

    I have no issues with Plasma 6.2 on AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics.

    Best,
    --
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Sat Oct 12 18:40:01 2024
    Martin Steigerwald - 12.10.24, 11:40:30 MESZ:
    Martin Steigerwald - 12.10.24, 11:25:28 MESZ:
    So there are two different mechanism for theme selection. The
    alternatives system: update-alternatives --config sddm-debian-theme
    and
    Systemsettings. This is confusing.

    None of them work.

    Ah, it might be Qt 6 based versus Qt 5 based theme.

    sddm from experimental is Qt 6 based.

    I upgraded another device to Plasam 6.2.0. And interestingly it works
    nicely enough with sddm from unstable. And there maldives theme works just fine.

    Best,
    --
    Martin - please no carbon copy to me

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)