When I ask kde to suspend to ram on my laptop, it does not resume properly. However, I installed
sudo s2ram -f -a 3 works. Is there a way to tell kde that it is supposed to run this command line when closing the lid instead of having to use the console each time?
You should be able to edit (or create if it doesn't exist) the file
/etc/pm/config.d/module and add the following content:
As well as the file
/etc/pm/config.d/defaults with the following content:
All suspend functions should now work using s2ram.