A poor man's solution is saving this script as /etc/pm/sleep.d/99_chvts
#!/bin/bash case $1 in resume | thaw) chvt 1 chvt 7 ;; esac
and then doing "sudo chmod +x /etc/pm/sleep.d/99_chvts"
A poor man's solution is saving this script as /etc/pm/ sleep.d/ 99_chvts
#!/bin/bash
case $1 in
resume | thaw)
chvt 1
chvt 7
;;
esac
and then doing "sudo chmod +x /etc/pm/ sleep.d/ 99_chvts"