I don't know if this will solve your issue, you might have a different problem to mine. In my case, the black screen happens when the computer has been left alone for a while and the screen has turned off. While moving the mouse or pressing a key wakes it up, the screen remains black.
My workaround is to run an xrandr
command that sets up my screen again. In your case, the command would be:
xrandr --output LVDS1 --auto
If that does not set up the correct resolution, use this one instead:
xrandr --output LVDS1 --mode 1280x800
However, that's hard to type on a black screen. So, make a little script that runs this command:
echo -e '#!/bin/bash\nxrandr --output LVDS1 --mode 1280x800` > ~/bin/fix_screen.sh
The command above will create a file in your $HOME/bin
directory (if the directory does not exist, create it with mkdir ~/bin
) called fix_screen
. Now, make the script executable:
chmod +x ~/bin/fix_screen
Finally, assign a shortcut to it. Open the Settings dialog:
Then, go to Keyboard => Shortcuts => Custom Shirrtcuts and click on the + sign:
And then enter this:
Finally, choose a shortcut for it. Just click on Disabled
and then type the shortcut you want:
Now, the next time you have this black screen issue, just use the keyboard shortcut and everything should be fine.
Best Answer
You can alter the overscan with appropriate xorg.conf settings to the modeline in use. This can be done interactively with xvidtune, but BE CAREFUL, you can fry your monitor with inapproprate settings. Try minor adjustments to the existing settings to try and improve things.