Mako: Difference between revisions
Prabuanand (talk | contribs) m (updated Prerequisites wikitag) |
Prabuanand (talk | contribs) m (fixed command) |
||
Line 25: | Line 25: | ||
}</nowiki>}} | }</nowiki>}} | ||
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 | 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 --user add mako gui}} | ||
The working of mako service can be tested by issuing the command {{ic|$ notify-send "Test for mako User service"}}. Install the {{pkg|libnotify}} package, if the command {{ic|notify-send}} is not available. | The working of mako service can be tested by issuing the command {{ic|$ notify-send "Test for mako User service"}}. Install the {{pkg|libnotify}} package, if the command {{ic|notify-send}} is not available. | ||
Line 45: | Line 45: | ||
== See also == | == See also == | ||
* [https://github.com/emersion/mako/wiki mako wiki] | * [https://github.com/emersion/mako/wiki mako wiki] | ||
[[Category:System Administration]] | [[Category:System Administration]] |
Revision as of 17:54, 27 July 2025
mako is a lightweight notification daemon for Wayland.
Prerequisites
- Mako requires D-Bus session bus.
Installation
Install 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/mako has to be created with the following content
Contents of ~/.config/rc/init.d/mako
Follow the steps outlined in User service in OpenRC, if not already done. Finally, add the service for mako as follows:
$ rc-update --user add mako gui
The working of mako service can be tested by issuing the command $ notify-send "Test for mako User service"
. Install the libnotify package, if the command notify-send
is not available.
Troubleshooting
org.freedesktop.DBus.Error.NoReply
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?

org.freedesktop.Notifications
did not make any difference.