{"action":"created","issue":{"url":"https://api.github.com/repos/dunst-project/dunst/issues/559","repository_url":"https://api.github.com/repos/dunst-project/dunst","labels_url":"https://api.github.com/repos/dunst-project/dunst/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/dunst-project/dunst/issues/559/comments","events_url":"https://api.github.com/repos/dunst-project/dunst/issues/559/events","html_url":"https://github.com/dunst-project/dunst/issues/559","id":377436746,"node_id":"MDU6SXNzdWUzNzc0MzY3NDY=","number":559,"title":"2 instances running","user":{"login":"DamienCassou","id":217543,"node_id":"MDQ6VXNlcjIxNzU0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/217543?v=4","gravatar_id":"","url":"https://api.github.com/users/DamienCassou","html_url":"https://github.com/DamienCassou","followers_url":"https://api.github.com/users/DamienCassou/followers","following_url":"https://api.github.com/users/DamienCassou/following{/other_user}","gists_url":"https://api.github.com/users/DamienCassou/gists{/gist_id}","starred_url":"https://api.github.com/users/DamienCassou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamienCassou/subscriptions","organizations_url":"https://api.github.com/users/DamienCassou/orgs","repos_url":"https://api.github.com/users/DamienCassou/repos","events_url":"https://api.github.com/users/DamienCassou/events{/privacy}","received_events_url":"https://api.github.com/users/DamienCassou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-05T14:58:19Z","updated_at":"2018-11-05T19:11:22Z","closed_at":null,"author_association":"NONE","body":"I'm using tools that send notifications in 2 different a ways:\r\n\r\n- a tool uses dbus (session bus, `/org/freedesktop/Notifications`, `Notify()`): this starts an instance of `/usr/bin/dunst` that is a child process of the root process: `/usr/lib/systemd/systemd --switched-root --system --deserialize 33`\r\n- another tool uses libnotify (`notify_notification_show()`): this starts another instance of `/usr/bin/dunst` but this time as a child process of `/usr/lib/systemd/systemd --user`.\r\n\r\nI thought that dunst made sure not to run 2 instances in parallel.\r\n\r\n### Installation info\r\n\r\n- Version: Dunst - A customizable and lightweight notification-daemon 1.3.2\r\n- Install type: Fedora package\r\n- Distro and version: 29\r\n"},"comment":{"url":"https://api.github.com/repos/dunst-project/dunst/issues/comments/435998132","html_url":"https://github.com/dunst-project/dunst/issues/559#issuecomment-435998132","issue_url":"https://api.github.com/repos/dunst-project/dunst/issues/559","id":435998132,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTk5ODEzMg==","user":{"login":"DamienCassou","id":217543,"node_id":"MDQ6VXNlcjIxNzU0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/217543?v=4","gravatar_id":"","url":"https://api.github.com/users/DamienCassou","html_url":"https://github.com/DamienCassou","followers_url":"https://api.github.com/users/DamienCassou/followers","following_url":"https://api.github.com/users/DamienCassou/following{/other_user}","gists_url":"https://api.github.com/users/DamienCassou/gists{/gist_id}","starred_url":"https://api.github.com/users/DamienCassou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamienCassou/subscriptions","organizations_url":"https://api.github.com/users/DamienCassou/orgs","repos_url":"https://api.github.com/users/DamienCassou/repos","events_url":"https://api.github.com/users/DamienCassou/events{/privacy}","received_events_url":"https://api.github.com/users/DamienCassou/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T19:11:22Z","updated_at":"2018-11-05T19:11:22Z","author_association":"NONE","body":"the first tool runs within this environment:\r\n\r\n```\r\nDISPLAY :0\r\nDBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-BzGKVd6QMZ,guid=0129e8b1941791f208c1279e5be056f0\r\n```\r\n\r\nThe second tool itself runs within a Systemd service unit which has this environment:\r\n\r\n```\r\nDISPLAY: :0\r\nDBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus\r\n```\r\n\r\n"}}
{"actor":{"display_login":"DamienCassou"}}