https://bugs.kde.org/show_bug.cgi?id=447171

--- Comment #8 from Filip Fila <filipfila....@gmail.com> ---
I steered away from this when working on the sync function because I didn't
trust putting unreviewed code in root directories. But if no one objects from a
security point of view to copying user files to /var/lib/sddm and chowning them
as the sddm user, this is doable. I agree it's not very user-friendly to just
tell the user to globally install their theme files.

I tested copying the Plasma theme and an icon theme to sddm's directory and
upon changing the ownership, the login screen picks up on these themes.

Instead of copying whole folders of themes, I suppose a good implementation
would be to parse Plasma config files, grab the name of the theme used as a
default, locate it in the user's directory, copy it to /var/lib/sddm/ and set
permissions. I can look into implementing this, although it might take me some
time.

Ideally the syncing process would be further upgraded if updates for
user-installed themes can be picked up (registering changes in Discover in
GHNS), and then automatically synced to SDDM so the user doesn't have to
manually do it. This would require password prompts in such actions, but can be
defended by saying it wouldn't affect the majority of the users, who presumably
use default themes (I don't have any stats for this though). I don't have what
it takes to implement that, but I'd be glad to help out any way I can.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to