📜 ⬆️ ⬇️

Screen resolution in ubuntu

CRT monitor Automatically adjusting the screen resolution does not always work as expected. When installing the distribution, the X server chooses the largest screen resolution and refresh rate possible. This is true for LCD monitors, but not always true for CRTs, since the maximum value on a 17 "monitor is 1600x1200 and 1024x768 is easy to view. If you can select a specific resolution for a Gnome session, then for the login screen and system boot no graphical utilities are provided immediately. This problem is easily solved.
Let's start with the system boot screen. We need to edit one file. We open it through the superuser, entering in the terminal:

sudo gedit /etc/usplash.conf

It contains something like this:

# Usplash configuration file
xres=1600
yres=1200

Change the values ​​to the desired and save the file. Everything! At the next boot, the resolution will already be needed.
Now go to the resolution of the login window. As we said above, it is the maximum possible. So you need to make the maximum resolution you use.
Open another file, after making a copy of it:
')
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak; sudo gedit /etc/X11/xorg.conf

We find in it similar lines:
SubSection "Display"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection


We remove unnecessary permissions in all such lines so that only used ones remain. We save. You can now restart the X server by pressing Ctrl + Alt + Bkspace.
Also in the system there is a pseudo-graphic utility for more fine-tuning X-server and more experienced users. You can call her with the command:

sudo dpkg-reconfigure -plow xserver-xorg

Be careful when using it, otherwise, if you configure it incorrectly, you risk not seeing anything =)
Summing up, we can say that in the Ubuntu operating system everything is directed, first of all, to automatic configuration. This is good, as it saves time and effort. On the other hand, the Linux base of the distribution kit allows for more precise manual configuration.

This and other notes on Ubuntu on Onego.ru .

Source: https://habr.com/ru/post/19997/


All Articles