Can I resume Ubuntu after suspend by shortcut from keyboard?
I have a docking station with thinkpad and an external monitor. My laptop is always closed, so I need to open it and close again to resume system, it's annoying.
Can I resume Ubuntu after suspend by shortcut from keyboard?
I have a docking station with thinkpad and an external monitor. My laptop is always closed, so I need to open it and close again to resume system, it's annoying.
If the external keyboard is USB, you probably can, although it depends on your motherboard.
Check
/proc/acpi/wakeup
it shows all supported wakeup sources and their states. To toggle the state, simply echo the wakeupsource name back to the same file.Example, to enable/disable wakeup from a usb device on my system, i do: