Hi, this patch:
if pidof systemd-logind >/dev/null; then exit 0 fi together with this line: PMS="$PMS unity-settings-daemon" are preventing me from using the power button to immediatly shutdown Ubuntu without any confirmation. In my case I want to be able to shut down an Ubuntu VM through acpi from virsh. With the current powerbtn.sh the following configuration lines this won't have much effect :-( gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown' gsettings set org.gnome.SessionManager logout-prompt false gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1201180 Title: powerbtn.sh conflicts with logind To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1201180/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs