How to write global keyboard hook in Ubuntu (Linux) (like Hook for Windows)
In C/C++ or Python
How to write global keyboard hook in Ubuntu (Linux) (like Hook for Windows)
In C/C++ or Python
Please search SO before asking a question. See this question for your answer.