Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

How do I disable back behaviour for mouse buttons

  • 2 respostas
  • 1 tem este problema
  • 19 visualizações
  • Última resposta de cakemonitor

more options

Hi,

I use the buttons on the side of my mouse for push-to-talk in Mumble, and I don't want these to also be interpreted by Firefox as a back button.

I've tried opening about:config and setting mousebutton.4th.enabled and mousebutton.5th.enabled to false (as per: https://support.mozilla.org/en-US/questions/1195138). I've also set browser.backspace_action to 2 (as per: https://support.mozilla.org/en-US/questions/1194739). However, neither of these changes have the desired behavior, and Firefox still takes me back a page.

I'm using Firefox Quantum 61.0.1 on Linux Mint 19 Cinnamon.

Thanks.

Hi, I use the buttons on the side of my mouse for push-to-talk in Mumble, and I don't want these to also be interpreted by Firefox as a back button. I've tried opening about:config and setting mousebutton.4th.enabled and mousebutton.5th.enabled to false (as per: https://support.mozilla.org/en-US/questions/1195138). I've also set browser.backspace_action to 2 (as per: https://support.mozilla.org/en-US/questions/1194739). However, neither of these changes have the desired behavior, and Firefox still takes me back a page. I'm using Firefox Quantum 61.0.1 on Linux Mint 19 Cinnamon. Thanks.

Solução escolhida

Thanks. I've fixed it with an xinput command that now runs on startup. For others who might be interested here's what I did:

  1. used xinput-list to dermine that my mouse was device 9
  2. used xinput query-state 9 while holding the relevant buttons to determine that they were buttons 8 & 9
  3. used xinput set-button-map 9 1 2 3 4 5 6 7 6 7 to remap these buttons to the behaviour of buttons 6 & 7 (NB: I had to experiment to find buttons that didn't have a pre-defined behaviour for Firefox, e.g. buttons 4 & 5 acted as up & down arrow inputs!)
  4. tested that side button 8 still worked for push-to-talk in Mumble while not interfering with Firefox
  5. opened Startup Applications (which, in Linux Mint 19 Cinnamon, is found under Menu -> Preferences -> Startup Applications) and added a Custom Command with the full 'xinput set-button-map' command as shown in step 3 above.
  6. rebooted and tested once more; confirmed that it is now working as desired
Ler esta resposta 👍 0

Todas as respostas (2)

more options

You should look at your mouse driver software first that is what does the control and the Browser follows up on that.

more options

Solução escolhida

Thanks. I've fixed it with an xinput command that now runs on startup. For others who might be interested here's what I did:

  1. used xinput-list to dermine that my mouse was device 9
  2. used xinput query-state 9 while holding the relevant buttons to determine that they were buttons 8 & 9
  3. used xinput set-button-map 9 1 2 3 4 5 6 7 6 7 to remap these buttons to the behaviour of buttons 6 & 7 (NB: I had to experiment to find buttons that didn't have a pre-defined behaviour for Firefox, e.g. buttons 4 & 5 acted as up & down arrow inputs!)
  4. tested that side button 8 still worked for push-to-talk in Mumble while not interfering with Firefox
  5. opened Startup Applications (which, in Linux Mint 19 Cinnamon, is found under Menu -> Preferences -> Startup Applications) and added a Custom Command with the full 'xinput set-button-map' command as shown in step 3 above.
  6. rebooted and tested once more; confirmed that it is now working as desired

Alterado por cakemonitor em