Mailnag

提供: ArchWiki
2023年9月1日 (金) 19:07時点におけるKusanaginoturugi (トーク | 投稿記録)による版 (英語版より転載)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

mailnag is a Wayland e-mail notification daemon. It integrates well with mako and libnotify and comes with interactive configuration tooling, making setup very straight-forward.

Installation

mailnag can be installed with the mailnag package.

ノート: You may also want to install gnome-keyring to satisfy the needed org.freedesktop.secrets service file.

Configuration

Run mailnag-config to create an initial configuration at ~/.config/mailnag/mailnag.cfg.

Usage

Users can run mailnag from within a shell while running a Wayland or Xorg session, given that a notification daemon is running.

ノート: mailnag needs to be able to access a valid dbus session to communicate with a notification back-end.

Autostart

mailnag supports XDG Autostart out of the box. A systemd user service example has been included below as another option.

systemd user unit

Users will probably want to run mailnag in a systemd unit. Provided below is an example user unit where user id is the numeric ID of the user where this service is installed.

~/.config/system/user/mailnag.service
[Unit]
Description=Mailnag notification service

[Service]
ExecStart=/usr/bin/mailnag

[Install]
WantedBy=default.target

Then start mailnag.service.

XDG

The mailnag package provides a /usr/share/applications/mailnag.desktop file for use with XDG Autostart that is supported by various desktop environments.

See also