So I repaired my screen resolution using xrandr, but it disappears after reboot. I don't know how to fix this thing and I couldn't find any recent tutorials that suit me, because I am missing all the .conf or .profile files needed.
-
1Look at Richard's answer here: askubuntu.com/questions/128463/how-to-control-brightness I had the same problem and it worked fine.– Paco el CuquiAug 22, 2015 at 19:38
-
1possible duplicate of Running a script at startup that uses xrandr to set display options– Jacob VlijmAug 22, 2015 at 19:47
-
Thing is I can't find that xorg.conf thing and it makes me mad.– Bogdan MarcuAug 22, 2015 at 20:05
-
Well, I don't see how that might help my resolution problem. I just want to run some commands at startup, I guess.– Bogdan MarcuAug 22, 2015 at 20:09
Add a comment
|
1 Answer
The latest 15.04 has no file named xorg.conf , so you have to create it. It should be in /etc/X11 ,mine looks like this ,the system will boot with the desired settings.(you will have to adjust the file for it to work properly for you).
Section "Monitor"
Identifier "HDMI2"
Modeline "2560x1080" 230.00 2560 2720 2992 3424 1080 1083 1093 1120 -hsync +vsync
Option "PreferredMode" "2560x1080"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "HDMI2"
DefaultDepth 24
SubSection "Display"
Modes "2560x1080"
EndSubSection
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
EndSection