I'm running Ubuntu 16.04.5 LTS on this system
Processor: Intel Core i5-7400
Mainboard: H110M-Gaming3-CF
The problem is the highest resolution it can go up to is 1024x768, which is terrible. How can I set my resolution to a higher resolution (i.e. FHD which fits my screen)? Thanks.
Ubuntu or the other versions of it like (k,l,x,edu,etc.,) are required to add the resolution we want to set on some monitors.
So follow my steps:-
Open a Terminal by CTRL+ALT+T
Type
xrandr
and ENTERNote the display name usually VGA-1 or HDMI-1 or DP-1
Type
cvt 1920 1080
(to get the--newmode
args for the next step) and ENTERType
sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
and ENTERType
sudo xrandr --addmode VGA-1 "1920x1080_60.00"
and ENTER (replace VGA-1 with your display type (step 3) like HDMI-1 or DP-1)Now close the terminal and go to Settings >> Display settings and change it to 1920x1080
Enjoy FHD.
To make the above settings stick when you restart your computer, do the following.
For integrated displays
vim ~/.profile
ENTERFor external displays
create a script called external_monitor_resolution.sh in the directory /etc/profile.d/. using
sudo vim /etc/profile.d/external_monitor_resol.sh
.Paste in the shell command from step 5 and 6, then save.
(Note: if using
sudo
would require you typing a password, your system might freeze on startup while waiting for you to input a password. So when pasting do away with thesudo
) Something like this:Answer from @ARTube perfect and guys who are facing the problem after editing .profile please follow the comment from Christopher.L
Then add the 5th and 6th line to your
.profile
withoutsudo
command and save then restart it will work fine.eg:
A better way than creating a script would be to configure X properly.
Xorg -configure
gtf 1600 1200 60
.sudo vi /root/xorg.conf.new
sudo mv /root/xorg.conf.new /etc/X11/xorg.conf
And that's it should now be able see your new resolution in your display settings.
The full procedure is described here
Based on @AbdulR's solution, I built a simple script that may be useful to automate the creation of the new mode (I named it "fixvga.sh"):
Then, from the terminal, simply type:
Remember to replace "VGA-1" with the display you want to fix (in my case, "DP-1", which I made the default). After that, on Display Settings, you may be able to choose the 1920x1080 resolution on your display (as long as it supports it).
Enjoy!