Ubuntu 10.04 - Linux - Dual Monitor Problem -Solved-

For problems with the game

Moderators: jelco, bert_the_turtle, Chris, Icepick, Rkiver, Punisher Bass

xPureEvil2002x
level0
Posts: 5
Joined: Sat May 22, 2010 5:46 am

Ubuntu 10.04 - Linux - Dual Monitor Problem -Solved-

Postby xPureEvil2002x » Sat May 22, 2010 6:03 am

I run dual monitors and had the problem of uplink trying to span both if I didnt shut one off....and then moving my launchbar up when I turned them back on so I wrote this script that will turn the monitor off and on with the game. Hope it gives you some use (it does take some knowledge to use):

You may not need the "export SDL_AUDIODRIVER=esd" put it was the only way sound worked for me.
<change> replace it with your full path to the uplink directory.
Change --mode to the resolution you use on your monitors
Change --pos to whatever your offset is for your monitors if they are the same then:
0x0 for the one on the left and <Your left ones Resolution>x0 for the one on the right


Put this in a new .sh file and use it to run uplink:

Code: Select all

#!/bin/sh
xrandr --output DVI-0 --off
sleep 3
export SDL_AUDIODRIVER=esd
cd /<change>/uplink/linux/
./uplink
xrandr --output VGA-0 --mode 1680x1050 --pos 0x246 --output DVI-0 --mode 1600x1200 --pos 1680x0
sleep 5
gconftool-2 -s  --type string /apps/panel/toplevels/bottom_panel_screen0/orientation left
gconftool-2 -s  --type string /apps/panel/toplevels/bottom_panel_screen0/orientation bottom



Hope it helps,
PureEvil

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests