flatpak copies this file https://github.com/flatpak/ppa-flatpak/blob/ubuntu/bionic/profile/flatpak.sh to /etc/X11/Xsession.d/20flatpack when installing.
flatpak copies this file https:/ /github. com/flatpak/ ppa-flatpak/ blob/ubuntu/ bionic/ profile/ flatpak. sh to /etc/X11/ Xsession. d/20flatpack when installing.