Setting widescreen display resolution for Manjaro.
By default, my widescreen display resolution is only reach for maximum 1920x1080 resolution which is makes the screen a little bit stretch. I need 2560x1080 as ideal resolution for my display.
So, I've been using the Coordinated Video Timing (CVT) to calculate VESA CVT mode lines with this sample code below:
cvt 2560 1080 60
But it's not working. And I found UMC. You can download UMC here.
After download the UMC, just extract and install it with C compiler or gcc
and make
. Manjaro doesn't have it by default, so we have to install it first with pacman
and run this code after:
cd umc-0.2
./configure
make install
Next, run the UMC with the desire resolution:
cd umc-0.2/src
./umc 2560 1080 60 --rbt
Copy the output result and add new resolution mode using xrandr
like this example:
xrandr --newmode "2560x1080x59.98" 181.250000 2560 2608 2640 2720 1080 1083 1087 1111 +HSync -VSync
xrandr --addmode HDMI3 "2560x1080x59.98"
xrandr --output HDMI3 --mode "2560x1080x59.98" --rotate normal
If you see there is HDMI3, it's because my display is on that port. You can use xrandr
command to find your display port.
This is the result. Now we can use our new display resolution.
But there is an issue. When we log out or restart the system, our configuration will gone. So we have to create an executable file, mine named widescreen-resolution.sh
, and copy all xrandr
command above:
touch widescreen-resolution.sh
chmod +x widescreen-resolution.sh
Now we can register it to Application Autostart like this picture below:
I put the UMC installer here if it's not available anymore.