Re: Sddm cannot find breeze theme

"sicarine" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <Znk9DkGMCBLBcHJC0kedFQZktVMcensMpEaNvbBrq6VKJhBbcrVkN-QmM5JC7H5gjB_dVT20L9skeVKXT2OWYozb6FNBmoyO57uhDyzGsHo=@pm.me>
Hi Dave

On my second run through BLFS, I did not encounter an issue with the plasma desktop itself,
just with the greeter. The cat commands for /etc/profile.d/kf6.sh and /etc/profile.d/qt6.sh (implemented
exactly as written in the book) were sufficient to run the desktop environment in wayland mode. I
checked that the QML and plugin directories were exactly where those profile files were pointing.

I have not managed to get the greeter itself to run in wayland mode. I have attempted the 
suggested config changes suggested by the Archwiki, but have not had success yet. So instead, 
I'm just running the greeter in X11 mode and calling it a future problem to figure out when 
I have time. The KDE folks are forking the sddm greeter to make plasma-login-manager,
which may eliminate this strange behaviour completely, but it is not ready yet.

Anyways, to get the greeter to run the breeze theme in x11, I added the following line to 
sddm.conf (under [General]):

GreeterEnvironment=QML2_IMPORT_PATH=/opt/kf6/lib/qml:/opt/qt6/qml,QT_PLUGIN_PATH=/opt/kf6/lib/plugins:
/opt/kf6/lib/plugins/kcms:/usr/lib/plugins:/opt/qt6/plugins,XDG_DATA_DIRS=/usr/local/share:/usr/share:
/opt/kf6/share,XDG_CONFIG_DIRS=/home/cyrus/.config/kdedefaults:/etc/xdg:/opt/kf6/etc/xdg,PATH=
/usr/local/bin:/usr/bin:/opt/kf6/bin:/opt/qt6/bin

I may have also needed a symlink, but I can no longer remember where I put it; it's been a few weeks.
I will probably regret not taking a more careful note of it when I go on to try building GLFS soon.

But basically I used the environment paths from a logged in user to set those for sddm-greeter. There
are a few that I doubt are needed, but work has been busy and I haven't had time to take 
another look yet. Obviously, your results may vary, depending on your normal env. 

Overall, it seemed clear that the stock greeter process was using something hardcoded for its 
environment variables, and so setting them via config seemed the cleanest option. The behaviour 
also seemed consistent with recent issues logged in the sddm github repo to do with locale settings.

-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.