I have an external LG ultrawide monitor (21:9 ratio) connected through HDMI on 
my laptop with integrated Intel graphics. I adapted a script from this thread 
to support for 2560x1080 (60Hz) resolution:
http://askubuntu.com/questions/727753/how-do-i-configure-ubuntu-for-a-219-screen

It would be useful if the resolution was automatically supported. It
works perfectly in Debian Jessie (Gnome).

--------------------------

#!/bin/bash

# Setup external monitor resolution at 2560x1080 (60Hz), if connected
RESOLUTION="2560 1080 60"
OUTPUT="HDMI-1"

CONNECTED=$(xrandr --current | grep -i $OUTPUT | cut -f2 -d' ')
if [ "$CONNECTED" = "connected" ]; then
    MODELINE=$(cvt $RESOLUTION | cut -f2 -d$'\n')
    MODEDATA=$(echo $MODELINE | cut -f 3- -d' ')
    MODENAME=$(echo $MODELINE | cut -f2 -d' ')

    echo "Adding mode - " $MODENAME $MODEDATA
    xrandr --newmode $MODENAME $MODEDATA
    xrandr --addmode $OUTPUT $MODENAME
    xrandr --output $OUTPUT --mode $MODENAME
else
    echo "Monitor is not detected"
fi

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xrandr in Ubuntu.
https://bugs.launchpad.net/bugs/1357804

Title:
  Ubuntu 14.04 does not support 2560x1080 resolution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xrandr/+bug/1357804/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to