Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme: Improved Running section #508

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@ Feel free to join the IRC channel: #emersion on irc.libera.chat.

## Running

`mako` assumes that there is a D-Bus session available at it's runtime.
Systemd sets up a session bus by default so if you are using it, you are golden.

`mako` will run automatically when a notification is emitted. This happens via
D-Bus activation, so you don't really need to explicitly start it up (this also
allows delaying its startup time and speed up system startup).
If you are not using systemd, you might need to manually start a dbus user session
with the compositor of your choice from the display manager. The command run should
look something like this: `dbus-launch --exit-with-session COMPOSITOR`.

### Multiple notification daemons
If you have several notification daemons installed though, you might want to
explicitly start this one. Some ways of achieving this is:

- If you're using Sway you can start mako on launch by putting `exec mako` in
your configuration file.

- If you are not using systemd, you might need to manually start a dbus user
session: `dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus`
explicitly start this one.
This is usually done by putting `exec mako` in your compositor's configuration file.

## Configuration

Expand Down