I've created a script to switch to VT1 and back, made it executable,
made it so it doesn't ask for password, then I've assigned a keyboard
shortcut to run 'sudo my_script'.

#! /bin/bash
# fix black screen

gvt=$(fgconsole)

chvt 1;
sleep 2;
chvt $gvt

exit 0

I can run this on my HTPC with the press of a button on the remote.

This works most of the times, and when this is not working I have a
second script that restarts mdm.

At least I don't have to worry about unsaved data, this is only an
entertainment environment.

Now my wife can use the system :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1418295

Title:
  Black screen after resuming from suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1418295/+subscriptions

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

Reply via email to