Mako: Difference between revisions

From Alpine Linux
(added wikipage for mako)
 
Line 21: Line 21:


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}}
[[Category:System Administration]]
[[

Revision as of 05:28, 29 May 2025

Mako is a lightweight notification daemon for Wayland that works with Sway.

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

#!/sbin/openrc-run description="org.freedesktop.Notifications" command="/usr/bin/mako" supervisor=supervise-daemon error_logger="logger -t '${RC_SVCNAME}' -p daemon.error" depends() { use dbus }

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

[[