mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-04 23:25:54 -04:00
e14247f0a9597cbd1b22a0810e09f0c7a72dc6d9
Previously ina0505f52d9the profile script was modified to preserve XDG_DATA_DIRS. This had the side-effect of making the script not idempotent, adding duplicate entries for every installation every time it's sourced. On my current system that results in this value: /home/mkhl/.local/share/flatpak/exports/share /var/lib/flatpak/exports/share /home/mkhl/.local/share/flatpak/exports/share /var/lib/flatpak/exports/share /usr/local/share /usr/share which in turn has the side-effect of the GNOME search settings showing two entries for every application installed via flatpak. This change makes the script check that an entry is new before adding it. It also uses `set -p` (short for `--prepend`) to add them. N.B. `set -p VAR val` is equivalent to `set VAR val $VAR` `$var[-1..1]` reverses the order of elements so after iterating the first element of `$installations` becomes the first element of `$XDG_DATA_DIRS` (cherry picked from commit16707a1937)
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux.
See https://flatpak.org/ for more information.
Community discussion happens in #flatpak:matrix.org, on the mailing list, and on the Flathub Discourse.
Read documentation for Flatpak here.
Contributing
Flatpak welcomes contributions from anyone! Here are some ways you can help:
- Fix one of the issues and submit a PR
- Update flatpak's translations and submit a PR
- Improve flatpak's documentation, hosted at http://docs.flatpak.org and developed over in flatpak-docs
- Find a bug and submit a detailed report including your OS, flatpak version, and the steps to reproduce
- Add your favorite application to Flathub by writing a flatpak-builder manifest and submitting it
- Improve the Flatpak support in your favorite Linux distribution
Hacking
See CONTRIBUTING.md
Related Projects
Here are some notable projects in the Flatpak ecosystem:
- Flatseal: An app for managing permissions of Flatpak apps without using the CLI
- Flat-manager: A tool for managing Flatpak repositories
Description
Languages
C
91%
Shell
5.1%
Python
1.8%
Meson
1.2%
Yacc
0.8%
