• Zak@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    6 months ago

    You’d need write access to the user’s home directory, but doing something with desktop notifications on modern Linux is as simple as

    dbus-monitor "interface='org.freedesktop.Notifications'" | grep --line-buffered "member=Notify\|string" | [insert command here]

    Replacing the Signal app for that user also doesn’t require elevated privileges unless the home directory is mounted noexec.