summaryrefslogtreecommitdiffstats
path: root/desktop/flatpak/README
diff options
context:
space:
mode:
author Vincent Batts2017-01-23 19:33:31 +0100
committer David Spencer2017-01-24 01:21:55 +0100
commitf27ee67502e103c979c779a327e6b34b5bff4164 (patch)
tree514b687c2a68f7c39c9c159af0b0c9c833fd4463 /desktop/flatpak/README
parentf42700b6d61be01b02e54bc348e639ec946e68c4 (diff)
downloadslackbuilds-f27ee67502e103c979c779a327e6b34b5bff4164.tar.gz
desktop/flatpak: Added (sandboxing desktop applications).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/flatpak/README')
-rw-r--r--desktop/flatpak/README31
1 files changed, 31 insertions, 0 deletions
diff --git a/desktop/flatpak/README b/desktop/flatpak/README
new file mode 100644
index 0000000000..38ed8cb413
--- /dev/null
+++ b/desktop/flatpak/README
@@ -0,0 +1,31 @@
+Flatpak
+
+Flatpak is the new framework for desktop applications on Linux
+
+Distributing applications on Linux is a pain: different distributions in
+multiple versions, each with their own versions of libraries and packaging
+formats. Flatpak is here to change all that. It allows the same app to be
+installed on different Linux distributions, including different versions. And
+it has been designed from the ground up with security in mind, so that apps
+are isolated from each other and from the host system.
+
+Some of the examples from http://flatpak.org/#users are relying on polkit
+helpers, that expect a user in the 'wheel' group to have privileges for, but
+default polkit admin rule for slackware is just the root user.
+So, if you run a command like:
+```
+flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
+flatpak remote-add --from gnome-apps https://sdk.gnome.org/gnome-apps.flatpakrepo
+```
+as a limited user, you will get a polkit prompt for root's password. This is
+because the default location for establishing these repos is in
+`/var/lib/flatpak` and requires admin privileges.
+
+You can optionally add the flag `--user` to flatpak commands, and it will
+instead manage the repos in `~/.local/share/flatpak`.
+
+There are examples of flatpak runtimes and applications on their wiki:
+https://github.com/flatpak/flatpak/wiki/Examples
+
+The to have desktop launchers search by desktops like KDE and XFCE, it will
+require a logout, as /etc/profile.d/flatpak.sh will need to be sourced.