'Rstudio server in a (firefox) browser: confict between shortcuts

I am using Rstudio Server from within Firefox. This allows me to run Rstudio as if I was using its desktop version. A key difference is that there is now a conflict between Rstudio definition of shortcuts, and firefox ones:

  • Both have open (Ctrl + O), save (Ctrl + S) but Rstudio takes precedence
  • Both have Ctrl + W, but here firefox (or the System, one?) takes precedence (meaning I am closing the whole firefox window, not Rstudio tab)
  • Switch tab shortcut will switch firefox tabs, not rstudio tabs

How does precedence works? And how should I do if I wanted that when I am in rstudio in a firefox tab, switch tab switches among rstudio tabs? This is discussed a little here but no good solution offered so far. I am using Ubuntu if this plays a role...

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source