-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multimedia keys behaviour reverted after resume (the 20-k290.sh script does not run on Ubuntu as pm-utils are not used anymore) #16
Comments
Thank you for the report! I personally don't use Ubuntu so didn't know that they had changed to systemd as well. I'll adapt the packaging script accordingly! On 28 December 2015 14:28:46 CET, "Adam Cigánek" notifications@github.com wrote:
|
Cool! Let me know if you need someone to test it. |
I just realized that I didn't add any packaging for Ubuntu yet. The |
I just ran into this too: The systemd files do not work on Ubuntu because it patches systemd to look for scripts only in |
This fixes suspend behaviour on Ubuntu Fixes milgner#16
Fix is in #13 |
Worked fine for me (Mint 18.1, based on Xenial). |
I've used Spone's fork which have @arichardson's commits already merged and it worked fine for me. By the way I'm using Debian but the problem still affected me. |
Hello,
After my machine resumes from suspend, the F-keys are reverted back to their default multimedia behaviour. This is because the
/etc/pm/sleep.d/20-k290.sh
script is not executed anymore. This is because Ubuntu switched to systemd and no longer uses pm-utils (not sure in which version of Ubuntu this happened). I fixed it by putting a script with the following content:in
/lib/systemd/system-sleep
and making it executable. I suspect there is probably more proper way to do it, but this worked for me.The text was updated successfully, but these errors were encountered: