Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notify-osd cannot send message #55817

Open
memberbetty opened this issue Feb 15, 2019 · 6 comments
Open

notify-osd cannot send message #55817

memberbetty opened this issue Feb 15, 2019 · 6 comments
Labels
0.kind: question Requests for a specific question to be answered 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: freedesktop

Comments

@memberbetty
Copy link
Contributor

Issue description

GLib-GIO-Message: 11:25:13.647: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

** (notify-osd:16786): WARNING **: 11:25:13.648: Another instance has already registered org.freedesktop.Notifications

** (notify-osd:16786): WARNING **: 11:25:13.648: Could not register instance

Steps to reproduce

Desktop environment plasma5.

notify-osd a # not a typo

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.98, NixOS, 18.09.git.168cbb3 (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.1.3
  • channels(root): "nixos-18.09.1571.7795a7ad5f0"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@hedning
Copy link
Contributor

hedning commented Feb 15, 2019

Try notify-send from libnotify, I'm fairly certain notify-osd is a daemon which handles showing notifications (if I understood the question at least).

@jtojnar
Copy link
Member

jtojnar commented Feb 16, 2019

Yup. And I would guess that Plasma already has its own notification server that occupies the org.freedesktop.Notifications interface. You will need to find a way to disable Plasma’s notification server if you want to use notify-osd in its stead.

@jtojnar jtojnar added 0.kind: question Requests for a specific question to be answered 6.topic: freedesktop labels Feb 16, 2019
@jtojnar
Copy link
Member

jtojnar commented Feb 16, 2019

The first message is from no GSettings module being available, see #43150 for more information.

@memberbetty
Copy link
Contributor Author

Is it possible that we get output like "Copy paste the following to configuration.nix on line X, column Y" in order to have a more helpful error message?

(This would apply to many packages and probably requires a lot of patching, so I know it's not "free").

@jtojnar
Copy link
Member

jtojnar commented Feb 19, 2019

Patching this should be enough and the issue can be fixed by adding programs.dconf.enable = true; to configuration.nix.

Fixing it will unlock this or this which requires much more involved fix – either adding wrapGAppsHook to dependencies of the application, or patching the schema path into the library causing the issue (necessary for plug-ins). We should probably first finish #43150 and link there from the messages once it is done.

@stale
Copy link

stale bot commented Jun 3, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: question Requests for a specific question to be answered 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: freedesktop
Projects
None yet
Development

No branches or pull requests

3 participants