Global hotkey for Python application in Gnome

前端 未结 2 1888
死守一世寂寞
死守一世寂寞 2021-01-12 18:32

I would like to assign a global hotkey to my Python application, running in Gnome. How do I do that? All I can find are two year old posts saying, well, pretty much nothing

2条回答
  •  孤城傲影
    2021-01-12 19:23

    Check out the Deskbar source code - they do this; afaik, they call out a C library that interacts with X11 to do the job

提交回复
热议问题