Sway: notify-send doesn't show anything

Created on 28 Feb 2017  Â·  6Comments  Â·  Source: swaywm/sway

So, issue-name speaks for itself.
Probably it is wlc problem.
Probably I just cooking it wrong.

Using Fedora 25.

Most helpful comment

Like i3, sway does not include a notification daemon. You need to use an external one like dunst.

All 6 comments

Like i3, sway does not include a notification daemon. You need to use an external one like dunst.

dunst doesn't really work well under sway:

  • It's positioned on the upper left corner regardless of config.
  • Global hotkeys don't work.
  • Clicks pass through it to the window behind it.

This is probably due to the way wayland is designed (eg: can't grab global hotkey, etc).

Is there any workaround for this? Am I mistaken in thinking that sway needs to explicitly support notification daemons somehow (due to the placement overriding and global hotkey grabbing).

dunst also assumes DISPLAY=:0, so the provided systemd user service fails to run under Sway.

@WhyNotHugo Did you find a good alternative? I switched to Sway recently and noticed the same.

Since this is one of the early search results on Google:

via archwiki

mako — A lightweight notification daemon for Wayland; it currently works on Sway.

After installing just put into your sway config.

exec mako

I can confirm Mako works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alphare picture Alphare  Â·  3Comments

jakubn551 picture jakubn551  Â·  4Comments

mcmfb picture mcmfb  Â·  3Comments

soymjolk picture soymjolk  Â·  3Comments

Olie440 picture Olie440  Â·  4Comments