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-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to