Black screen after resolution change

Asked by James Liddell

I installed Teeworlds, which changed my screen resolution to 800x600. When I try to change it back to 1366x768, the screen goes black and does not change back. Uninstalling Teeworlds makes no difference. I have started a new user session, the resolution is fine in that.

How do I change my resolution back to 1366x768 and ensure that the screen doesn't go black?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#1

HI ,

as you said that the resolution is fine on a new user session , probably something is going wrong with the configuration of your user.

I can suggest 2 things

1) reinstall the graphics driver

2) delete your conguration files

You can reinstall graphics driver from terminal by this command

sudo apt-get install --reinstall <driver>

Where <driver> you should replace with the actual driver for your graphics card. I don't know what card and what driver you've installed.

If you want to revert back to a primary state of configuration , you can delete some folders and files from your personal (home) folder.
BE AWARE that you will lose the configuration of some programs , the wallpaper , even the Keyboard Layout . Ubuntu will revert back to a primary state. Here is the command

    rm -rf .compiz* .gconf* .config/dconf/ .config/compiz*

The you must reboot for changes to take effect.

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

if you reboot is it ok?

Revision history for this message
James Liddell (detrius521) said :
#3

Thanks NikTh, that solved my question.

Revision history for this message
James Liddell (detrius521) said :
#4

Thanks, I installed nvidia-current and rebooted and it fixed it. Thanks so much for helping, especially after I gave you so little information!