Mako: Difference between revisions
m (Added link to Sway's upstream wiki re dbus and updated variables accordingly, specifying XDG_CURRENT_DESKTOP=sway) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
== Prerequisites == | == Prerequisites == | ||
* Mako requires [[D-Bus]] | * Mako requires [[D-Bus#D-Bus_session|D-Bus session bus]]. | ||
== Installation == | == Installation == | ||
Install the {{pkg|mako}} package as per command: {{cmd|# apk add mako}} | Install the {{pkg|mako}} package as per command: {{cmd|# apk add mako}} | ||
== Troubleshooting == | == Troubleshooting == | ||
Line 35: | Line 16: | ||
{{ic|GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying}} | {{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 | 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 [https://github.com/swaywm/sway/wiki#systemd-and-dbus-activation-environments following line] to '''Sway''''s [[Sway#Sway config file|config]] file: | ||
exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway | exec dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP=sway SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME | ||
=== Failed to acquire service name === | === Failed to acquire service name === | ||
Line 45: | Line 26: | ||
== 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]] |
Latest revision as of 20:15, 9 October 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
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's config file:
exec dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP=sway SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME
Failed to acquire service name
daemon.err mako: Failed to acquire service name: File exists daemon.err mako: Is a notification daemon already running?

Todo: The above message appears in /var/log/messages randomly, but no cause is found yet. Please update here, if reason and resolution is found. Earlier attempts at naming the mako service executable file as
org.freedesktop.Notifications
did not make any difference.