From 62b035968fc47afc0857e955c6b644a8a4c72c5f Mon Sep 17 00:00:00 2001 From: "Ruan E. Formigoni" Date: Sun, 28 Apr 2024 05:55:08 -0300 Subject: [PATCH] Updated README.md --- README.md | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 16cf15d..4650a9c 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,11 @@ - [HOME directory](#home-directory) - [Backend](#backend) - [Desktop Integration](#desktop-integration) + - [Desktop Entry and File Manager Icon](#desktop-entry-and-file-manager-icon) + - [XDG-Open](#xdg-open) - [Overlayfs](#overlayfs) - [Hooks](#hooks) + - [Portals](#portals) - [Use cases](#use-cases) - [Use pacman packages on non-arch systems](#use-pacman-packages-on-non-arch-systems) - [Use apt packages in non-debian systems](#use-apt-packages-in-non-debian-systems) @@ -27,10 +30,12 @@ - [Outside the container](#outside-the-container) - [Inside the container](#inside-the-container) - [Samples](#samples) + - [Portable steam](#portable-steam) + - [Portable wine](#portable-wine) - [Usage Inside Docker](#usage-inside-docker) -- [Motivations](#motivations) -- [Further Considerations](#further-considerations) - [Architecture](#architecture) +- [Further Considerations](#further-considerations) +- [Motivations](#motivations) - [Related Projects](#related-projects) ## What is FlatImage? @@ -244,6 +249,15 @@ command: $ find ~/.local/share -iname "*flatimage*" -exec rm -v "{}" \; ``` +#### XDG-Open + +Flatimage redirects `xdg-open` commands to the host machine + +Examples: + +* Open a video file with the host default video player: `xdg-open my-file.mkv` +* Open a link with the host default browser: `xdg-open www.google.com` + ### Overlayfs Overlayfs is automatically enabled for all compressed filesystems. @@ -280,16 +294,6 @@ To insert a post hook, just use the directory `post` instead. $ ./arch.flatimage fim-hook-add-post ./my-post-hook ``` -#### XDG-Open - -Flatimage redirects `xdg-open` commands to the host machine - -Examples: - -* Open a video file with the host default video player: `xdg-open my-file.mkv` -* Open a link with the host default browser: `xdg-open www.google.com` - - ## Portals Flatimage has a portal mechanism to dispatch commands to the host machine.