Systrology

Systrology

Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from Systrology, .

13/02/2024

How to customize resolution in Ubuntu 22.04 LTS
================================================= Ubuntu Linux Linux
Recently sudden experience in customizing monitor resolution due to added KVM. Here is how to do it.

1. Check Menu->Settings-> Displays, for auto assigned and available resolutions.
2. If there is no required resolution option then checck it first via terminal.
user@user-PC~$xrandr
Screen 0: minimum 16 x16, current 1024 x 768, maximum 32767 x 32767
XWAYLAND0 connected primary 1024x768+0+0 .......

1024x768 59.92*+......
n640x350 59.77

3. Check how many graphic outputs are available.
user@user-PC~$ls /sys/class/drm
card0 card0-DP-2 card0-HDMI-A-2 version
card0-DP-1 card0-HDMI-A-1 renderD128

4. Change directory to "/sys/class/drm" and list all devices.
user@user-PC~$cd /sys/class/drm
user@user-PC~:/sys/class/drm$ls
card0 card0-DP-2 card0-HDMI-A-2 version
card0-DP-1 card0-HDMI-A-1 renderD128

5. Select any of the above to see whether connected or disconnected.
user@user-PC~:/sys/class/drm$cd card0-DP-2
user@user-PC~:/sys/class/drm/card0-DP-2$ls
device edid i2c-11 status waiting_for_supplier dpms enabled modes subsystem

user@user-PC~:/sys/class/drm/card0-DP-2$cat status
connected

6. For now card0-DP-2 Display port is physically connected to the KVM/Monitor and going to change the resolution for it.

Open the file "/etc/default/grub" in sudo mode. And modify the line (NO 10), save it.

user@user-PC~$sudo gedit /etc/default/grub

Before: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
After: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=DP-2:1590x900@60"

Here "video=DP-2:1590x900@60" added. DP-2 is connected Display Port, resolution 1590x900 and frequency is 60Hz.

7. Update the grub.
user@user-PC~$sudo update-grub

8. Reboot the PC.
9. Check Menu->Settings->Displays, set resolution 1590x900 and Apply.

Global Tech - IT Solutions 25/05/2021

http://www.gtechis.com

Global Tech - IT Solutions We believe brand interaction is key in communication. Real innovations and a positive customer experience are the heart of successful communication. No fake products and services. The customer is king, their lives and needs are the inspiration.

Website