How to generate an input events log on Linux

Created by Dmitry Kazakov

1) Open a console application (e.g. Konsole on KDE)
2) Set the amount of scrollback to 'unlimited' (for Konsole: Settings->Edit Current Profile->Scrolling->Unlimited Scrollback)
3) Start Krita by typing 'krita' and create any document :)
4) Press Ctrl+Shift+T, you will see a message box telling the logging is started
5) Try to reproduce your problem
6) The console is now filled with the log. Attach it to a bug report or paste using services like :)