Plasma/Mobile/SettingUpFlatpak
Appearance
Use with precaution
$ sudo -i
echo "deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial main" > /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-xenial.list
apt update
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C793BFA2FA577F07
ntpdate pool.ntp.org
apt install flatpak
chmod o+s /usr/lib/flatpak/flatpak-bwrap
flatpak remote-add gnome --from https://sdk.gnome.org/gnome.flatpakrepo
flatpak remote-add gnomeapps --from https://sdk.gnome.org/gnome-apps.flatpakrepo
flatpak install gnomeapps org.gnome.gedit
To run
flatpak run org.gnome.gedit