{"action":"opened","issue":{"url":"https://api.github.com/repos/mikaelbr/node-notifier/issues/63","labels_url":"https://api.github.com/repos/mikaelbr/node-notifier/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/mikaelbr/node-notifier/issues/63/comments","events_url":"https://api.github.com/repos/mikaelbr/node-notifier/issues/63/events","html_url":"https://github.com/mikaelbr/node-notifier/issues/63","id":97646046,"number":63,"title":"Process terminates dispite wait: true on ubuntu14/xfce4-notifyd","user":{"login":"flashhhh","id":4512269,"avatar_url":"https://avatars.githubusercontent.com/u/4512269?v=3","gravatar_id":"","url":"https://api.github.com/users/flashhhh","html_url":"https://github.com/flashhhh","followers_url":"https://api.github.com/users/flashhhh/followers","following_url":"https://api.github.com/users/flashhhh/following{/other_user}","gists_url":"https://api.github.com/users/flashhhh/gists{/gist_id}","starred_url":"https://api.github.com/users/flashhhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flashhhh/subscriptions","organizations_url":"https://api.github.com/users/flashhhh/orgs","repos_url":"https://api.github.com/users/flashhhh/repos","events_url":"https://api.github.com/users/flashhhh/events{/privacy}","received_events_url":"https://api.github.com/users/flashhhh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-28T08:30:27Z","updated_at":"2015-07-28T08:30:27Z","closed_at":null,"body":"Here is code I run:\r\n\r\n    import notifier from 'node-notifier';\r\n    notifier.notify({\r\n      title: 'Test',\r\n      message: 'Test mess',\r\n      wait: true\r\n    }, (err, response) => {\r\n      console.log(err);\r\n      console.log(response);\r\n    });\r\n    \r\n    notifier.on('click', (obj, options) => {\r\n       console.log(options);\r\n    });\r\n    \r\n    notifier.on('timeout', (obj, options) => {\r\n       console.log(options);\r\n    });\r\n\r\nThe problem is that the node process terminates immediately while notification is displayed on the screen, so I can't trigger `click` event.\r\n\r\nI don't know if it's a `node-notifier` problem itself but I tried out a lot of solutions (even `growl-for-linux` and it still doesn't work.)"}}