You are not logged in.

#1 2025-08-31 21:20:21

0815
Member
Registered: 2021-11-05
Posts: 23

[SOLVED] Overriding /usr/share for sddm theme

I'm using sddm-astronaut-theme as my sddm theme (using the aur package), however every update overrides the metadata.desktop file that selects the sub-theme to use (I use a custom.conf in the Themes sub-folder for mine). Is there a more persistent way of setting this sort of thing? Afaik manually editing /usr/share is not recommended anyway as every package update will override any changes in tracked files.

The theme doesn't (afaict) expose any way of setting this in /etc/sddm/sddm.conf or similar, just relies on that metadata.desktop file in /usr/share.
My initial thought was that this might be what /usr/local is used for, but that seems to be for installing one's on programs, not overriding packages.

Tbh this might be the sort of thing that just isn't an intended usecase and the theme is doing weird things, in which case I might have to look for another one (or fully make my own)…

edit: here's the github page of the theme: https://github.com/Keyitdev/sddm-astronaut-theme

Last edited by 0815 (2025-09-01 19:21:35)

Offline

#2 2025-09-01 07:27:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,175

Re: [SOLVED] Overriding /usr/share for sddm theme

"NoUpgrade = file", https://man.archlinux.org/man/pacman.conf.5.en - no idea whether you can augment the theme with /etc/sddm/themes/sddm-astronaut-theme/metadata.desktop

Online

#3 2025-09-01 08:41:21

0815
Member
Registered: 2021-11-05
Posts: 23

Re: [SOLVED] Overriding /usr/share for sddm theme

Thanks! Don't know why I didn't think of that, but it does make sense to do it that way :)

I've tried /etc/sddm/themes/sddm-astronaut-theme/metadata.desktop and it doesn't seem to do anything, I might ask the dev if they have plans to implement a more elegant solution in the future, though this is more than fine for now.

Offline

#4 2025-09-01 11:46:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,175

Re: [SOLVED] Overriding /usr/share for sddm theme

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB