Flatpak: Difference between revisions

From Alpine Linux
No edit summary
No edit summary
Line 3: Line 3:
Flatpak is a technology for building and distributing desktop applications on GNU/Linux.
Flatpak is a technology for building and distributing desktop applications on GNU/Linux.


There are currently 3 main [[runtime]]s available:
* [https://docs.flatpak.org/en/latest/available-runtimes.html Flatpak - available runtimes]
* [http://docs.flatpak.org/en/latest/available-runtimes.html Freedesktop]
 
** [[GNOME]] (based on the Freedesktop runtime)
** [[KDE]] (based on the Freedesktop runtime)
These are all hosted on [https://flathub.org/ Flathub.org].
These are all hosted on [https://flathub.org/ Flathub.org].



Revision as of 16:37, 7 December 2021

This material is work-in-progress ...

More documentation and testing required.
(Last edited by Guest09248 on 7 Dec 2021.)

Flatpak is a technology for building and distributing desktop applications on GNU/Linux.

These are all hosted on Flathub.org.

Fixing Audio Issues

If you have a minimal setup and don't have access to audio devices you will need to set the XDG_RUNTIME_DIR variable. Save the following script in /etc/profile.d/xdg_runtime_dir.sh and re-login to have it set up properly.

if test -z "${XDG_RUNTIME_DIR}"; then
  export XDG_RUNTIME_DIR=/tmp/$(id -u)
fi

When you launch a Flatpak you will need to start pulseaudio as well:

pulseaudio --start && flatpak run com.example.Example