Closed hello-smile6 closed 2 years ago
This is fairly typical of any application that uses gsettings. If the schema is not installed, the application will generally not start or not work properly.
So this sounds like more of a packaging issue or an issue with the way it has been installed.
Is there an official route to report bugs to the NixOS packagers? The elementary team doesn't package things for NixOS, it's a community effort.
Hi, I am one of the Pantheon maintainers on NixOS/nixpkgs.
https://vnc-gnome.9pfs.repl.co/vnc.html is an ubuntu machine and sorry I rarely test Pantheon stuff on non NixOS Pantheon installations these days :crying_cat_face: But I can confirm this issue on NixOS GNOME Xorg without having the package in environment.systemPackages
and just try to run it with nix run nixpkgs#pantheon.elementary-dock
and this is only a issue for pantheon.elementary-dock
but not plank
. (pantheon.elementary-dock
should launches and works fine if you are using NixOS + Pantheon and follow the manual since I am actually using it).
Looks like this is a duplicate of https://github.com/elementary/dock/issues/140, and the https://github.com/elementary/dock/tree/master is missing an meson post install script which runs glib-compile-schemas
.
#!/usr/bin/env python3
import os
import subprocess
schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'glib-2.0', 'schemas')
if not os.environ.get('DESTDIR'):
print('Compiling gsettings schemas...')
subprocess.call(['glib-compile-schemas', schemadir])
p.s.: Though I subscribe to some of the elementary repositories, it will always be nice to also file an issue to the https://github.com/NixOS/nixpkgs and notify @NixOS/pantheon
, otherwise this issue can get lost from my inbox easily :crying_cat_face:
p.p.s.: Actually I personally don't think it possible to get a working Pantheon desktop on non-NixOS system with Nix since many stuff are made possible with NixOS modules like this, please share with us if you make it possible. :rofl:
@bobby285271 Thank you for the info, that should be helpful in the future.
I'll close this issue as a duplicate of https://github.com/elementary/dock/issues/140 and add some more details to that issue about the missing post install script.
What Happened?
I am trying to run the
plank
dock application, but it fails to start without the gsettings schema.Steps to Reproduce
Expected Behavior
I expected everything to work even without additional software.
OS Version
Other Linux
Software Version
Latest release (I have run all updates)
Log Output
Hardware Info
1GB RAM, https://vnc-gnome.9pfs.repl.co