I'm trying to get my system (linux mint 14 cinnamon with intel hd graphics ironlake/clarkdale) to use the correct resolution after startup. I have a dual monitor system with one 24" monitor(HDMI1) and a 50" plasma (HDMI2), for now i'm executing this script manually after startup to get the correct resolution (the system boots into something like 1600x900 for the HDMI1 and not HDMI2 at all):
Code: Select all
#!/bin/bash
#MONITOR - HDMI1
xrandr --output HDMI1 --mode 1920x1200
#TV - HDMI2
xrandr --output HDMI2 --mode 1280x768
xrandr --output HDMI2 --right-of HDMI1
Code: Select all
#!/bin/sh -e
sleep 5
sh /home/ove/res_fix.sh
exit 0
Is it a way to get this working? I've looked at configuring xorg.conf to my setup but I rather just have a easy method to autoload the script that already works.
xrandr output:
Code: Select all
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
1600x1200 60.0
1680x1050 59.9
1680x945 60.0
1400x1050 59.9
1600x900 60.0
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1366x768 60.0
1360x768 60.0
1280x800 74.9 59.9
1152x864 75.0
1280x768 74.9 60.0
1024x768 75.1 70.1 60.0
1024x576 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
848x480 60.0
640x480 72.8 75.0 66.7 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1280x768+1920+0 (normal left inverted right x axis y axis) 1000mm x 550mm
1280x768 60.0*+ 74.9 60.4
1920x1080 60.0 50.0 30.0 24.0 30.0 25.0
1680x1050 59.9
1680x945 60.0
1400x1050 74.9 59.9
1600x900 60.0
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1366x768 60.0
1360x768 59.8
1280x800 74.9 59.9
1152x864 75.0
1280x720 60.0 50.0 59.7
1440x576 25.0
1024x768 75.0 70.1 60.0
1024x576 60.0
800x600 72.2 75.0 60.3
720x576 50.0
848x480 60.0
720x480 59.9
640x480 75.0 72.8 60.0 59.9 59.9
720x400 70.1
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)