Historical: Linux-based prototype
Files
This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.
Files browses one folder tree, called the root. It starts read-only. A writable mode exists, with create, rename, copy, move and trash. It is implemented and tested with unit tests, visual tests and the VM. The operations are careful and small in scope. It is not a full file manager.
| Mode | When it is used | What it can do |
|---|---|---|
| Read-only | By default | Look, search, sort, preview small text files |
| Writable | Only when it is chosen at start, for one folder | The above, and the changes below |
From the desktop, Files opens read-only on the home folder. The virtual machine preview uses the writable mode. Files cannot switch its own mode while it runs.
Browsing
Section titled “Browsing”- Icon view and details view, with a details pane.
- Sort, search in the current folder, history and a path bar.
- Places: the root, and Desktop, Documents, Downloads, Games, Music, Pictures and Videos where they exist as real folders.
- Text preview for small files of common text types. Binary files are refused.
- Up to 4,096 entries are listed in one folder.
- In a narrow window, the places become an icon rail.
Operations in writable mode
Section titled “Operations in writable mode”| Action | Rule |
|---|---|
| New folder, new file | Never replaces anything. New files are private to you |
| Rename | Refuses if the new name exists |
| Duplicate | Adds (copy N) to the name |
| Copy, cut, paste | Never overwrites. Up to 64 MiB and 1,000 entries at once |
| Move to Trash | Asks first, with Cancel focused |
| Restore | Puts back the last item you trashed |
Moves across file systems are not supported and are refused. A large copy can make the window pause. That is why the size limit exists.
Security boundaries
Section titled “Security boundaries”- The root is the limit. Nothing above it can be opened from the app.
- Symbolic links are shown and blocked, so a link cannot lead out of the root.
- Every change is checked against the root and the mode.
- The app runs without extra privileges and never asks for them.
How it was tested
Section titled “How it was tested”Unit tests run the file operations in temporary folders. They cover names, symbolic links, limits, trash and restore. Visual tests cover both modes. They create one folder on a copy and cancel the trash question, so no real trash is touched. A check in a VM opens Files as writable and types a folder name with digits from the number row and the keypad.
Known limitations
Section titled “Known limitations”- No tabs, split view, multiple selection, thumbnails, archives, mounting, open-with or transfer list.
- Trash and places use English folder names.
- Network drives, removable drives and permissions changes are not handled.
- Search covers the current folder only.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Explanation |
|---|---|
| Nothing can be created or deleted | The window says Read-only. From the desktop, Files opens this way by default |
| A symbolic link cannot be opened | Links are blocked on purpose |
| Paste is refused | The source is over the size or entry limit, the name already exists, or the move crosses file systems |
What is planned
Section titled “What is planned”Tabs, previews, a transfer queue and mounts are planned. None of them has started.