[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Override default SDDM for Stretch release



¡Hola Aurélien!

I'm Ccing Alf Gaida and Matthias Klumpp as both are interested in sddm and I would like to know their points of view about this.

El 2016-11-18 a las 00:08 +0100, Aurélien COUDERC escribió:
I’m working on implementing the Soft Waves theme selected for Stretch. The wallpaper setting for new user is done and I also have an SDDM theme ready, shipped in desktop-base 9.0.0~exp1. This SDDM theme is simply a copy of Breeze’s Main.qml overriding the wallpaper, and it uses the Breeze SDDM themes components as is (see attached screenshot).

Nice.

The problem is I couldn’t find a proper way to make this theme the default for SDDM.

Right, currently the way to set the sddm theme is creating an /etc/sddm.conf file with at least:
[Theme]
Current: theme_name

This file can also be created from plasma's systemsettings (using the sddm kcm
module).

Currently there is no support for configuration directories (let's say /etc/sddm/conf.d/), this is planned for sddm 0.15, though.

The compiled in default (for our packages) is breeze, while upstream uses maui by default. It's possible that this isn't the best default (as sddm is also used by the lxqt desktop, and breeze exercises the video driver more that the whole lxqt session).

In the 0.14 version upstream embeds the resources of the default theme (previously named maui, but now called the empty string), that way the default theme is used as a fallback if something goes wrong with the configured one. But, this also introduced the inconvenient that a /etc/sddm.conf with:
[Theme]
Current: maui
Would start in error mode (it will use the fallback theme and show the error message in the lower part of the screen).

To force the use of the maui theme you'll need to set:
[Theme]
Current:

But, if we ship sddm 0.14, we could probably embed the soft_waves theme as the embedded one, keep the maui one as an additional package. We would also avoid setting breeze as the default theme in the compiled in configuration.

To do this, we would need to change the soft_waves theme to be based on the maui one.

What do you think?

Up to Jessie installing we installed a conf file there :
/etc/default/kdm.d/10_desktop-base (see contents below) that KDM read to override its default, and I can’t seem to find a way to do the same for SDDM.

The /etc/default/kdm.d/ was processed by our sysv init script, in a kind of hacky way that regenerated the configuration file every time. I would prefer not having to maintain such a thing for sddm.

Would you mind helping with that so we can continue shipping a consistent Debian with Stretch also for Plasma 5 ?

Happy hacking,
--
"The cheapest, fastest and most reliable components of a computer system are
those that aren't there."
-- Gordon Bell
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: