Re: Sddm cannot find breeze theme

"sicarine" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <DedKNMLe73O6UnysukYuVnpSNulm1ECe2lY9Y2EApEDuJwzceNFR2zwN0R4ORk63V00NoZTvVObYTtaUYMzQOulgwTVcJxtO0WkTeHXjQGg=@pm.me>
(Snipped previous messages for for length)

I wanted to give an update on this in case someone searches the mailing
list archives in the future. 

In the last build, I resolved issues with the sddm greeter by symlinking.

I rebuilt BLFS from scratch on a much faster computer. 
This time I went strictly by the book using /opt/kf6 and
/opt/qt6 as prefixes. I still ran into the same issue of missing breeze 
components. So I wanted to find a better solution as I understand
that in some cases symlinks generally mask a deeper configuration 
issue without fundamentally addressing the problem.

Looking at the git repository for sddm, I think I found that the 
fundamental issue is that sddm appears to use its own environment 
variables, and so either does not check /etc/profile, or doesn't 
understand BLFS's added pathappend function (or both).

However, /etc/sddm.conf does also allow you to manually set the 
greeter's environment variables, and so I was able to manually set 
$PATH, $XDG_DATA_DIRS, $XDG_CONFIG_DIRS, $QML2_IMPORT_PATH, 
and $QT_PLUGIN_PATH.

One symlink seemed to be requited, linking /opt/qt6/include/Plasma 
to /usr/include/Plasma. 

That seemed to fix most of the greeter's issues. 

I am, however, still trying to hunt down why the greeter lacks permissions
to allow me to sleep/restart/poweroff, and it's taking a while to
narrow down since most resources assume one is using systemd.

Being new at this, I still cannot rule out that I've made some dumb
error on my part twice, however one bug I found with the blfs book is 
in the sddm-0.21.0 instruction:

>In order to see the theme without leaving the session, issue:
>sddm-greeter --test-mode --theme <theme path>

I believe "sddm-greeter" should be "sddm-greeter-qt6" in a QT6-only build
like BLFS.

Cheers,
Sicarine

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.