Problem figured out by Trevinho and didrocks on irc: unity only emits AcceleratorActivated() for the first id returned by GrabAccelerator() and doesn't watch the unique name of the grabbing process. Thus, when something other than unity-settings-daemon grabs the key before it, or u-s-d crashes, those keys it grabbed at the very beginning can never be regrabbed.
After a couple of rounds of testing and some code review, I can't make unity-settings-daemon subscribe to the same accelerator twice and thus getting into that situation itself. Feel free to reassign it to u-s-d once unity is fixed but this problem still persists. ** Changed in: unity-settings-daemon (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1482181 Title: Media keys (ctrl-alt-t, brightness, play/pause) don't work randomly after logging To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/1482181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs