You are not logged in.
Hi everyone!
I am using the i3 window manager and have set up Dunst to display messages. When I, for example, get a new email Dunst displays a message in the top right corner of the screen.
I am also using Apparmor and wanted it to display messages. I followed the instruction in the Wiki to get notifications on DENIED actions. As far as I understand it you need aa-notify to poll the logs. On my former setup with Gnome creating the `~/.config/autostart/apparmor-notify.desktop` file was enough, This does not seem to be the case when using i3 in combination with Dunst.
My guess is that either i3 does not handle the .desktop file or that aa-notify does not know how to send to Dunst. I however don't know how to diagnose both of these problems.
What am I missing here. Thanks in advance!
Last edited by Sapiens (2021-07-25 13:56:21)
Offline
For i3 you have to explicitly start either aa-notify or an autostart helper like dex in the i3 config. i3 does not automatically use the xdg autostart files.
https://wiki.archlinux.org/title/I3#Autostart
https://wiki.archlinux.org/title/XDG_Autostart
Last edited by progandy (2021-07-24 20:12:02)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thank you, that was it! I went the way to install dex so that in the future I can create entries on my own.
When trying to let dex start the entries some programs put in /etc/xdg/autostart I get critical errors. Is this to be expected?
Offline
No idea. You should probably set the desktop environment for dex (-e), so it doesn't try to start applications that depend on e.g. gnome.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thank you again, that was it!
Offline