Capture keyPressEvent in minimized PyQt application
<p>I am trying to write an error reporting application and would like to keep it as a tray icon for the most part - but the idea is to maximize it with a specific key combination (e.g. "Ctrl+Alt+H", or something like it).</p>

<p>Thanks for reply, I was looking deeper into some of the codes I had in my repo and found out this - 
<a href="https://sourceforge.net/p/pyhook/wiki/PyHook_Tutorial/" rel="nofollow">https://sourceforge.net/p/pyhook/wiki/PyHook_Tutorial/</a></p>

<p>This is specifically for windows but saw pyxhook for linux</p>

<p><a href="http://jeffhoogland.blogspot.in/2014/10/pyhook-for-linux-with-pyxhook.html" rel="nofollow">http://jeffhoogland.blogspot.in/2014/10/pyhook-for-linux-with-pyxhook.html</a></p>

<p>Tried the windows version and it is working like a charm, need to customise that though. Have to the linux version as well</p>

python pyqt keyboard-shortcuts trayicon