# Previews

> Select a file and Skwir shows what’s inside it, beside the list, without opening another app. Here is what each kind of file can do, what it needs, and how to print it or make it smaller.

Page: https://skwir.org/docs/previews

## The panel, quick look and Properties

- **The preview panel** follows the selection: move down the list and it changes with you. **Preview** and **Properties** are two switches, the buttons at the top right: F11 shows or hides the preview, Alt+Enter or Ctrl+I Properties, and the panel is there while either is on. *More › Preview position* (the **⋯** button) can put it at the bottom.
- **Quick look** (Space) opens a large preview over the window. The arrow keys walk the files; Space or Esc closes it. Hold Space instead to look only until you let go.
- **Properties** (its button, Alt+Enter or Ctrl+I) shows under the file’s name, over the preview or filling the panel alone: exact size, folder, owner and permissions, dates, the file’s tags, rating and comment, and what the format records (a song’s album, a photo’s size, a book’s author, an archive’s unpacked size). Click a value to copy it; a folded group says its gist. **Access**, where the permissions change, says as you type what a mode comes to, and refuses one `chmod` would not take before **Change**. *Changed* says when anything about the file last changed (a new name, its permissions or tags), *Modified* when its contents did. With the preview alone, a folder shows its icon and how many items it holds. Over a preview, Properties takes at most half the panel; drag the gap between them to give either more room (brought near half way, it stays there).
- **A folder shows its README** in the preview, or the cover of an album or a photo folder (`cover.jpg`, `folder.jpg`), when it holds one: the folder selected, or the one you are in while nothing is selected. Its card, its count and its Properties stay the folder’s; the bar’s **×** leaves the file for the folder’s count. *Settings › Folders and views › Previews* turns it off or changes the names looked for: add any name or pattern (`index.html`, `*.nfo`), remove one, or drag one to change the order. A file Skwir can’t preview is passed over for the next one found.

*Quick look on a PDF: the panel’s tools, with more room.*

Each kind of file has its tools in the bar under the header. **Source**, **3D**, **Full preview** and **View as hex** stand at its end, beside **⋯**, each lit while it is on, so a tool you click stays under the pointer; in a narrow panel the rarer ones move into **⋯**, which also has *Open With*, as the file’s menu does. The tools stay as you go through a file of several parts (a workbook’s sheets, a book’s chapters): an arrow with nowhere to go is greyed out, not gone. Previews only read: looking at a file never changes it.

- **Zoom and scroll**: Ctrl and the wheel zoom any preview around the pointer. Once you click in a preview, the arrows scroll it and turn its pages, and what is wider than the panel scrolls sideways. A picture larger than the panel moves with a drag, and a page where there is no text to select; the middle button’s drag moves either anywhere ([Documents](https://skwir.org/docs/previews#documents)). A notch of the wheel moves a document 120 pixels, as browsers do, or turns a page when it is read a page at a time.
- **Text size**: text, code, tables and bytes open at the size *Settings › Reading* gives what you read and code ([Text sizes](https://skwir.org/docs/settings#text-sizes)). The bar’s **−** and **+**, or Ctrl+= and Ctrl+- in the preview, change the file shown only; its menu goes back to the size Settings says.
- **Contents**, the bar’s first button, lists a document’s outline, a book’s chapters, a file’s headings or a history’s tags, nested as deep as they go, with the part you are in highlighted as you read; it is greyed out where there is nothing to list. Choosing a part goes there and closes them; the **pin** at their top keeps them open beside the text instead, from chapter to chapter and file to file, and is remembered.
- **Find** (Ctrl+F) marks every match and goes from one to the next with Enter or F3. When nothing matches, it says so under what you typed.
- **Source** shows the text of a rendered file (Markdown, HTML, a table, a message). It stays on for every file of that type, after a restart too, until you turn it off.
- **Full preview**: to stay quick, a preview reads only so much of a very large file (a long document’s first part, a wide table’s first columns) and says so. Full preview, in the bar, reads all of it, for that file, and stays lit; click it again for the quick preview.
- A file that can’t be shown as it should (invalid, or too large to lay out) shows its text instead, saying why.

## Full screen and slideshow

F, the bar’s **Fullscreen** button, or a double click on a picture or a film puts a picture, a document, text or a film on the whole screen; F or Esc brings it back. The arrows go to the next picture in the folder, or turn the page. Over a picture or a film the bar hides while the pointer rests; C hides or shows it.

Space on the whole screen plays the folder’s pictures as a **slideshow**, each for the time its bar says; the next picture is ready before it shows. The screen stays awake while a slideshow or a film plays.

## Links in what you read

- A link in a document opens with a click. Paths written in text, code and Markdown, and addresses in plain text, are links while you hold Ctrl: Ctrl+click follows one. Paths are looked up on this machine only.
- A link to a heading or a line (`#setup`, `#L12`) lands there, and Obsidian’s `[[links]]` find their notes. Inside an archive, links lead to the archive’s own files.
- A link to a file shows it in Skwir; **Back** returns to the document. A web address opens in your browser.

## Documents

- **PDFs** open in a reader: a page at a time or continuous, zoom, find, contents, links, and text you can select and copy. A PDF that numbers its front matter in roman numerals is counted as printed. A first page that is slow to draw, such as a scanned cover, shows at once, blurred, then sharp. Skwir carries **PDFium**; **Poppler** and **MuPDF** are optional (*Settings › Reading*, *Document engine*).
- **DjVu** books and scans open in the same reader, with search, text selection, links and contents where the document has them. Skwir carries the djvu-rs reader; with the optional `skwir-djvulibre`, DjVuLibre reads them instead.
- **A page zoomed in is drawn sharp at that zoom**, a PDF’s, a DjVu’s or a comic’s, however tall the page: a webtoon’s strip opens, and its text stays sharp at 400 % on a dense screen.
- **A page zoomed in moves with a drag** where there is no text to select: its margins and pictures, a page without text, the room around and between pages. The middle button’s drag moves it anywhere, and **Drag to move the page**, in the reader’s bar (H, or *Settings › Reading › Pages*), makes a drag across the text move it too, rather than select. The pointer shows what a press will do; a link is followed only on a click.
- **Word and OpenDocument text** read as text, at once and fitted to the panel: headings, lists, tables, footnotes, links and pictures. Set *Text documents* to *Pages* to see them as LibreOffice prints them, or to *Pandoc*. RTF goes through Pandoc.
- **Spreadsheets and presentations** are shown as pages, converted by LibreOffice in a sandbox and kept in the cache. On Linux, this requires a working bubblewrap sandbox. Excel workbooks open as tables by default, no LibreOffice needed.

Password-protected PDFs, editing and annotations aren’t supported yet.

## Books and comics

**EPUB**, **FB2** (zipped too) and Kindle’s **MOBI** and **AZW3** books, and PalmDOC texts, all read the same way: the text reflows to the panel’s width, chapters follow one another as you scroll, and a footnote opens right under its reference. Change the text size, let lines use the full width, or count a book in the page numbers of its printed edition. A book’s sections are indented under its chapters in its contents. Fixed-layout books (picture books, comics) show their pages as designed. A book protected by DRM, and Amazon’s KFX books, say so and are not read.

**Continuous scrolling**, in the bar after *Full width*, can be turned off: the book then turns a screen at a time, each ending at a whole line. A notch of the wheel, ↓, Page Down or → turns on; ↑, Page Up or ← turns back. Everything read the same way turns so too (Markdown and web pages in reading mode, word processors’ documents, e-mail), and *Settings › Reading* remembers the choice.

*Book engine*, in *Settings › Reading*, is *Automatic*, which reads every book with Skwir’s own engine, or **MuPDF** (optional), which lays EPUB, FB2, MOBI and PalmDOC books out in pages in the document reader; Skwir’s engine still reads what MuPDF doesn’t.

**Comics** (CBZ, CBR, CB7, CBT) open in the reader, a page at a time or as a strip.

## Pictures

Common formats open at once, with zoom and fit; SVG stays sharp however far you zoom. **A picture is drawn at the size it is shown**, as sharp as your screen allows, however large it is: zoomed in, a photo stays sharp. A picture zoomed past the panel moves with a drag, and a double click still puts it on the whole screen. Stepping through photos is quick: the next one is read ahead, in the panel, in quick look and on the whole screen, those just seen are kept, and a large one shows at once, blurred for a moment.

**JPEG XL** is read by Skwir itself, and so is a **camera’s raw file**, by the full-size photo the camera stored in it (Nikon, Canon CR2 and CR3, Sony, Adobe DNG, Pentax, Samsung, Panasonic, Fujifilm). **HEIC and AVIF** photos from phones are read through libheif by the `skwir-heif` package on Debian, Ubuntu and Fedora (HEIC on Fedora needs RPM Fusion’s `libheif-freeworld` too), by `skwir` with `libheif` on Arch, and by the AppImage and the tarball as they come; zoomed in, only the part shown is decoded. Thumbnails included, all of them show as any picture does.

Photoshop and GIMP files, JPEG 2000, a raw file that carries no photo (a phone’s DNG) or from another camera (Olympus, Sigma), and HEIC or AVIF where `skwir-heif` isn’t installed are drawn by your desktop’s thumbnailer for them, or by ImageMagick (*Use ImageMagick*, on by default). On Linux, thumbnailers run isolated from your files and the network when a working bubblewrap sandbox is available; otherwise, they can run without isolation. ImageMagick requires the sandbox and does not run without it.

## Music and video

One player for both: play, seek, volume, speed (pitch kept), audio and subtitle tracks, and full screen. Songs show their cover in a ring that moves to the music; a film made to be stretched (anamorphic) shows its poster in its own shape, and one a phone shot upright plays upright, as its thumbnail shows it. **Fit** makes a film as large as its view, a small one enlarged, as players do; a picture’s Fit only ever shrinks it.

**Keep playing while you browse** is on by default: start a song and carry on, and it plays on in a small player at the foot of the panel, with Fullscreen, its speaker and a menu for the speed and tracks. The footer and your keyboard’s media keys control it too; Previous and Next walk the folder or the playlist. Playlists (M3U, PLS, XSPF, CUE) list their tracks; nothing is fetched from the internet.

**The speaker**, there and in a film’s or a song’s bar, opens the volume above itself: its level, an upright slider and Mute. ↑ and ↓ step it, as the wheel over the speaker does. **The player follows the file it plays**: renamed or moved, by Skwir or another program, a track plays on under its new name; deleted, it ends as at its end, and with *Play next* or *Shuffle* the next one plays. A film plays to its end before the next opens, with a short gap; music goes on without one.

**Play**, in a file’s menu, plays without opening the preview: music in that player (the tracks selected, in their order, a playlist’s tracks, or a song with the rest of its folder after it), a film in quick look. The file playing has a speaker on its icon in every view, pause bars while paused; a click on it pauses or plays on.

> **Needs a helper:** Playing needs the optional **`skwir-media`** package and GStreamer’s plugins. **ffmpeg** adds album covers.

## Archives

A zip, tar, 7z or other archive shows what it holds as a tree, with sizes and the unpacked total. Click a file inside and it opens as what it is: a photo to zoom, a PDF in the reader. The header becomes a trail (`Field kit.zip › shoreline.jpg`); click a step or press Esc to go back. Nothing is extracted to your disk unless you choose **Extract Here** in the archive’s menu.

*A photo previewed from inside a zip, under the archive’s tree.*

An archive inside an archive opens too, one level deep. Encrypted archives need another app for now.

## Text, code and data

- **Markdown and HTML** open in a reading mode, with a switch to the source. Scripts never run and nothing is loaded from the internet. Mermaid diagrams, architecture diagrams included, are drawn with the optional `skwir-mermaid` package.
- **Right to left**: a Hebrew or Arabic paragraph, heading, list item or table cell starts at its right, in Markdown, web pages, books and e-mail alike, its marker, quotation bar and indent on that side; a page that says it reads right to left runs its tables from the right. Code reads left to right on every line, whatever letter starts it.
- **Jupyter notebooks** read like documents: text cells, code, and what each cell printed or plotted. A result Jupyter shows as HTML is read like an HTML file, so a pandas table is a table, and pictures pasted into a cell are shown. Each cell is read on its own, as Jupyter reads it.
- **Formulas** are typeset, in their line or centered on one of their own, with the optional `skwir-math` package: Markdown’s `$…$`, `$$…$$` and fenced `math` blocks (GitHub’s), a notebook’s math as Jupyter finds it, in its text and in what its cells return, MathML in web pages, books and e-mail, and the TeX of a page written for MathJax or KaTeX, such as an exported notebook. They take the text’s color and size and copy as their TeX; an equation is numbered by its `\tag`, as in Jupyter. Without the package, a formula shows as its TeX, as code.
- **Code** is colored by bat’s grammars, those you added to bat or Sublime Text, or a **tree-sitter grammar**: one your editors or your system installed (Zed’s extensions, Helix, Neovim, Emacs, the tree-sitter CLI, `/usr/lib/tree_sitter`), or one you put in `~/.local/share/skwir/grammars`. *Settings › Reading › Grammars* lists the languages, with the files each colors, and chooses what colors each: *Automatic* (bat first), bat, the tree-sitter grammar of one of the places it was found, or plain text. Under the languages, *Where grammars were looked for* lists each folder read and what it held, and first what was nearly found, with what to do: a repository a folder too deep, a library with nothing to color with. A grammar that can’t be used says why. A language bat doesn’t know, such as Svelte, is colored by its tree-sitter grammar. With a tree-sitter grammar, the code view folds where the grammar says, and Contents lists the file’s definitions, each leading to its line. Code blocks in documents are colored the same way, in Skwir’s theme or any of bat’s, yours included.
- **JSON, YAML and TOML** fold section by section; files with comments are shown exactly as written. XML is colored as XML under other names too: a `.ofx` that says it is XML, `.xliff`, `.xsl`, `.atom` or `.rdf`, or a file with no extension. A script with no extension is colored by its `#!` line.
- **Tables**: CSV and TSV, JSON Lines, Excel workbooks and SQLite databases (opened read-only), recognised by what they hold rather than by their name. A CSV is split by the separator it uses (commas, semicolons, tabs or pipes, or what a `sep=` first line says), which its details name. Click a column’s header to sort by it; drag the edge at its right to widen or narrow the column, and double-click the edge to fit it to its content again.
- **Any file** can be viewed as bytes, with a jump to an offset and a search for text or bytes.

## History

**History**, in the bar of a folder or a file in a Git repository, lists the commits that changed it, newest first: each with its summary, the branches and tags at it, its short hash, its author and its date. The bar names the branch checked out (*Git history · main*), and the repository’s top folder draws the graph of its merges down the commits’ start. A file’s history follows it across its renames, as `git log --follow` does.

- **A commit opens as its patch** below the list, colored as a diff, which you can search and copy. The arrows walk the commits, each patch shown in turn.
- **Contents** lists the tags, newest first, each with its day; the release the commits at the top went into is highlighted as you scroll, and choosing one goes to its commit.
- **Right-click a commit** to copy its hash, whole or short, or its summary; Ctrl+C copies the whole hash.
- **Chosen on a folder**, History stays on for every folder in a repository until you turn it off; on a file, it is for that file.
- The first 500 commits show at once, and **Full preview** reads on, to 100,000.

The history is read by a helper Skwir carries, not by the `git` program: nothing a repository’s configuration names is run, and nothing is written to it. The files’ own Git marks are in [Browsing and views](https://skwir.org/docs/browsing-and-views#git).

## 3D models

Models turn in the preview, drawn by your graphics card: drag to turn one, Shift+drag or the middle button to move it, the wheel to zoom. Once you click it, the arrows turn it too, and Ctrl+0 shows it as it opened.

- **STL, OBJ, PLY, glTF and 3MF** meshes, and **STEP** and **IGES** models from CAD programs, each part where its assembly places it, in the file’s own colors. **Rhino** files turn the meshes they store. Each is measured: size, volume, whether it is watertight.
- **Perspective** and **Smooth shading** are in the bar. **3D** switches to the picture a model stores, or one drawn from three sides, and Skwir remembers your choice for that kind of file.
- **Blender, SketchUp, FreeCAD and DWG** files show the picture stored inside; **DXF** drawings and **G-code** are drawn from what they hold.

## Fonts, maps and more

- **Fonts** show a specimen and every character they hold. Find sets your own sample text.
- **Circuit boards**: KiCad boards and schematics as KiCad shows them, Gerber and drill files layer by layer.
- **Tracks and flight plans** (GPX, KML, GeoJSON, FIT and more) appear on a map with their distance, time and climb. The map is drawn offline; a background that downloads tiles is used only if you choose one. **Offline maps** in PMTiles or MBTiles files show what they hold.
- **Emails** (.eml) show their headers and message, never fetching remote content, and attachments you can preview.

> **Tip:** Each kind of preview is a plugin you can turn off in *Settings › Plugins*. Plugins from outside Skwir can add their own there.

## Printing

**Print…** (Ctrl+P, the file’s menu, or the preview’s **⋯** menu) prints a file as its preview shows it: a PDF as it is, an office document as its pages, a text or source file numbered and colored, a table with its header on every page, a Markdown document or a book as it reads, a picture fitted to the page. Each block prints in its own direction, Hebrew and Arabic from the right and code from the left, and a listing as the window runs. Skwir’s dialog asks first:

- **To**: a printer, or a PDF (Undo puts it in the Trash). **Save as** says where it goes, folder and name in one line: beside the file at first, its name but `.pdf` selected, so typing renames it. Type a folder from `/` or `~` and its folders are offered under it as you type (Tab fills in, ↓ goes into the list); the button at its end offers the other pane’s folder, the folders you chose before and the sidebar’s places. It says when the folder already holds that name, and why it can’t save there. The folder you choose is kept for the next PDF.
- **Pages**: all, the page the preview shows, what is selected in it, or pages you type (`1-3, 7, 10-`).
- **Layout**: as shown, or a **booklet** of two, four or eight pages a side, its pages in the order they fold in. The dialog draws each sheet with the pages where they land, marks the folds in the margins, and says how to fold once it is made. **Bound on the right** folds it for a book read from the right, preset from the document: a PDF’s or a book’s declared direction, a manga’s `ComicInfo.xml`, else its text’s first letters.
- **Paper**, when saving a PDF: A4, Letter, A5, A3 or Legal, your locale’s at first. **Smaller file** makes the PDF smaller as it is saved.

↑ and ↓ (or Space) change the choice that has the keyboard, and Enter prints. Your system’s own dialog then chooses the printer, the paper, the copies and the sides. On a printer that prints one side, print a booklet’s odd sides, turn the sheets over, then print the even ones. The dialog opens on what you chose last.

- **Several files** selected print as one job, in their order, or make one PDF of them all or one each; a file with nothing to print (a song) is left out, and said. With pictures among them, **Contact sheet** prints them several to a page, each named under it.
- **With nothing selected**, **Print Listing…** (the menu of the files’ background, or Ctrl+P) prints what the pane lists, wherever it is (a folder, a search, a tag, the Trash, Recent), as it shows it, filtered or not, in its order, as a table of names, kinds, sizes and dates. Where the files come from several folders, it prints the folder each is in; in the Trash, when each was deleted.
- A saved PDF’s notice says the folder it went in, with **Show** when no pane shows that folder.
- A print shows its progress, with **Cancel**, while its PDF is made. Printing goes through your desktop’s print dialog for applications (xdg-desktop-portal’s); without one, save a PDF instead.

From a script, with or without the window open: `skwir cmd --apply print.save_pdf '{"entries": ["/path/to/notes.md"]}'` saves a PDF beside the file ([Scripts and agents](https://skwir.org/docs/scripts-and-agents#printing-and-smaller-copies)).

## Smaller copies

**Reduce Size…** (in the *Compress* submenu of a JPEG or PNG picture or a PDF, or the preview’s **⋯** menu) makes a smaller copy beside each file, named after it (`scan (reduced).pdf`), and leaves the file itself untouched; Undo puts the copy in the Trash. Choose how small:

- **Lossless**: nothing re-encoded at a loss; what a PDF stores twice is kept once, and a scan’s black-and-white pages are written without loss (JBIG2).
- **Print**, **Screen** or **Small**: pictures at most 3840, 1920 or 1280 pixels across; a PDF’s images at most 300, 150 or 96 dots per inch, as drawn on its pages.

Beside them, **In gray**, **Remove location and camera details** (a photo’s date stays) and **At most** a size (`2 MB`: smaller steps are tried until it fits). A PDF keeps its text, links, forms and outline: only its images change, and a page that would look different keeps its own. A copy that would not be smaller is not made, and a PDF protected by a password or signed is left as it is; Skwir says so. It shows its progress, with **Pause** and **Cancel**.

## Supported formats

“—” means nothing else to install.

| Kind | Formats | Also needs |
| --- | --- | --- |
| Documents | PDF · DjVu · Word, OpenDocument text, RTF · Excel, PowerPoint and OpenDocument spreadsheets and presentations as pages | LibreOffice for pages, Pandoc for RTF |
| Books and comics | EPUB, FB2, MOBI, AZW3, PalmDOC · CBZ, CBR, CB7, CBT | — |
| Pictures | PNG, JPEG, JPEG XL, GIF, WebP, BMP, TIFF, ICO, QOI, TGA, PNM, OpenEXR, DDS, SVG · camera raw files, by the photo they carry | — |
| Phones’ pictures | HEIC, AVIF | `skwir-heif` (`libheif` on Arch) |
| More pictures | JPEG 2000, other raw files, Photoshop, GIMP | A thumbnailer for them, or ImageMagick |
| Music and video | MP3, FLAC, Ogg, MP4, MKV, WebM, ASF and what GStreamer plays | `skwir-media` and GStreamer’s plugins |
| Playlists | M3U, M3U8, PLS, XSPF, CUE | — |
| Archives | ZIP, TAR, 7z, RAR and what libarchive reads | — |
| Text and markup | Markdown, HTML, Jupyter notebooks · code in over 200 languages, more with tree-sitter grammars | `skwir-mermaid` for diagrams, `skwir-math` for formulas |
| Formulas | TeX in Markdown, notebooks and pages written for MathJax or KaTeX · MathML | `skwir-math` |
| Git | The history of a repository’s folders and files, their commits and patches | — |
| Data | JSON, JSONC, JSON5, YAML, TOML, XML · CSV, TSV, JSON Lines · Excel workbooks · SQLite | — |
| Fonts | TTF, OTF, TTC, WOFF, WOFF2 | — |
| 3D and CAD | STL, OBJ, PLY, OFF, glTF, 3MF, STEP, IGES, Rhino · Blender, FreeCAD, SketchUp, LayOut, DWG (stored picture) · DXF · G-code | f3d for other models |
| Electronics | KiCad boards, footprints, schematics, symbols · Gerber · Excellon drill files | — |
| Maps | GPX, KML, KMZ, GeoJSON, TCX, FIT, IGC, NMEA · flight plans and drone missions · PMTiles, MBTiles | — |
| Email | EML and its attachments | — |
| Anything else | The bytes, in hexadecimal | — |

## Optional helpers

The `skwir` package carries the helpers for PDFs, DjVu, archives, 3D models, code’s tree-sitter grammars, Git histories, printing and smaller copies; they run apart from the window, so a difficult file never freezes it. The rest is optional. *Settings › Plugins* says what each preview is waiting for.

On Linux, bubblewrap must be installed and allowed to create user namespaces for sandboxed conversions. If the sandbox cannot start, LibreOffice and ImageMagick conversions are unavailable; Skwir does not retry them without isolation.

| Helper | What it adds | Debian and Ubuntu packages |
| --- | --- | --- |
| `skwir-media` | Music and video | `skwir-media`, `gstreamer1.0-plugins-good`, `-bad`, `-ugly`, `gstreamer1.0-libav` |
| `skwir-heif` | HEIC and AVIF pictures, read by libheif | `skwir-heif` |
| `skwir-poppler` | PDFs read by Poppler | `skwir-poppler` |
| `skwir-djvulibre` | DjVu read by DjVuLibre | `skwir-djvulibre` |
| `skwir-mupdf` | PDFs and books laid out in pages by MuPDF | `skwir-mupdf` |
| `skwir-mermaid` | Mermaid diagrams in Markdown | `skwir-mermaid` |
| `skwir-math` | Formulas typeset in Markdown, notebooks, web pages, books and e-mail | `skwir-math` |
| LibreOffice | Office files as pages | `libreoffice`, `bubblewrap` |
| Pandoc | RTF, or every text document if you choose it | `pandoc`, `bubblewrap` |
| ffmpeg | Album covers | `ffmpeg` |
| A thumbnailer, or ImageMagick | Photoshop, GIMP, JPEG 2000, the raw files Skwir doesn’t read, and HEIC and AVIF without `skwir-heif` | `imagemagick` and `bubblewrap`, or a thumbnailer for them |
| f3d | Pictures of the 3D models Skwir doesn’t read itself | `f3d` |

Other distributions use similar names (`gst-plugins-good`, `gst-libav` on Arch). On Arch, the `skwir` package already holds the player, the Poppler and DjVuLibre readers and the HEIC and AVIF reader, which want `gst-plugins-base`, `poppler-glib`, `djvulibre` and `libheif`; on Fedora, HEIC also needs RPM Fusion’s `libheif-freeworld`. Tree-sitter grammars come from your editors or the tree-sitter CLI ([Text, code and data](https://skwir.org/docs/previews#text-code-and-data)). Servers have helpers of their own: see [What to install](https://skwir.org/docs/servers-phones-and-cameras#what-to-install).

```sh
sudo apt install skwir-media skwir-heif skwir-math libreoffice bubblewrap ffmpeg gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
```
