On 02-12-2024 10:35PM, Goblin Invader wrote:
My question for you now is which file to modify in openSUSE Tumbleweed in order to get this wonderful command persistent between boots and upgrades? Am I able to modify a certain file by inserting just "echo KBC0 >/proc/acpi/wakeup" in it?
Hi,
You can set up the command to run when the system boots using a cron job. To use this method, do the following:
1. Run this command: crontab -e 2. Add the following line to that file: @reboot echo KBC0 >/proc/acpi/wakeup 3. Save the file
The command needs root privileges. If you're not root, you can use sudo crontab -e in (1).
This will make the command run whenever the system boots.
Hello Goblin Invader, Some of what I was reading spoke of a crontab possibility which you explain above. The issue for me right now is my lack of knowledge of the vi editor. Is reversing what you suggest above basically just removing "@reboot echo KBC0 >/proc/acpi/wakeup" and then saving the file? It looks like if I knew more about vi this would possibly be a very straightforward and universal way to implement this. Thanks for this excellent suggestion.