[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#544518: marked as done (A way for --prop to not take half a second)



Your message dated Tue, 1 Sep 2009 21:52:00 +0200
with message-id <20090901195200.GG19342@celtic.nixsys.be>
and subject line Re: Bug#544518: A way for --prop to not take half a second
has caused the Debian Bug report #544518,
regarding A way for --prop to not take half a second
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
544518: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544518
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x11-xserver-utils
Version: 7.4+2
Severity: wishlist
File: /usr/bin/xrandr

Hi,

wouter@celtic:~$ time xrandr --prop
[...xrandr output snipped...]
real	0m0.444s
user	0m0.004s
sys	0m0.008s

I currently have a shell script that does the following:

  BL=$(xrandr --prop|awk '/BACKLIGHT:/{print $2}')

with the intention of then being able to use that to compute stuff and
set the new value, and hook that to the XF86MonBrightnessDown and ...Up
keys as a hotkey.

However, due to the fact that xrandr spends almost half a second waiting
on the X server for information that I don't need, and combined with the
fact that I don't see any way for me to change the set of data that
xrandr requests from the X server, this script is nearly unusable.

There could be alternate solutions to this wishlist item; e.g., it would
help if I would be able to tell xrandr that the X server has to increase
the value of a property relative to its current value with a value
relative to its valid range, or some such (say, a command similar to
'increase the value of the BACKLIGHT property on the LVDS output by 10%
of the total range).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages x11-xserver-utils depends on:
ii  cpp                           4:4.3.3-9  The GNU C preprocessor (cpp)
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libice6                       2:1.0.5-1  X11 Inter-Client Exchange library
ii  libsm6                        2:1.1.1-1  X11 Session Management library
ii  libx11-6                      2:1.2.2-1  X11 client-side library
ii  libxau6                       1:1.0.4-2  X11 authorisation library
ii  libxaw7                       2:1.0.6-1  X11 Athena Widget library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxi6                        2:1.2.1-2  X11 Input extension library
ii  libxmu6                       2:1.0.4-2  X11 miscellaneous utility library
ii  libxmuu1                      2:1.0.4-2  X11 miscellaneous micro-utility li
ii  libxrandr2                    2:1.3.0-2  X11 RandR extension library
ii  libxrender1                   1:0.9.4-2  X Rendering Extension client libra
ii  libxt6                        1:1.0.6-1  X11 toolkit intrinsics library
ii  libxtrap6                     2:1.0.0-5  X11 event trapping extension libra
ii  libxxf86misc1                 1:1.0.1-3  X11 XFree86 miscellaneous extensio
ii  libxxf86vm1                   1:1.0.2-1  X11 XFree86 video mode extension l
ii  x11-common                    1:7.4+4    X Window System (X.Org) infrastruc

x11-xserver-utils recommends no packages.

Versions of packages x11-xserver-utils suggests:
pn  cairo-5c                      <none>     (no description available)
pn  nickle                        <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
On Tue, Sep 01, 2009 at 11:11:01AM +0200, Julien Cristau wrote:
> Try xrandr --current --prop?

Er, hrm. Indeed.

Sorry, didn't know about that one.

-- 
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
  http://www.schneier.com/blog/archives/2009/01/biometrics.html


--- End Message ---

Reply to: