Mako: Difference between revisions
Prabuanand (talk | contribs) (added references) |
Prabuanand (talk | contribs) (added Troubleshooting section) |
||
Line 25: | Line 25: | ||
Follow the steps outlined in [[OpenRC#User services|User service in OpenRC]], if not already done. Finally, add the service for mako as follows: {{Cmd|$ rc-update add --user org.freedesktop.Notifications gui}} | Follow the steps outlined in [[OpenRC#User services|User service in OpenRC]], if not already done. Finally, add the service for mako as follows: {{Cmd|$ rc-update add --user org.freedesktop.Notifications gui}} | ||
== Troubleshooting == | |||
=== org.freedesktop.DBus.Error.NoReply === | |||
Error message: {{ic|GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying}} | |||
To resolve the above error, if you are using <code>dbus-run-session</code> wrapper to launch sway, set D-Bus variables by adding the following line to sway [[Sway#Sway config file|config]] file: | |||
exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway | |||
=== Failed to acquire service name === | |||
<Pre>daemon.err mako: Failed to acquire service name: File exists | |||
daemon.err mako: Is a notification daemon already running?</Pre> | |||
Ensure that mako service executable file is named as {{ic|org.freedesktop.Notifications}}. | |||
== See also == | == See also == |
Revision as of 05:48, 29 May 2025
Mako is a lightweight notification daemon for Wayland that works with Sway.
Prerequisites
- Mako requires D-Bus service to be running.
Installation
Installation the mako package as per command: {{# apk add mako}}
Configuration
To configure mako as User service in OpenRC, an executable file ~.config/rc/init.d/org.freedesktop.Notifications has to be created with the following content
Contents of ~.config/rc/init.d/org.freedesktop.Notifications
Follow the steps outlined in User service in OpenRC, if not already done. Finally, add the service for mako as follows:
$ rc-update add --user org.freedesktop.Notifications gui
Troubleshooting
org.freedesktop.DBus.Error.NoReply
Error message: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
To resolve the above error, if you are using dbus-run-session
wrapper to launch sway, set D-Bus variables by adding the following line to sway config file:
exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
Failed to acquire service name
daemon.err mako: Failed to acquire service name: File exists daemon.err mako: Is a notification daemon already running?
Ensure that mako service executable file is named as org.freedesktop.Notifications
.