sector-f-linux

Sector F Linux
git clone https://git.sectorflabs.com/sector-f-linux.git
Log | Files | Refs | README | LICENSE

commit ed770849b777ed61bed791a91751400a37d96d79
parent 0e7b6533facd0607ee67e02114a1fb478d2b1f33
Author: Divan Visagie <me@divanv.com>
Date:   Thu, 15 Oct 2026 23:44:46 +0200

Apps live in ~/Apps, not ~/Applications

"Apps" is the word people use, and it's short, like ~/bin. Each app
keeps its .app ending, so the launcher can tell it from other folders.

Diffstat:
MREADME.md | 2+-
Mdocs/adr/0002-an-app-is-a-folder-on-an-image-base.md | 6++++--
Mdocs/notes.md | 2+-
3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -16,7 +16,7 @@ Nothing is built yet; these are notes. See [docs/adr](docs/adr) for decisions an - **Built like any container.** The image comes from a Containerfile, built and pushed with the same tools and registries as Docker images, and as reproducible as we pin it. No from-scratch distro to maintain: Ubuntu provides the packages, we choose and arrange them. -- **An app is a folder.** `~/Applications/Name.app`, with an `app.toml` saying how to run it: +- **An app is a folder.** `~/Apps/Name.app`, with an `app.toml` saying how to run it: copy it in to install, delete it to uninstall, never touch the system. It runs on the base image it names by digest, in a thin jail, so system updates never break it (ADR-0002, ADR-0003). diff --git a/docs/adr/0002-an-app-is-a-folder-on-an-image-base.md b/docs/adr/0002-an-app-is-a-folder-on-an-image-base.md @@ -32,8 +32,10 @@ by digest, the same for everyone who runs it. ## Decision -- **An app is a folder** in `~/Applications`, named `Name.app`. Copying it in installs it, +- **An app is a folder** in `~/Apps`, named `Name.app`. Copying it in installs it, deleting it uninstalls it, and the app can update itself by writing to its own folder. + `~/Apps`, not `~/Applications`: "apps" is the word people use, and it's short, like `~/bin`. + The `.app` ending stays, so the launcher can tell an app from any other folder there. Nothing is installed anywhere else and nothing needs root. - **`app.toml` says how to run it**: its name, the binary to run (`exec`, relative to the folder), its icon, categories, the file types and URL schemes it opens, the commands it @@ -49,7 +51,7 @@ by digest, the same for everyone who runs it. can be allowed later. ``` -~/Applications/Teleprinter.app/ +~/Apps/Teleprinter.app/ app.toml # name, exec = "bin/teleprinter", icon, categories, # file types, URL schemes, commands, base bin/teleprinter diff --git a/docs/notes.md b/docs/notes.md @@ -33,7 +33,7 @@ the system's are blurred: a user's app often needs something installed system-wi the system is locked, and apps live in the home folder, on the ZFS pool, snapshotted with the rest of the user's data, never needing the system changed. -**The native way** (proposed): an app is a folder, `~/Applications/Name.app`, with an +**The native way** (proposed): an app is a folder, `~/Apps/Name.app`, with an `app.toml` saying how to run it, run on an OCI base image named by digest (ADR-0002), in a thin jail (ADR-0003). In short: thin jails for desktop apps, with OCI images as the base.