Package: x11-xserver-utils Version: 7.3+2 Severity: wishlist File: /usr/bin/xrandr
Hi, when invoked, xrandr does detection of hardware capabilities and connected monitors. This takes a few seconds to complete. I have a script, xrandrauto, which invokes xrandr multiple times to create the screen layout that I want to have. However, this script takes like 30 seconds since xrandr repeats the detection process over and over. Please consider adding an option to disable the hardware detection and to use whatever was detected the last time. Greetings Marc #!/bin/bash OUTPUTLIST="" for output in $(xrandr | sed -n '/[^[:space:]]\+ connected/{s/\([^[:space:]]\+\).*/\1/;p;}'); do xrandr --output $output --auto OUTPUTLIST="$OUTPUTLIST $output" done for output in $(xrandr | sed -n '/[^[:space:]]\+ disconnected/{s/\([^[:space:]]\+\).*/\1/;p;}'); do xrandr --output $output --auto done if [ "$OUTPUTLIST" = " VGA-0 LVDS" ]; then xrandr --output VGA-0 --left-of LVDS elif [ "$OUTPUTLIST" = " LVDS" ]; then xrandr --output LVDS --pos 0x0 fi -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.23.9-scyw00225 (PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages x11-xserver-utils depends on: ii cpp 4:4.2.1-6 The GNU C preprocessor (cpp) ii libc6 2.7-4 GNU C Library: Shared libraries ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libsm6 2:1.0.3-1+b1 X11 Session Management library ii libx11-6 2:1.0.3-7 X11 client-side library ii libxau6 1:1.0.3-2 X11 authorisation library ii libxaw7 2:1.0.4-1 X11 Athena Widget library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxi6 2:1.1.3-1 X11 Input extension library ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library ii libxmuu1 1:1.0.3-1 X11 miscellaneous micro-utility li ii libxrandr2 2:1.2.2-1 X11 RandR extension library ii libxrender1 1:0.9.4-1 X Rendering Extension client libra ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii libxtrap6 1:1.0.0-4 X11 event trapping extension libra ii libxxf86misc1 1:1.0.1-2 X11 XFree86 miscellaneous extensio ii libxxf86vm1 1:1.0.1-2 X11 XFree86 video mode extension l ii x11-common 1:7.3+7 X Window System (X.Org) infrastruc x11-xserver-utils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]