Using your method, I was able to turn the appropriate buttons on in terminal, but the Mozilla applications Firefox and Thunderbird did not adhere to the change. At the moment, I'm back to Leap 42.2.