-
Notifications
You must be signed in to change notification settings - Fork 94
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
Allow for notifications from any user on Linux #33
Comments
It is already like that in code https://github.com/gen2brain/beeep/blob/master/alert_darwin.go#L14, i.e. tell System Events. Did you try to use it, what happens and what is expected? |
On Linux the notifications only work for the user that the function is run as. Running beeep with sudo will not create notifications for the user on Linux. It would be nice if beeep as root would notify users of the system. |
There is support currently for As written there "All it does is looking over procfs (/proc) for all D-Bus session buses, |
Thanks @gen2brain I will look into that a little more. |
Go doesn't support Go only supports running a new process (as a child) from some binary. What actually is possible (and what I am doing in a the lxkns package), is to run the same binary |
If someone stumbles on this issue, here is workaround I found: You can rename Note: you need dbus version from this pr: godbus/dbus#247 |
It looks like it is possible for OSX: #13
It does not currently work for Linux though.
The text was updated successfully, but these errors were encountered: