コンテンツにスキップ

「Mailnag」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
英語版より転載
 
Autostart: 翻訳
 
(同じ利用者による、間の1版が非表示)
1行目: 1行目:
[[Category:アプリケーション]]
[[Category:アプリケーション]]
[[en:Mailnag]]
[[en:Mailnag]]
mailnag は、Wayland の E メール通知デーモンです。{{Pkg|mako}} および {{Pkg|libnotify}} とよく統合され、インタラクティブな設定ツールが付属しているため、セットアップが非常に簡単です。
mailnag is a Wayland e-mail notification daemon. It integrates well with {{Pkg|mako}} and {{Pkg|libnotify}} and comes with interactive configuration tooling, making setup very straight-forward.


== Installation ==
== インストール ==


''mailnag'' can be [[install]]ed with the {{Pkg|mailnag}} package.
''mailnag'' は、{{Pkg|mailnag}} パッケージで[[インストール]]することができます。


{{Note|必要な {{ic|org.freedesktop.secrets}} サービスファイルを満たすために、{{Pkg|gnome-keyring}} もインストールしたい場合があります。}}
{{Note|You may also want to install {{Pkg|gnome-keyring}} to satisfy the needed {{ic|org.freedesktop.secrets}} service file.}}


== Configuration ==
== 設定 ==


Run {{ic|mailnag-config}} to create an initial configuration at {{ic|~/.config/mailnag/mailnag.cfg}}.
{{ic|mailnag-config}} を実行して、{{ic|~/.config/mailnag/mailnag.cfg}} に初期設定を作成します。


== Usage ==
== 使用方法 ==


ユーザーは、通知デーモンが実行中である限り、[[Wayland]] または [[Xorg]] セッションを実行中のシェルから ''mailnag'' を実行できます。
Users can run ''mailnag'' from within a shell while running a [[Wayland]] or [[Xorg]] session, given that a notification daemon is running.


{{Note|''mailnag'' は、通知バックエンドと通信するために、有効な [[dbus]] セッションにアクセスできる必要があります。}}
{{Note|''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|systemd user service]] example has been included below as another option.
''mailnag'' は、標準で [[XDG Autostart]] をサポートしています。別のオプションとして、以下に [[systemd/ユーザー|systemd ユーザーサービス]]の例が含まれています。


=== systemd user unit ===
=== systemd ユーザーユニット ===


ユーザーは、おそらく systemd ユニットで ''mailnag'' を実行したいと思うでしょう。以下は、このサービスがインストールされているユーザーの numeric ID が ''user id'' の場合のユーザーユニットの例です。
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.


{{hc|~/.config/system/user/mailnag.service|2=
{{hc|~/.config/system/user/mailnag.service|2=
38行目: 38行目:
}}
}}


Then [[start]] {{ic|mailnag.service}}.
次に、{{ic|mailnag.service}} を[[起動]]します。


=== XDG ===
=== XDG ===


The {{Pkg|mailnag}} package provides a {{ic|/usr/share/applications/mailnag.desktop}} file for use with [[XDG Autostart]] that is supported by various desktop environments.
{{Pkg|mailnag}} パッケージは、様々なデスクトップ環境でサポートされている [[XDG Autostart|XDG オートスタート]] で使用するための {{ic|/usr/share/applications/mailnag.desktop}} ファイルを提供しています。


== See also ==
== See also ==

2023年9月1日 (金) 19:17時点における最新版

mailnag は、Wayland の E メール通知デーモンです。mako および libnotify とよく統合され、インタラクティブな設定ツールが付属しているため、セットアップが非常に簡単です。

インストール

mailnag は、mailnag パッケージでインストールすることができます。

ノート 必要な org.freedesktop.secrets サービスファイルを満たすために、gnome-keyring もインストールしたい場合があります。

設定

mailnag-config を実行して、~/.config/mailnag/mailnag.cfg に初期設定を作成します。

使用方法

ユーザーは、通知デーモンが実行中である限り、Wayland または Xorg セッションを実行中のシェルから mailnag を実行できます。

ノート mailnag は、通知バックエンドと通信するために、有効な dbus セッションにアクセスできる必要があります。

自動起動

mailnag は、標準で XDG Autostart をサポートしています。別のオプションとして、以下に systemd ユーザーサービスの例が含まれています。

systemd ユーザーユニット

ユーザーは、おそらく systemd ユニットで mailnag を実行したいと思うでしょう。以下は、このサービスがインストールされているユーザーの numeric ID が user id の場合のユーザーユニットの例です。

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

[Service]
ExecStart=/usr/bin/mailnag

[Install]
WantedBy=default.target

次に、mailnag.service起動します。

XDG

mailnag パッケージは、様々なデスクトップ環境でサポートされている XDG オートスタート で使用するための /usr/share/applications/mailnag.desktop ファイルを提供しています。

See also