Cannot get xmodules to work on Microsoft Edge (flatpak) under Linux Mint 21

I followed the instructions here for the manual install and went ahead and run it for the following paths:


with the last one not even existing but it would be the one if edge was running natively.
Then also went ahead and run

flatpak override --user --talk-name=org.freedesktop.Flatpak

which should disable any sandboxing for edge. Rebooted. Nothing did the trick. RPA still shows all 3 xmodules as not installed.