@mitu Off course this will work. However each time I want to change another item have to create the retroarchcfg file again. When I use a simple copy script all other settings can't be changed anymore. So each time I go to the retroarch menu and change something the retroarch.cfg gets overwritten. So using two files (one with and one without the disabled hotkey) just isn't a working solution. I really want to be able to make it independent of other changes in the file I sometimes do using the retroarch menu.
A script that edits that single line is the best solution, however I'm just not clever enough to make the script.