Disable holding alt/option for Troubleshoot Mode
As described in https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode, you can hold alt/option key to start Firefox in Troubleshoot Mode.
It turns out I'm using BetterTouchTool app on macOS and I assign individual keyboard shortcuts to launch (or bring to foreground) each application.
If I assign a keyboard shortcut for Firefox that involves the alt/option key, Firefox will start in Troubleshoot Mode. That is described here: https://community.folivora.ai/t/firefox-starting-in-safe-mode-when-launched-via-keyboard-shortcut/8939/7
Is there any way to disable that behavior or maybe change that key?
I appreciate your answer.
Solução escolhida
Finally found a solution: https://github.com/mcandre/dotfiles/blob/master/setenv.MOZ_DISABLE_SAFE_MODE_KEY.plist
Tested. It works perfectly.
Ler esta resposta no contexto 👍 0Todas as respostas (5)
You can possibly use an "Options + Shift" shortcut as holding only Options will trigger Troubleshoot Mode. On Windows this is the Shift key and thus less likely to cause issues.
Hmm, I assume the problem is that Firefox starts so quickly that it detects you are still holding down option/alt. (Otherwise, why would Firefox receive the option/alt key at all?) Is it possible to build in a delay so you have time to release the key before Firefox launches? In a bit of searching, it appears there is a "delay next action" option, but I don't know whether you can delay the initial action.
If you do not need to use Safe Mode then you can disable this troubleshooting feature via a policy.
@cor-el, I appreciate your suggestions. I tried to use policies, but it didn't work. According to https://support.mozilla.org/en-US/questions/1226264, it seems that DisableSafeMode only works using Windows GPO.
Adding Shift was not enough either.
@jscher2000, your delay suggestion worked, although it is a little inconvenient. Anyway, thank you!
Modificado por firefox.madrigaler a
Solução escolhida
Finally found a solution: https://github.com/mcandre/dotfiles/blob/master/setenv.MOZ_DISABLE_SAFE_MODE_KEY.plist
Tested. It works perfectly.