[KDE] Custom mouse buttons actions


I would like to set custom actions to my additional mouse buttons. Like sending the same signal as keyboard Esc does. Its useful to for instance when I’m watching some full screen movies on youtube. Instead of flying towards lower left corner to close FS mode I can press one button on my mouse.

Thanks in advance