I've just started using Brave on Linux (distro info at bottom) and I have a question about keyboard shortcuts & how the browser manages active windows, because it seems to be doing something different from my last browser.

I usually use Firefox, and I've set it up so that I can open a new tab with the Mail key on my keyboard. Pressing my Mail key executes this command, opening a new tab.

xdotool getactivewindow key ctrl+t

But now I've switched to Brave browser, and that command no longer works. When I've got Brave open and I press my Mail key, nothing happens.

I've tried alternate commands:

xdotool key ctrl+t

and

xdotool getwindowfocus key ctrl+t

but no result. Does anyone know how to fix? What is Brave doing with its browser tabs/windows?

Thank you!

  • Desktop: Linux Mint Xfce 4.18.1
  • Distro: Linux Mint 21.3 Virginia
  • Ubuntu 22.04