Skip to content
MorzillaPublic

About

KDE's file dialog with quick filters by kind of file and a roomier places sidebar

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

Repository files navigation

Dialog NG

Fedora 44 and 45: there are ready-made packages on COPR, no building needed:

sudo dnf copr enable morzilla/desktop-ng
sudo dnf install dialog-ng

Log out and in again to get the new dialog. The same repository has the rest of the NG desktop: breeze-ng, dolphin-ng, dialog-ng, neoline-icons (project page).

Kubuntu 26.04: there are packages in a PPA too:

sudo add-apt-repository ppa:mori-daniele/desktop-ng
sudo apt install dialog-ng

The same PPA has breeze-ng, dolphin-ng, dialog-ng and neoline-icons (project page).

KDE's file dialog — the one every KDE app opens to pick or save a file, and that Firefox, Chrome and Flatpak apps get through the desktop portal — with:

Dark Light
Dialog NG with Breeze NG's Aurora Glass, dark: the strip with the kinds of file, the rows, the glass sidebar Dialog NG with Breeze NG's Aurora Glass, light

It looks and works like Dolphin NG:

  • rows: every file with Dolphin NG's drawing of its kind (a page, a sheet, lines of code, a waveform, a box, a folder with how many items it holds) or its own preview, its name, type and size, and how long ago it changed; two lines or compact, and Ctrl + wheel makes them larger or smaller. KDE's columns and icons are still in the View menu;
  • a quick preview: rest the pointer on a file and a large picture of it shows beside the list (at once, or after the delay you choose; small, medium or large);
  • one strip above the files: the kinds of file present in the folder as chips, each with its icon and how many there are (narrower: only the icons and the numbers; narrower still, a Filters button with a menu); on the right the sorting (by name, size, type, date modified or date created), the view and the groups;
  • groups: titles between the rows, following the sort order (Today, Yesterday, This week…);
  • pinned items: what is pinned in Dolphin NG comes first in its folder, and has its own section in the sidebar;
  • a glass sidebar: the places on a card that shows the desktop blurred behind it (with a compositor that blurs; a tinted panel otherwise), titles as pills, the filters with their counts, the disk's usage at the foot.

The quick preview

Recent Files that tell what happened. With ng-recent installed, the "Recent Files" place lists what was downloaded, made, added or modified lately, the latest first, with the event and the program under each name: the picture you just pasted into a folder or the file you just downloaded is the first thing an upload window offers. With the ng-fsevents service it also has what programs changed anywhere in the home. KDE's own list comes back with RecentLegacy=true, and "Recent Locations" with RecentLocations=true, in the [View] group of ~/.config/dialog-ngrc.

Recent Files in the Open window

The settings are shared by every application (~/.config/dialog-ngrc); Dolphin NG's settings page has the quick preview's too (NG → Previews → Open/Save window). Glass=false in its [Sidebar] group turns the glass off.

Dolphin NG

Dialog NG is the file dialog of Dolphin NG, a fork of KDE's file manager with cards, drawn rows, quick actions, work in progress shown on the files and a glass sidebar: the same look, so that picking a file in any application feels like Dolphin NG. Items pinned there come first here, and Dolphin NG's settings page sets this dialog's quick preview too.

Dolphin NG

The labels come from KDE's own translations (KFileMetaData's file categories, KIO's "All Files"), so they follow the language of the desktop.

Part of the NG desktop, with Dolphin NG, Breeze NG and NeoLine. The Breeze NG installer can install it too (part dialog).

How it works

Only one library is replaced, libKF6KIOFileWidgets. dialog-ng build downloads KIO from invent.kde.org at the version installed on your system, applies dialog-ng.patch, builds that library alone and puts it in ~/.local/dialog-ng. dialog-ng on makes the session load it (through LD_LIBRARY_PATH, from a ~/.config/plasma-workspace/env file) only while its version matches the system's: after an update of KDE Frameworks the stock dialog comes back by itself until you run dialog-ng build again. Nothing outside your home folder is touched.

Install

git clone https://github.com/Morzilla/dialog-ng.git
cd dialog-ng
./dialog-ng deps     # KIO's build dependencies (sudo; dnf, apt or pacman)
./dialog-ng build    # a few minutes
./dialog-ng on       # then log out and in

Try it first in a single app: ./dialog-ng run kwrite. Back to the stock dialog: ./dialog-ng off (from the next login). ./dialog-ng status shows the built and the system versions.

Licence

dialog-ng.patch changes KIO and is under KIO's licence, LGPL-2.0-or-later (the drawings of the kinds of file come from Dolphin NG, by the same author, and are offered here under the same licence as the rest of the patch). The dialog-ng script is MIT. Made by Morzilla with Claude (Anthropic), on top of KDE software.

About

KDE's file dialog with quick filters by kind of file and a roomier places sidebar

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages