• Re: SDDM configuration details

    From Geoff@21:1/5 to Martin Steigerwald on Sat Oct 12 12:10:01 2024
    Martin Steigerwald wrote:
    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,

    I only just upgraded from plasma 5. One other thing I noticed, everything looked a bit odd, too big, then I noticed scaling was set to 125%, changed it back to 100% and it feels a lot more comfortable now :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geoff@21:1/5 to Martin Steigerwald on Sun Oct 13 01:30:01 2024
    Martin Steigerwald wrote:
    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,

    Yeah good point, upgraded sddm to exp also and it has themes again, thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geoff@21:1/5 to Sedat Dilek on Sun Oct 13 03:20:01 2024
    Sedat Dilek wrote:
    On Sun, Oct 13, 2024 at 1:21 AM Geoff <unit735@bigpond.com> wrote:

    Martin Steigerwald wrote:
    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,

    Yeah good point, upgraded sddm to exp also and it has themes again, thanks. >>

    It is the other way around: sddm/experimental is QT-5 NOT QT-6 based.

    Simulating an installation of sddm/experimental REMOVES here
    KDE/Plasma v6.2.0 and 100s of other packages.

    -Sedat-



    Experimental sddm is qt6, try installing with aptitude rather than apt.

    $ apt-cache policy sddm
    sddm:
    Installed: 0.21.0-3
    Candidate: 0.21.0-3
    Version table:
    *** 0.21.0-3 600
    600 http://deb.debian.org/debian experimental/main amd64 Packages
    100 /var/lib/dpkg/status

    aptitude show sddm | grep Depends
    Depends: adduser, qml6-module-qtqml, qml6-module-qtqml-base, qml6-module-qtqml-models, qml6-module-qtqml-workerscript, qml6-module-qtquick, x11-common, xauth, xkb-data, xserver-xorg | xserver, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>=
    3.0), libpam0g (>= 0.99.7.1), libqt6core6t64 (>= 6.6.0), libqt6dbus6 (>= 6.4.0), libqt6gui6 (>= 6.1.2), libqt6network6 (>= 6.1.2), libqt6qml6 (>= 6.6.0), libqt6quick6 (>= 6.6.0), libstdc++6 (>= 13.1), libsystemd0, libxau6 (>= 1:1.0.9), libxcb-xkb1,
    libxcb1

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