How can I listen for mouse click events in Linux, similar to app-commands forward/back in windows?


I’m trying to polyfill the browser forward/back app-commands into linux, however it doesn’t seem like there are any ways to receive the extra keys from the mouse (buttons 8/9) in electron. Is there any current known way or is this something that needs to be accomplished in electron core? Current chromium handles the mouse buttons as expected, as well as other browsers.