For those who don't know: xdotool - it's a small console program, which can emulate keyboard and mouse input. I used it together with irexec and lirc to control my computer. xdotool I used only to control sound volume by emulating multimedia keystrokes. Unfortunately, I found an unpleasant bug. Starting from some unknown version (I don't know the exact number, because I notice this behavior much later) xdotool refused to work correctly with non-english keyboard layouts. Moreover, after I switched to Debian, it started to hang for second before execute command.
I did not have time to deeply investigate this problem, but accidentally I found a great alternative. Its name is xmacro.