F23: sddm fails due to missing theme
After enabling the copr on F23 and installing kde4, I only had a white screen instead of the sddm greeter on my desktop PC. During the "upgrade" the breeze theme for sddm was removed (sddm-breeze is obsoleted by kde-workspace) and I manually had to set
[Theme]
# Current theme name
Current=02-fedora
in /etc/sddm.conf to be able to log in again. Strangely on my notebook the fallback to the fedora theme was automatic even without the change to /etc/sddm.conf
Seems the problem is caused by the fact that the directory /usr/share/sddm/themes/01-breeze-fedora is still present (containing one file theme.conf.user but not the actual theme) on my desktop and not present on my notebook.
Not sure if you can (or should) do something against this, but it should be documented somewhere.
Comments (8)
-
repo owner -
repo owner Not sure it is a problem on new install, but for a chance of this being an issue for existing KF5 users downgrading, I'm looking at fixing it in sddm-kcm package (or maybe in kde4-fedora metapackage ?). Both packages seems to be not the best place, so I may as well look at rebuilding sddm itself.
-
repo owner -
assigned issue to
-
assigned issue to
-
repo owner I've attempted to fix it via kde4-fedora metapackage.
It contains sed line that cleans any theme that may be set there. I believe it will then fall back to default.
Testing required, as I have not see it myself.
-
repo owner - changed status to on hold
-
reporter - changed status to open
No, this does not work. Default seems to be "first directory" and if it does not contain a real theme, it will fail.
To reproduce try
mkdir /usr/share/sddm/themes/01-breeze-fedora touch /usr/share/sddm/themes/01-breeze-fedora/theme.conf.user
You could try to add something like this:
for dir in `find /usr/share/sddm/themes/* -maxdepth 0 -type d`; do if [ ! -f ${dir}/Main.qml ]; then rm -fr $dir; fi; done
But I think I should report this against plasma-workspace in rhbz.
-
reporter Reported this as RHBZ#1316232
-
repo owner - changed status to on hold
I'll put it on hold due to it's dependency to another issue outside the repository.
I'm considering this resolved.
- Log in to comment
It works on F23 live install with copr repo enabled. Problem indeed may be for users using sddm from kf5 with breeze theme. This would best fixable in sddn-breeze package, but I'll have a look at options for dirty fix.