Skip to content

Releases

Nordend 0.9.0

Choose a tag to compare

@pankaspe pankaspe released this 16 Nov 10:57

Archives, first part. Asked for by @veinhusk in #13.

Browsing

  • zip, tar, tar.gz and .gz open like folders (Enter or a double click). They are read by Nordend's own code, in the caged helper (seccomp and landlock), and fuzzed.
  • The path bar shows the archive's step with an archive icon and a "read-only" mark; the status bar says "zip archive · read-only · 3 items".
  • Quick Look shows what an archive holds (files, folders, size unpacked, encrypted entries, its first entries) and the files inside it; the info pane shows the same counts.

Extracting

  • Ctrl+C inside an archive and Ctrl+V anywhere, a drag into Nordend, "Extract Here" in an archive's menu, or Enter on a file inside (opened from a private copy).
  • Safely: Nordend makes every file itself in a hidden folder where nothing can lead out (openat2 with RESOLVE_BENEATH, no link followed), and moves the items in only when everything is written, never over anything (a taken name gets "x 2"). Setuid bits are dropped, links leading outside are left out, encrypted entries are said.
  • More than the free space is refused; an archive that unpacks to over 100 times its size (above 1 GiB) is asked about. Shift+Esc stops it, leaving nothing behind.

Making archives

  • "Compress to .zip" and "Compress to .tar.gz" in the menu, renamed at once; links kept as links, permissions and times kept, ZIP64 when large.

Disc images

  • .iso files mount read-only through udisks2 with Enter, and eject from the sidebar.

Packaging

  • An RPM spec for Fedora, built and tested in CI on Fedora 44 and 45, from @0rgl (#22).

Update with nordend-setup update. Everything in CHANGELOG.md.

Nordend 0.8.1

Choose a tag to compare

@pankaspe pankaspe released this 15 Nov 20:09

A small fix release.

Fixed

  • A name with room to spare is drawn whole again, at any text size and scale. With [font] size other than 13, or on a fractional output (1.25, 1.5), a folder name could be cut in the middle although it fitted: ~/Downloads showed as Dow…oads in the path bar and in the file chooser. A width measured and given back as the limit came back a hair short after the zoom; a text is now cut only when it is wider than its limit by more than 1/64 of a pixel. The same fix covers the file chooser's buttons, the context menu and Quick Look's caption. Thanks to @0rgl for the pull request (#18), with a test that goes through every text size from 8 to 32 at four scales.

Install or update

nordend-setup update

or see Install in the README. The full history is in CHANGELOG.md.

Nordend 0.8.0

Choose a tag to compare

@pankaspe pankaspe released this 15 Nov 17:50

Copying, about twice as fast.

Copying

  • A folder's files are copied by eight threads of the transfer's own, while one thread walks the tree ahead of them. Loose files go to the same threads, each photo with its darktable sidecars.
  • Against GNU cp, fcp and xcp on the same machine (SATA SSD to NVMe, every run ending in sync):
Nordend 0.8.0 fcp xcp cp
10 000 small files, read from the disk 1.26 s 1.09 s 1.63 s 2.04 s
5 024 files, 4.3 GB, in the page cache 3.49 s 3.40 s 4.00 s 6.6 s

Against 0.7.6: small files 1.45 → 0.57 s (cached) and 3.24 → 1.26 s (from the disk), the mixed tree 6.58 → 3.49 s. Method and every number: docs/benchmarks.md.

  • Between disks Nordend reads and writes 128 KiB at a time, as cp does: a 4 GiB file into a compressed btrfs in 5.52 s instead of 6.62.
  • Nothing given up for the speed: folders keep their dates and permissions, a copied folder is built out of sight and appears whole, and a cancelled copy leaves nothing behind.
  • Safer: a source file swapped for a symbolic link while being copied is now refused ("changed while being copied"), never followed.

Merging folders

  • When two folders meet, the button says Merge, and inside the merge every file whose name is taken is asked about on the same card (Skip, Replace, Keep both, for the rest), instead of being replaced without a word. Photos keep their sidecars there too ("P1 2.ORF" with "P1 2.ORF.xmp").
  • Ctrl+Z after a merge takes away only what the copy or move brought, never the files that were already there; a replaced file's old contents are gone, and the undo says so.

Also

  • Shift+Escape stops a copy, move or delete (the status bar shows the key next to the ×).
  • nordend-setup: no more "is not a commit!" warning when it fetches a release, and a refused copy of nordend.portal no longer claims nothing was installed.

Update with nordend-setup update.

Nordend 0.7.6

Choose a tag to compare

@pankaspe pankaspe released this 15 Nov 09:23

A patch release with two small features asked for in issues, safety first.

Programs and AppImages, from Evergaster's issue #17

  • Enter starts a program. An AppImage or an ELF executable that may run starts in its folder, like any application.
  • It asks first when it may not run yet: "Allow “Something.AppImage” to run?". Allow and Run gives it u+x and starts it, so it takes two clicks and no terminal.
  • "Allow Running as Program" / "Stop Running as Program" in the context menu and the command palette. They're offered for programs, AppImages and scripts, and Ctrl+Z undoes them.
  • A small dot on the icon marks what can run, in every view. The info pane says it in words ("Runs as program"). It's a dot or nothing, never red against green.

Safety first:

  • A program starts only when its type says so. An ELF renamed invoice.pdf is a PDF and never runs.

  • Scripts never start on Enter; they open as text.

  • Nothing ever runs by itself.

  • A noexec disk stays noexec.

  • This turns it all off:

    [open]
    programs = false

"Show in Folder", from 0rgl's issue #16

"Show in Folder" from Firefox, Chromium and the browsers built on it, Electron apps and Flatpak apps opens Nordend with the file selected, one tab per folder. To have Nordend answer, once:

nordend --set-file-manager     # --unset-file-manager gives it back

This writes a D-Bus service file for org.freedesktop.FileManager1 in your own ~/.local/share/dbus-1/services, never the system's. It also tells you when another file manager holds the name right now.

nordend --reveal PATH... does the same by hand. Nordend now also reads the activation token it was started with, so it comes to the front.

Install or update

nordend-setup update

Or see Install. Every release is in CHANGELOG.md.

Nordend 0.7.5

Choose a tag to compare

@pankaspe pankaspe released this 15 Nov 07:57

Three new features, two of them asked for in 0rgl's issues and one from daily use. A patch release, as Nordend does for small features asked for in an issue.

The text size

[font]
size = 15

[font] size in config.toml (8 to 32, 13 by default) sets the usual text size, and the whole interface follows it in proportion: rows, paddings, icons, the sidebar, menus and Quick Look's text. Glyphs are rasterized at their real size, so they stay sharp. Changes apply live. Thanks to 0rgl for #15, asked for a 4K monitor at scale 1.

Actions of your own

[[action]]
name = "Extract Here"
exec = "tar -xf %f"
patterns = ["*.tar.gz", "*.tgz"]

[[action]] tables add entries to the context menu, like Thunar's custom actions. Each one has a name and a command, and can filter by kind, name pattern, MIME type and how many files are selected. Actions can be grouped in submenus, offered on the empty space (run on the folder shown) or run in a terminal. An action with a problem is left out, and nordend --check-config says why. Every key is in docs/config.example.toml. Thanks to 0rgl for #14.

A folder's size

When the cursor stops on a folder, the info pane adds up everything inside it on a worker. "Counting…" grows until it shows Size and Contains. The same works for several entries selected with folders among them. Moving on cancels the count, and nothing is read on the main thread.

  • What counts: a file hard-linked twice counts once, and links are never followed.
  • What is left out: disks mounted inside and btrfs subvolumes are not entered, as with du -x, so the size then says "at least".
  • Network folders: folders on a network or FUSE file system are not counted, so a stuck server never holds Nordend up.

Install or update

nordend-setup update

Or see Install. Every release is in CHANGELOG.md.

Nordend 0.7.4

Choose a tag to compare

@pankaspe pankaspe released this 14 Nov 20:47

A small patch release.

  • The developer tools nordend-snapshot and nordend-decode print their usage for --help (or -h) and refuse an unknown option, instead of taking it for a file: the snapshot tool once wrote a picture called --help, and the decoder crashed.
  • nordend-decode reads every raw format Nordend shows (ORF, RW2, RAF and CR3 previews), and says plainly when Nordend has no reader for one.
  • Losing the compositor at an ordinary logout is logged as information, not as an error.

To update an install made by nordend-setup:

nordend-setup update

Every release is in CHANGELOG.md.

Nordend 0.7.3

Choose a tag to compare

@pankaspe pankaspe released this 14 Nov 15:17

A small release: scrollbars you can take with the mouse.

Scrollbars

  • Every scrollbar (the columns, the columns' strip, the grid, the details, Quick Look's text pages both ways) widens from 4 to 8 px when the pointer comes near it, which finds it 14 px in from the edge.
  • Drag it and the list follows, held where you took it; a click on the track beside it brings it there.
  • A press on a scrollbar never selects, starts a rubber band or drags a file. Column dividers and the info pane's edge resize as before.

Keyboard shortcuts card

  • In a window too low for every shortcut, the groups scroll under the title: wheel, touchpad, arrows, Page Up/Down, Home/End and its own scrollbar (#12, thanks to @llego).

Install or update

nordend-setup update

or, for a first install, see the README's Install.

Nordend 0.7.2

Choose a tag to compare

@pankaspe pankaspe released this 14 Nov 14:28

nordend-setup: one plain shell script that installs Nordend on any distribution and keeps it current.

Install

curl -fLO https://raw.githubusercontent.com/pankaspe/nordend-fm/v0.7.2/scripts/nordend-setup
less nordend-setup         # read it first
sh nordend-setup           # asks what to do; or: sh nordend-setup install
  • Checks your system: the distribution and its package manager (apt, dnf, pacman, zypper, xbps), the compiler, CMake, Ninja, Git and the libraries Nordend needs. What is missing is installed with the exact command shown, after one question for sudo.
  • Builds the latest release from its tag and installs it into /usr/local (or ~/.local), with a record of every file. It can also make Nordend your file chooser and the application that opens folders.
  • Keeps it current: nordend-setup check tells whether a newer release is out, update builds it with the same choices, configure changes the file chooser and folder settings, status shows what is installed, and uninstall removes every file it installed and gives your settings back. --dry-run shows every command without running anything.
  • Nordend itself never goes online: only the script does, and only when you run it.

Tried in CI on Debian 13, Ubuntu 26.04, Fedora 43, Arch and openSUSE Tumbleweed, from a bare container to installed, updated and removed, and again every week. Ubuntu 24.04 and Linux Mint 22 cannot build Nordend (their sdbus-c++ is 1.x); the script says so. On Void Linux the package and on NixOS the flake stay the way to install it.

Also: CMake's install_manifest.txt now lists the file chooser's D-Bus service file too, so removing an install by the manifest no longer leaves it behind.

Nordend 0.7.1

Choose a tag to compare

@pankaspe pankaspe released this 14 Nov 10:55

A patch release: sharp photos sooner, and bookmarks you can edit.

Faster previews

  • Quick Look of a raw photo turns sharp in 110 ms instead of 144 on screen (median about 102 ms over 18 photos); its thumbnail still shows at once.
  • The image scaler is rewritten: twice as fast, the very same pixels (a test checks it byte for byte against the old one). Grid thumbnails of a fresh folder of photos are made faster too.
  • Portrait photos are now made to fit the screen; before, they came out 78 % larger than needed.

Bookmarks in the sidebar (#10, asked for by @Evergaster)

  • Right click on a bookmark: Rename…, Choose Folder… (point it to another folder, keeping its name and place), Move Up, Move Down, Remove from Sidebar.
  • With the keyboard in the sidebar (F6): F2 renames, Alt+↑ / Alt+↓ move the bookmark.
  • They are the GTK bookmarks, so other file managers and the Open dialogs of other apps see the new names and order too.

The README has a table of contents now, and the three ways to install fold open one at a time.

Nordend 0.7.0

Choose a tag to compare

@pankaspe pankaspe released this 14 Nov 08:38

Nordend can now be the Open and Save dialog of other applications, through the desktop portal (xdg-desktop-portal's FileChooser):

  • Open files or folders with Nordend's own views, thumbnails and Quick Look; the application's filters in a list at the bottom.
  • Save with a name field (its stem selected, so typing keeps the extension), New Folder, and a question before replacing a file. The application's own choices (an encoding, a checkbox) sit in the bar.
  • Over the application's window, modal, on GNOME and Plasma (xdg-foreign); closing the application closes the chooser.
  • A small nordend-portal service that D-Bus starts only when an application asks, one chooser window per request; it leaves after 30 s with nothing to do.

To use it, Nordend must be installed under /usr (the Void package is), then once:

nordend --set-file-chooser     # then log out and in again

It adds one line to your ~/.config/xdg-desktop-portal/<desktop>-portals.conf and keeps the desktop's other portals; nordend --unset-file-chooser takes it out again. Flatpak applications use the portal by themselves; Firefox, GTK and Qt applications only when asked: see the README.

Tried with Firefox, zenity, gnome-text-editor and kate on Umbriel, GNOME and Plasma.