diff options
| author | Simon Rettberg | 2014-04-29 16:38:49 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2014-04-29 16:38:49 +0200 |
| commit | e1b92c84cf6a5395e8fca5d47acc2d6ad8d73dd1 (patch) | |
| tree | 040f5ec7b51294acac7e2ad0e953e194465e46ce /remote/modules/vmchooser/data/opt | |
| parent | [vmchooser] Fix creation of spooldir for lpd - remote log if failed (diff) | |
| download | tm-scripts-e1b92c84cf6a5395e8fca5d47acc2d6ad8d73dd1.tar.gz tm-scripts-e1b92c84cf6a5395e8fca5d47acc2d6ad8d73dd1.tar.xz tm-scripts-e1b92c84cf6a5395e8fca5d47acc2d6ad8d73dd1.zip | |
[vmchooser] Fix resolution detection for dualhead setups (only consider left most output, not whole virtual screen)
Diffstat (limited to 'remote/modules/vmchooser/data/opt')
| -rwxr-xr-x | remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt index 30a0d517..590dadf0 100755 --- a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt +++ b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt @@ -481,7 +481,7 @@ PID_LPD="$!" # via virtual floppy cp "$xmlfile" "$VMCHOOSER_DIR/fd-loop/config.xml" # Add another file with resolution information -xrandr | grep -o -E 'current\s*[0-9]+\s*x\s*[0-9]+' | cut -c 8- | sed -r 's/(\s|\t|\n)//g' | head -n 1 > "$VMCHOOSER_DIR/fd-loop/hostres.txt" +xrandr | grep -o -E 'connected\s*[0-9]+x[0-9]+\+0\+0' | grep -o -E '[0-9]+x[0-9]+' | head -n 1 > "$VMCHOOSER_DIR/fd-loop/hostres.txt" # Add our magic openslx binary that sets the correct guest resolution cp "$VMCHOOSER_DIR/data/openslx.exe" "$VMCHOOSER_DIR/fd-loop/" |
