Hi there, [email protected] wrote: > videobtn.sh currently runs acpi_fakekey to generate > a $KEY_VIDEOOUT X event. I'd like it to run a RandR GUI (e.g. grandr), > which would, I believe, enhance the desktop user's experience in > most cases. > > The attached patch achieves so, by adding a USE_RANDR_UI to > /etc/default/acpi-support. For backward compatibility's sake, > this option is disabled by default. > > Unless the preferred UI software is explicitly set in > /etc/default/acpi-support, a sensible one is guessed at runtime.
It's a nice suggestion, but this one I can't accept. The problem is that acpi-support isn't supposed to do this kind of thing. It simply translates the hardware key press into a virtual button, and the user's desktop environment (which can basically be *anything* in Debian) is supposed to handle the key and respond. So the proper way to do this, is to convince somebody in the desktop environments game to add a handler for this hotkey, just like there are handlers for video brightness buttons, sound and even for things like suspending. Unfortunately I'm not quite sure where you should go for this. :-) I'll see if I can find out, but I won't make any promises. In the mean time I'll tag it wontfix for acpi-support. Cheers, Bart -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

