The branch, master has been updated via 171787927ded9f949522668a32ab67f0d42826d5 (commit) from 698867f7ebccf1467acf38ca3f8d2e0fdb2fc958 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 171787927ded9f949522668a32ab67f0d42826d5 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Thu Oct 11 16:27:06 2012 +0200 For TCE stations with multiple heads, align heads next to each other in order of appearance in xrandr. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 2 ++ x2gothinclient/sbin/x2gothinclientd | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 01c664a..8fbec26 100644 --- a/debian/changelog +++ b/debian/changelog @@ -39,6 +39,8 @@ x2gothinclient (1.0.99.1-0~x2go1) UNRELEASED; urgency=low - Only mount /proc, /sys, /dev/pts inside chroot if not already mounted. - Xorg appears as /usr/bin/X in ps ax output. Make sure it gets detected. - Provide a README.hostname file in doc folder of x2gothinclientmanagement. + - For TCE stations with multiple heads, align heads next to each other + in order of appearance in xrandr. * /debian/control: + Maintainer change in package: X2Go Developers <x2go-dev@lists.berlios.de>. + Priority: optional. diff --git a/x2gothinclient/sbin/x2gothinclientd b/x2gothinclient/sbin/x2gothinclientd index f822454..cc92713 100755 --- a/x2gothinclient/sbin/x2gothinclientd +++ b/x2gothinclient/sbin/x2gothinclientd @@ -103,6 +103,23 @@ elsif ($pid == 0 ) if ( check_x() ==0 ) { system("/usr/bin/Xorg -br &"); + + # wait for X-Server to come up + sleep(3); + + # align displays next to each other in order of appearance in xrandr + my $this_display; + my $next_display; + foreach (`DISPLAY=:0 LANG=C xrandr | grep ' connected ' | cut -d ' ' -f1`) + { + $next_display = $_; + $next_display =~ s/\n//; + if (defined($this_display)) + { + `DISPLAY=:0 /usr/bin/xrandr --output $next_display --left-of $this_display`; + } + $this_display = $next_display; + } } # test if pulseaudio is running, if not launch it... hooks/post-receive -- x2gothinclient.git (X2Go Thin Client Environment) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "x2gothinclient.git" (X2Go Thin Client Environment).