Skip to content

Commit

Permalink
Add new option --firejail or --sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Dec 12, 2023
1 parent 4f609d0 commit 9c94a4d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Since version 5, AM can be used exactly like AppMan if not installed regularly.
- [Install/update/remove programs without "AM"](#installupdateremove-programs-without-am)
- [Rollback](#rollback)
- [Manage local AppImages](#manage-local-appimages)
- [Sandbox using Firejail](#sandbox-using-firejail)

[Create your own script](#create-your-own-script)

Expand Down Expand Up @@ -428,6 +429,15 @@ NOTE: to mantain the name "appman" in this case is important to use some dedicat

DESCRIPTION: Enable bash-completion to complete a keyword with the "TAB" key, using the names of all installable applications available.
___________________________________________________________________________

`--firejail`, `--sandbox`

SYNOPSIS:

`--firejail {PROGRAM}`

DESCRIPTION: Run an AppImage in a sandbox using Firejail.
___________________________________________________________________________

`--launcher`

Expand Down Expand Up @@ -584,6 +594,16 @@ Since version 4.4.2 you can use the `--launcher` option to integrate your local

https://github.com/ivan-hc/AM-Application-Manager/assets/88724353/c4b889f4-8504-4853-8918-44d52084fe6c

------------------------------------------------------------------------
# Sandbox using Firejail
Since version 5.3 you can use the `--firejail` option to run AppImages using a sandbox (requires Firejail installed on the host).

At first start a copy of /etc/firejail/default.profile will be saved in your application's directory, so you're free to launch the AppImage once using the default Firejail profile (option 1) or the custom one (2), you can also patch the .desktop files (if available) to in sandbox-mode always (options 3 and 4). You can handle the custom firejail.profile file of the app using `vim` or `nano` using the option 5 (the first selection is `vim`).

Options 1, 2 and 5 are continuous to let you edit the file and test your changes immediately. Press any key to exit.

NOTE: once patched the .desktop files (options 3 and 4), they will be placed in ~/.local/share/applications, this means that if you have installed apps using AppMan, the original launchers will be overwrited.

------------------------------------------------------------------------
# Troubleshooting
### An application does not work, is old and unsupported
Expand Down

0 comments on commit 9c94a4d

Please sign in to comment.