You are not logged in.
I have installed udevil for automounting and it works. Now I would like to see notification when a device is mounted or umounted.
I have installed dunst as notification daemon.
I have found that there are two places where I can possibly enable notifications. First one is in udevil config file located at /etc/udevil/udevil.conf. There is line:
success_exec =But I cannot add any parameters, I would need to write some script to handle parameters and call notify-send from it.
Second place is devmon, and it's command line parameter --exec-on-device and --exec-on-umount. But I believe this must be passed when starting devmon.
Which one is better approach?
According to pstree devmon is started by udevil which is started by systemd.
This is second part of my question, where I can find list of services started by systemd? I searched in /etc/systemd/system/multi-user.target.wants.... but nor devmon neither udevil is located there.
Offline