Is there a way to load the startup applications upon return from suspend.
My problem is that I have the line xset m 200 1 in my start-up applications, but it won't load after suspend.
It loads fine at start-up though.
Is there a way to load the startup applications upon return from suspend.
My problem is that I have the line xset m 200 1 in my start-up applications, but it won't load after suspend.
It loads fine at start-up though.
Create a script with these contents
case "$1" in
hibernate|suspend)
#Do nothing at
;;
thaw|resume)
xset m 200 1
;;
*)
;;
esac
exit $?
Set it to executable with chmod +x foo_script_name
Move your script to /etc/pm/sleep.d with sudo mv foo_script_name /etc/pm/sleep.d, it will be run once your computer resumes from sleep.