that is true you need run-standalone.sh before the script cause when you type root it runs that script [standalone] with anything also in user but not with sudo gainroot
you can also : Code: sudo run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications but you need to do this first Code: echo "user ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers echo "root ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers mv everybody.sudoers /etc/sudoers.d update-sudoers this will let you run sudo #anything as root also double root is possible
sudo run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications
echo "user ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers echo "root ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers mv everybody.sudoers /etc/sudoers.d update-sudoers