I want to make the keyboard send Ctrl+W when I press the left and right buttons at the same time.

On Windows, I can use AutoHotKeys to do that, but the software has no linux edition.

Is there any solution? Thanks.