Dr Racket. Keybinding to Alt+F

Can I suppress the menu keyboard shortcuts with the alt key in DrRacket on linux and make my own keybinding to alt+f alt+s etc?

I found that I need to change gtk3 settings: gtk-enable-mnemonics = 0

It disables alt-menu for all gtk3 apps.
I assume it might be possible to apply these settings to one specific application, but I didn't find how.

I think you want to uncheck the “Enable keybindings in menus” preference: