Thanks Alejandro! Your script works, but I find that the X server
sometimes run on vt8 (seems to alternate randomly between and 7 and 8).
This additional hack works:

#!/bin/bash
case $1 in
    resume | thaw)
        tty=`ps axo tty,cmd | grep "/usr/bin/X :0"`
        vt=${tty:3:1}
        chvt 1
        chvt $vt
        ;;
esac

-- 
[radeon] pointer invisible after resume
https://bugs.launchpad.net/bugs/552246
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to