[Bug 1201180] Re: powerbtn.sh conflicts with logind
I can confirm that systemd logind is in control of the power button on my ASUS UX305 laptop as of Kubuntu 15.04. This means that no matter what the settings in KDE system-settings the power button is handled by logind. Since the power button is right above backspace and I often hit the backspace key (and have accidentally shut off my laptop several times) I have changed the line in /etc/systemd/logind.conf to: HandlePowerKey=ignore This renders the power key useless, but that is better then accidentally shutting my computer off in the middle of typing. If logind is going to "handle" the power key, maybe system-settings should deal with logind and not acpi or whatever else system-settings is trying modify to get configuration control of the power key? -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
** Branch linked: lp:ubuntu/vivid-proposed/acpid -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
https://bugs.launchpad.net/ubuntu/+source/xfce4-power- manager/+bug/1319134 seems to be related with this bug. -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
I have tested acpid (1:2.0.21-1ubuntu2) with "systemd-services 204-5ubuntu16" ... You are correct, with installing "systemd-services 204-5ubuntu17" all is working fine again. KDE/Powerdevil with powerbutton settings work as expected. Thank you for your clarification! -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
Bernard, what do you mean with "this patch"? The acpid fix that I uploaded has zero impact on the KDE/powerdevil settings. Daniel Hornung's patch also doesn't, but that wasn't uploaded. Which one did you test? Also, please ensure that you have systemd-services 204-5ubuntu17 installed. ubuntu15 and 16 were dramatically failing pretty much everything due to some critical bugs in the new cgmanager integration. If you ran these versions they probably interfered with your testing of this. -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
This patch makes it worse for KDE/Powerdevil, because "Standby" is not selectable anymore in Powerdevil dialog and it continues to ignore the power button setting => shutdown immediately. -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
rubik-cube: there are some issues with your patch: 1) Do not hardcode x86_64-linux-gnu triplet, which only works on amd64. Instead, you can use `dpkg-architecture -qDEB_HOST_MULTIARCH` for example. 2) `test -L /usr/bin/qdbus` will be *always* true, as the binary is managed by qtchooser. 3) Finally, please generate a proper debdiff with a changelog entry. Also, please note that instead of specifying full paths to qdbus binary, you can just run `qdbus -qt4` or `qdbus -qt5` without caring about the paths (though not sure if it's helpful here). Unsubscribing sponsors unless these issues are resolved. -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
This bug was fixed in the package acpid - 1:2.0.21-1ubuntu2 --- acpid (1:2.0.21-1ubuntu2) trusty; urgency=medium * ./debian/powerbtn.sh: Don't do anything if logind is running, as that already handles power button presses. This fixes unconditional shutdowns if a desktop environment wants to handle the power key by itself (and inhibits logind). (LP: #1201180) -- Martin PittThu, 03 Apr 2014 14:53:35 +0100 ** Changed in: acpid (Ubuntu) Status: Fix Committed => Fix Released -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
** Branch linked: lp:ubuntu/trusty-proposed/acpid -- 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
[Bug 1201180] Re: powerbtn.sh conflicts with logind
** Changed in: acpid (Ubuntu) Status: Triaged => Fix Committed -- 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