All writing
note
Fixing an ultrawide monitor resolution on Ubuntu

note

NOTE: Articles published by me are for my record keeping and references to issues I faced and how I solved them, but are also available for the public to view them.
Display port or HDMI on Linux device settings not showing the resolution for your monitor.
This is the code I used to fix mine, gotten from this link on Ask Ubuntu.
Open the terminal and run this:
gtf 2560 1080 50# 2560x1080 @ 50.00 Hz (GTF) hsync: 55.60 kHz; pclk: 188.60 MHz
Modeline "2560x1080_50.00" 188.60 2560 2704 2976 3392 1080 1081 1084 1112 -HSync +VsyncAfter that run the following:
xrandr --newmode "TEST" 188.60 2560 2704 2976 3392 1080 1081 1084 1112 -HSync +Vsync
xrandr --addmode HDMI-3 "TEST"
xrandr --output HDMI-3 --mode "TEST"HDMI-3 should be changed to whatever port xrandr displays.
Next, run sudo gedit ~/.xprofile (or nano or vim) to make this script that autoloads the resolution when the system starts.
#!/bin/sh
MODE_NAME="ULTRAWIDE"
OUTPUT="HDMI-3"
CONNECTED_OUTPUT=$(xrandr --current | grep -i $OUTPUT | cut -f2 -d' ')
if [ "$CONNECTED_OUTPUT" == "connected" ];
then
# SET 2560x1080 50 HZ
xrandr --newmode "$MODE_NAME" 188.60 2560 2704 2976 3392 1080 1081 1084 1112 -HSync +Vsync
xrandr --addmode HDMI-3 "$MODE_NAME"
xrandr --output HDMI-3 --mode "$MODE_NAME"
xrandr --output HDMI-3 --primary
else
echo "ULTRAWIDE IS NOT DETECTED !"
fi