Hello. /etc/X11/chooser.sh from xinit-1.0.1 (from modular X11-R7) contains a bug that has been fixed before, in X11R6.8. See #72707.
Fixed, thanks.