Author Topic: A Tale of Two Monitors  (Read 1044 times)

Offline Peej255

  • Newbie
  • *
  • Posts: 2
A Tale of Two Monitors
« on: January 13, 2011, 11:56:00 AM »
First Monitor:
ubuntu doesn't want to display it at a good resolution so i have  a shell script

#!/bin/bash
xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA1 "1280x1024_60.00"
xrandr --output VGA1 --mode "1280x1024_60.00"

that fixes that for me, but i can't get it to run automatically at startup.
I've tried

sudo gedit /etc/init.d/my_script
{copy/pasting the above script in}
sudo chmod +x /etc/init.d/my_script
sudo update-rc.d my_script defaults

this doesn't work.
I also tried placing the lines in the /etc/rc.local file and this does nothing too.

Do you know anything else that I can try or do??

Second Monitor:
The second monitor is a dell that I know the last guy had working on the system, but ubuntu won't detect for me.

are there drivers or something of that sort that i need to install? I can't seem to find any.

or some sort of 'force detect' command?

Ubuntu Forums (Ubuntu Linux Support)

A Tale of Two Monitors
« on: January 13, 2011, 11:56:00 AM »

Offline Peej255

  • Newbie
  • *
  • Posts: 2
Re: A Tale of Two Monitors
« Reply #1 on: January 14, 2011, 05:01:45 PM »
Solved the first one in the simplest way.

sudo chmod +x Desktop/ScreenResolutionFix

and then

System>Preferences>Startup applications   Add

that's good enough for me

The second monitor is still a dead-weight.