On Mon, Aug 31, 2009 at 19:53:36 +0200, Wouter Verhelst wrote: > Package: x11-xserver-utils > Version: 7.4+2 > Severity: wishlist > File: /usr/bin/xrandr > > Hi, > > wou...@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). > Try xrandr --current --prop?
Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org