API for binding and unbinding a key combo?

Justin Clift justin at salasaga.org
Sun Mar 30 10:12:28 PDT 2008


Tuomo Valkonen wrote:
> On 2008-03-30, Justin Clift <justin at salasaga.org> wrote:
>>    http://gentoo-wiki.com/TIP_Make_a_Screenshot_with_PrintScreen_Key
> 
> That stuff is for _excecuting_ a program, and listed is 'xbindkeys'
> independent of any WM, depending on just that program being running,
> just like the previous links require gnome-settings-fuckup-daemon
> or some such thing (i.e. a bloated DE) running instead of a WM.
> And really how programs are executed should be up to the Operating
> Environment (WM, DE, or some such thing) to decide, instead of 
> Overstandardisation.
> 
>> With a fd.o spec/standard, an application author like myself could 
>> feasibly write code to bind a key at app start, then unbind it at app 
>> finish.
> 
> Since your app is already running, you can just XGrabKey, assuming
> nothing else uses the key already.

Heh, cool, no worries.  Looks like I was getting excited over nothing.

Thanks Tuomo. :)

Regards and best wishes,

Justin Clift

-- 
Salasaga  -  Open Source eLearning IDE
               http://www.salasaga.org


More information about the xdg mailing list