• qaz@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    24
    ·
    edit-2
    4 days ago

    You should be able to set a watch using the Linux Audit system (which home-watcher also uses). Try something like this

    sudo auditctl -w /.Trash-1000 -p rwxa -k trash_monitor
    

    You should then be able to search for events in the logs with

    sudo ausearch -k trash_monitor