I have a new Lenovo ThinkPad E15 that came with Windows 10 installed. I added Ubuntu 20.04 as an option (dual-boot).
After some tricky configuration, I eventually got hibernation working.
And using "Keyboard Shortcuts", I set up this hotkey to trigger systemctl hibernate
:
Unfortunately I have 2 problems:
- Upon typing that hotkey combo, I'm prompted for a password. Upon providing the correct password, the computer hibernates. I'd prefer it to instantly hibernate without prompting for any password.
- Upon wake, I'm not prompted for a password. This seems like a security problem. I do want my laptop to require a password upon waking.
How can I fix those issues? Thanks!
This forum comment led me to this blog post, whose steps I followed.
My system no longer prompts me for my password when I press the keyboard shortcut that runs
systemctl hibernate
.I know that "link-only" answers are frowned upon, but the article is too long and detailed to replicate here, so I figured it would be "better than nothing" to report back and at least share the link that helped me out.
I also made sure that the article is available on Wayback Machine.