Comment 23 for bug 552246

Revision history for this message
Alejandro J. Cura (alecu) wrote :

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"