ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.16k stars 59 forks source link

[Bug] Swaync crashing on launch (missing settings schema) #273

Closed NovaAndrom3da closed 11 months ago

NovaAndrom3da commented 1 year ago

Describe the bug Swaync refuses to launch, throwing this error:

(swaync:246502): GLib-GIO-ERROR **: 22:05:16.927: Settings schema 'org.erikreider.swaync' is not installed
[1]    246502 trace trap (core dumped)  swaync

I installed swaync via the swaync-git AUR package. Running Arch Linux on x86_64.

ErikReider commented 1 year ago

Run pacman -Ql swaync-git | grep .xml, do you get this output: /usr/share/glib-2.0/schemas/org.erikreider.swaync.gschema.xml?

NovaAndrom3da commented 1 year ago

@ErikReider I get the file, but its in /usr/local/share rather than /usr/share 🤔

ErikReider commented 1 year ago

Check the posts in #137 and see if anything there works? Probably to do with the pacman glib hook not being installed? It should be installed by default though right? I ditched Arch for Fedora a while ago so I sadly don't remember these things

ErikReider commented 1 year ago

There should be a /usr/share/libalpm/hooks/glib-compile-schemas.hook file that's responsible for compiling the schemas provided by the glib2 package

ErikReider commented 11 months ago

Closing due to inactivity. Reopen this if it's still an issue :)