Skip to content

Thursday, 10 September 2026

Akademy-es 2026 is happening October 23 to 25 in Camping Arco Iris (Villaviciosa de Odón, Madrid)

 

For the 20th anniversary of the first Akademy-es, the organizers have chosen a campsite to do a slightly different event focusing on the community side of KDE.

 

There will still be of course talks, so remember you can submit one until this September 13th! 

 

See you there!  

Two weeks ago, I released AppStream 1.2.0. This release contains a lot of great changes, but one of the most important ones concerns how media are being handled, and AppStream’s default image export format.

AppStream is a Freedesktop metadata standard to describe software components. That can be anything from system services over fonts to console and graphical applications. AppStream metadata is supposed to give users enough information to decide whether they want to install a piece of software, to represent that piece of software, and to give the operating system enough information to decide whether a software component should be installed automatically and (to some extent) what capabilities and relations it has, to provide the user with sensible options.

Especially for the first two goals, and especially for GUI applications, AppStream supports icons and screenshots, which are used to showcase applications. Today, AppStream is used by all kinds of services, from Linux distributions over firmware updates to Flatpak and desktops directly. AppStream’s original design however comes from the perspective of Linux distributions in 2011, where you may want to browse the software catalog offline, without delay, and without pinging an external server (which could be a privacy concern).

Therefore, a common way to deploy an AppStream-enabled software repository is to ship all icons of all applications in the repository to the user as part of the repository metadata download. AppStream does support remote icon downloads nowadays, and for a while I thought that this would become the default eventually. However, especially in today’s world, having a bandwidth-saving, instantly responsive, privacy-protecting application browsing experience seems more important that ever.

PNG images are great!

The only format that AppStream supports for icons and screenshots (which are downloaded on-demand from your distributor’s CDN) has always been exclusively PNG. PNG images are perfect for icons, because they compress well (especially for common icon shapes), are fast and simple to load, and can be loaded anywhere, by any toolkit or webbrowser. They also ensure we deliver faithful screenshot images, even though we may have scaled or re-rendered them. Still though, PNG images are less great for screenshots, as they are not very efficient, which puts strain on any CDN that has to deliver them, as well as on people’s internet connections when browsing screenshots. Having smaller thumbnails alleviates that problem a little, but does not fully solve it.

But even for icons, PNG could be improved upon: In many cases, icons are re-downloaded with the repository metadata again and again, so having a large icon tarball adds up to the data transferred during metadata refreshes. AppStream also now supports large 128x128px icons, which nobody in 2012 expected we would need, adding even more data that will be re-downloaded. Saving some space here translates directly to lower bandwidth costs as well as faster downloads for users.

To improve PNG file sizes, the AppStream Compose library, which handles all image processing and metadata catalog composition, was running optipng on all generated PNG images. That does create smaller PNG images, but they were still relatively large compared to other image formats.

For a long time though, there was no alternative to PNG images for icons: There was no lossless image compression format that could give us the same quality as PNG images and that was also widely supported.

JPEG-XL vs PNG in AppStream

Since 2021 we have JPEG-XL (JXL), which offers a true lossless mode with often better compression than PNG. The issue was that JPEG-XL wasn’t widely supported. Then, in 2025, the PDF Association selected JPEG-XL as the preferred image format for HDR images in PDFs, and now we are finally getting browser support and more ubiquitous availability of the format (you can try it right now in Firefox!).

For screenshots, using JXL’s lossy mode, it has obvious and extreme size advantages over PNG, so supporting JXL or WebP for screenshot images was an obvious choice. If JXL would support the lossless case very well as well though, we could serve many use cases with the same exported image format, which is very attractive to me.

So, the obvious next question was whether it was worth the pain of switching the icon format, so I did some measurements on real icons. For that I used the AppStream component icon pool that Debian Unstable ships, which is almost 5000 application icons of various sizes, and converted them to PNG:

Icon sizeIconsPNG totalJXL totalPool savedPNG avgJXL avgMedian savedMean savedWorstBestLarger as JXL
48×4815443.7 MiB3.0 MiB17.8%2.4 KiB2.0 KiB17.9%16.7%-118.7%60.0%206
64×6420187.0 MiB5.8 MiB17.8%3.6 KiB2.9 KiB18.0%15.8%-112.7%70.0%279
128×128141111.2 MiB8.7 MiB22.0%8.1 KiB6.3 KiB20.1%17.5%-89.7%61.0%209
TOTAL497321.9 MiB17.5 MiB19.9%4.5 KiB3.6 KiB18.6%16.6%-118.7%70.0%694

PNG images saved with libpng at effort=4, compression=9, then optimized using optipng -o2, JXL images encoded using vips jxlsave lossless=1 effort=7 strip=1 via VIPS/libjxl.

As the table shows, using lossless JXL images over size-optimized PNG images (using optipng’s default settings) provides a roughly 20% gain. This does not look like much, until you consider how often these files are downloaded: A 20% file size reduction may only save 1-2 MiB of disk space, but if they are downloaded over and over again by many clients, it will save a lot of bandwidth.

Interesting JXL encoding findings

As a sidequest, I was curious why some images were larger than their PNG counterparts when encoded with JXL, and what the ones that were significantly smaller were.

In short, the biggest size reductions for JXL existed on images that were already small as PNG, and contained large, flat color surfaces with hard edges and simple shapes. They were not very interesting, and much of JXL’s wins come from accumulating smaller gains across all files, which compound the bigger icons get (especially at 128x128px, where JXL truly shines).

The events were JXL loses to PNG are more interesting: For example, it does quite poorly with pixel-art images that have a lot of repeating patterns. Those are encoded well by PNG, but less efficiently by JXL. Take for example Vonsh:

Icon of Vonsh, an SDL-based snake game, which PNG compresses better than JXL

My guess is that while PNG can exploit the repeating pixel patterns for compression, JXL’s predicts surrounding pixels from its neighbours, which fails too often and makes it pay almost full entropy per pixel. In this single rare case, the PNG is at 5.4 KiB, while the JXL is almost 8 KiB in size.

Other cases I looked at were arguably buggy input data, where color channels were hidden under the alpha channel of the input image. PNG could probably again exploit repeats, while we were forcing JXL to encode pixels that were invisible in the final image. This is arguably a problem with the original input data. Currently, AppStream does not make any changes to icons at all, but in future we might add a filter that removes invisible colors from images to solve this pathological case (it was only two icons out of 5000 though, so it is not a high priority).

The third case I found where JXL loses to PNG were icons with checkerboard-like patterns:

Icon of x3270, an IBM 3270 Terminal Emulator

For those, PNG can likely again exploit the repeating patterns, while a checkerboard layout is pretty bad for left/top predictors like JXL’s. However, in this case the size difference (and loss for JXL) is only 450 bytes, so even though JXL loses to PNG, it does so not by much.

JXL in AppStream

Given these findings, JPEG-XL is the default image format starting with AppStream 1.2.0. AppStream Compose will encode all images losslessly as JXL, while screenshots are encoded in lossy mode at Q=90 effort=7. Since the optipng step does not happen for JXL images, this comes at no speed penalty and is even a bit faster on modern x86_64 CPUs (where libjxl can use SIMD). PNG is still available, and Compose can be told to switch between the two formats.

Upsides of JXL in AppStream right now

If you use JXL in Compose or the recent release of appstream-generator, you will get much smaller images and, for screenshots, will benefit from other JPEG-XL features such as progressive decoding, providing a far nicer user experience. libAppStream has supported JXL icons since version 1.1.3, so your clients will need that version or a newer one, and all software centers will have to support loading JXL images (which all of them do, provided the right plugins are installed).

Downsides of switching to JXL too quickly

JXL is a very new format, so web browsers might not yet display it if you are serving webpages. Your clients may also have bugs in processing JXL images, as the format is still “new”. For example, switching on JXL in Debian sent KDE Discover into an infinite loop on startup while trying to load the icons (an issue which has been fixed, but clients will need that patch first before JXL is switched on).

This currently makes JXL enablement only possible when you know that your clients can support it. This is the case for me in Debian Unstable and Debian 14, which are using JXL images for a few weeks now, but not for any older releases. Platforms like Flatpak have it even harder, because they do know even less about their clients. So, even though it has big advantages, you may want to hold off on using JXL right away, and force PNG by setting the ImageFormat key to png in appstream-generator‘s configuration, or passing --image-format=png to appstreamcli compose.

It is also worth mentioning that JPEG-XL is much, much slower on systems that do not have SIMD instructions or for which the libjxl/jxl-rs library does not have them (such as apparently riscv64 right now). If this is a concern, you might not want to switch to JXL right away.

Media pipeline improvements

Besides the JXL default change, AppStream 1.2.0 also comes with a complete overhaul of its media processing pipeline. While libappstream, AppStream’s main library, does not do any media processing and comes with very minimal dependencies to be embedded in client applications and used on servers, the same can not be said about libappstream-compose, AppStream’s library to build metadata generating applications (the server-side part, usually).

The compose library has to render fonts into font specimen cards, inspect translation files, render SVG images, decode all kinds of raster images, inspect video files, etc. Especially the fonts, and the fact that fonts can appear in SVG images, has caused issues in the past, as libappstream-compose is a heavily threaded library and most font libraries can only work from a single thread. This forced the library to essentially go into single-thread mode anytime anything that could touch a font was being processed.

AppStream also originally was created for a “safe world” where applications were vetted by the distributors before their metadata was processed. This is increasingly not the case, so it made sense to put at least a few guardrails on the most complex part of the pipeline: The media processing. As part of the change, media processing was split out into a separate worker process. This solved two problems at once: Font handling was isolated in a single-threaded binary – if we wanted to handle fonts in parallel, we could simply spawn more workers. And, being in a separate process, the media processing could now be sandboxed.

As part of the multiprocess changes, Compose also switched from using GdkPixbuf to VIPS for image processing. The latter allows for much more fine-grained control over the image output and encoding, and comes with a lot of well-maintained filters and operations, which made it possible to eliminate a fair chunk of AppStream’s hand-rolled image processing operations. As part of this transition, we unfortunately lost the ability to read XPM images, which dropped about 20-30 applications from the pool at Debian. But in the name of security, this is a sensible choice, especially since most XPM icons were very small and low-resolution, and applications using them could benefit from adding a high-quality PNG icon anyway. With VIPS, we also now restrict the amount of image formats we can load to a sensible set, so extremely niche or unexpected formats will be outright rejected (this includes sane-but-unusual formats for screenshots and icons, such as TIFF images).

The Compose library, with all of these changes, will now just request high-level operations (e.g. “render a font card for this font to a JXL image”) from the worker, and provide it with input data in sealed memfds and output locations as FDs as well. On Linux systems, the worker will use Landlock if available, to block all write access to the filesystem, deny device access and deny TCP and UDP as well. The sandbox can certainly be tightened a fair bit in future, but this was a good and safe start to gain some experience with it without having things break too easily, given the many places Compose is used in (also, Landlock’s API is surprisingly nice to use, so it was easier than I thought to add in this early version).

With all of these changes, the libappstream-compose library is now also officially marked API-stable, so you should be able to rely on it in future to build new things (its API has barely changed in the past, and now with the new media API and defaults change in place, it was time to declare it stable).

I want to see / try this!

Currently, the easiest way to have a look at the new data is to check out Debian Unstable. If you have a JXL-enabled browser, you can also see the icons in AppStream Generator’s HTML pages for Debian Sid. If you are using appstream-generator for your distribution, you will also get much more pleasant statistics and HTML pages, as well as fully deterministic media output and a whole bunch of security updates, so, update to its recent 1.0 release.

Please keep in mind that if you switch to JXL, the client tools receiving the image data have to support it. Support varies depending on the Linux distribution, so, test it first and switch the default back to PNG in case you encounter any issues.

What’s next?

With so many features and changes landed, the next changes in AppStream will focus on improving what already exists and fixing any issues (there will be more blogposts about the other features 1.2.x delivers!). Testing with the entire Debian archive as data source makes me fairly confident though that there will not be many problems. In the longer term, tightening the media processing sandbox will also be something we might want to do, e.g. by hiding parts of the filesystem tree or filtering syscalls.

For JPEG-XL, one obvious question is “Will you add support for it to the Freedesktop icon-theme specification as supported format alongside PNG, SVG(Z), and XPM?”. For on-disk icon repositories, JXL’s space-savings are less compelling, and it being HDR-capable is also not necessarily a killer feature (PNG can go a long way!). However, JPEG-XL’s ability to immediately decode larger images at reduced resolution without resampling could legitimately be very powerful here, as applications could ship a single large image and quickly decode it at 1/2, 1/4 or 1/8 the size for different purposes in their UI. JPEG-XL also supports spot-color extra channels, which applications could use as masks to recolor raster icons at render time. This could be incredibly nice to color symbolic icons on-the-fly without any SVG and CSS. JXL also provides richer metadata, which might be neat for (license/author) documentation. So, the answer here is: Maybe it makes sense to allow another format, but this will have to be discussed first, as it would force JXL into every toolkit and desktop, which is a much bigger ask than supporting it only in AppStream.

As always, let me know what you think and please report any issues or bugs directly against AppStream or AppStream Generator if you encounter problems that are with the tools, and not with a project’s metadata.

Besides maintenance and debugging work, this year, my work on Kdenlive was mostly dedicated to refactoring the Kdenlive keyframes system to make it more powerful. This is part of a NGI Zero Commons grant via NLnet, see my last status report from february for some more context.

Previously, keyframes were set globally for an effect, touching all its parameters. With the updated logic, you can now decide to add keyframes only to a specific parameter, and parameters can have independant keyframes. This work will soon be made available for testing, and will be part of the next 26.12.0 Kdenlive release.

This new widget allows to move keyframes for several effects in one step, and also supports keyframe scaling, meaning that you can easily stretch a group of keyframes.

Effect Stack Before

Effect Stack After Refactoring

Basic keyframe features remain in the effect stack, like add/remove keyframe and seek to previous/next keyframe, but all other keyframe-related features have otherwise been removed from the effect stack into a dedicated Keyframes panel. The parameter values now have a colored background to indicate if you are currently on a keyframe or not.

One drawback is that it uses more space, but we plan to futher refine the interface in the next months before the final release.

New features

Beyond the obvious possibility to add per-parameter keyframes, and manage keyframes from several effects in one place, a few other features were included in the rewrite:

Move keyframes with keyboard

You can now grab the selected keyframes with the usual shortcut, then move them frame by frame using arrow keys.

Zoom and Keyframe scaling

Zooming and scrolling can be used with the standard mouse wheel events, and it is now possible to scale selected keyframes by selecting them and dragging with the Ctrl modifier.

And all the rest

The Keyframes interface also allows to filter parameters by name to only show matching parameters, useful if you have lots of effects on a clip. All this work will also make it much easier to add new keyframe features in the future.

Performance

"Adding new features is nice, but what about performance?" you may ask. Well, good news: this work also involved some cleanup and performance improvements. People working with lots of keyframes (for example with object tracking) will really enjoy the changes.

For example if you have a clip with more than 1000 keyframes, you will enjoy:

  • Much faster project load time (can be as much as twice as fast)
  • Much faster keyframe operation (changing a keyframe value was previously very laggy)
  • Much better playback speed when the clip is selected (was previously very choppy)

And even if you don't use that many keyframes, the general workflow should be a lot smoother.

Meet us at Akademy

Part of the Kdenlive team will be in Graz for KDE's Akademy, celebrating 30 years of KDE. Be there to meet us!

Kdenlive needs your support

Our small team has been working for years to build an intuitive open source video editor that does not track you, does not use your data, and respects your privacy. However, to ensure a proper development requires resources, so please consider a donation if you enjoy using Kdenlive - even small amounts can make a big difference.

Over 180 individual programs plus dozens of programmer libraries and feature plugins are released simultaneously as part of KDE Gear.

Today they all get new bugfix source releases with updated translations, including:

  • kdeconnect: Fix orientation of an arrow within the plasmoid (Commit, fixes bug #524889)
  • kongress: Fix opening the room map from a talk (Commit)
  • okular: Fix a crash when saving documents (Commit, fixes bugs #477153 and #505130)

Distro and app store packagers should update their application packages.

Here are the new modules available in the Plasma 6.8 beta:

  • kup: Backup scheduler for the Plasma desktop

Some important features and changes included in 6.8 beta are highlighted on KDE community wiki page.

Help stress-test the Union theming system

This releases marks the second half of the Union theming system’s public tech preview!

New in Plasma 6.8: Union now themes QtWidgets applications, such as Dolphin and Kate. Bear in mind this support is preliminary and you will encounter bugs. When you do, please report them here!

To test Union:

  1. Make sure the union package is installed (name may differ depending on your distro)
  2. Launch System Settings
  3. In the sidebar, navigate to Colors & Themes > Application Style
  4. Click "Breeze (Union)"
  5. Click Apply

This will apply Union styling to both QtQuick and QtWidgets apps.

The intention is for these apps to look as similar as possible when styled with Union to how they look with Breeze — though any minor visual improvements should be considered intentional!

If you find any issues, make sure they’re Union-specific by running the app with the Breeze style to compare the two. If the issue is Union-specific, report it here!

Everything else

View full changelog

Wednesday, 9 September 2026

Wednesday, 9 September 2026

KDE today announces the release of KDE Frameworks 6.30.0.

This release is part of a series of planned monthly releases making improvements available to developers in a quick and predictable manner.

New in this version

Baloo
  • Apply clang-format on fileexcludefilters.cpp. Commit.
  • Exclude .snapshots folders from indexing. Commit.
  • [app] Skip content indexing in the extractor if onlyBasicIndexing is set. Commit. See bug #500665
Bluez Qt
  • Port away from ecm_add_qml_module's deprecated CLASSNAME arg. Commit.
Breeze Icons
  • Set missing fill="currentColor" for update-busy. Commit.
  • Add "tv" symlink to "video-television". Commit.
  • Add symlinks for text-x-shellscript. Commit.
  • Add symbolic mastodon icon. Commit.
Extra CMake Modules
  • List ECM sources explicitly instead of using GLOBS. Commit.
  • ECMInstalledLibraryCheck: add more separating linebreaks to generated files. Commit.
  • ExecuteKDEModules: add newer KDE modules to test. Commit.
  • ExecuteKDEModules: split off support for apple platform, document it. Commit.
  • ECMInstalledLibraryCheck: use $cond:string over $IF:cond,string,. Commit.
  • Add ECMInstalledLibraryCheck. Commit.
  • Ecm_generate_export_header: make VERSION optional, default to PROJECT_VERSION. Commit.
  • ECMSetupVersion: support version args in . and forms. Commit.
  • ECMSetupVersion: use final hex number in version header, not calculation. Commit.
KCalendarCore
  • Use QLocale for concatenating recurrence days. Commit.
  • Improve translation contexts for some of the recurrence descriptions. Commit.
  • Src/vcalformat.cpp - fix spelling typo in a comment. Commit.
  • Adapt recurrenceDescription unit tests to English translations. Commit.
  • Add Incidence::recurrenceDescription. Commit.
  • Fix Incidence::statusName property name. Commit.
  • Add translated enum names for Incidence::secrecy and Incidence::status. Commit.
  • Change parseScheduleMessage to take a QByteArray as input. Commit.
  • Add translated names for attendee status and role enums. Commit.
  • Fix tr() message context. Commit.
  • Expose Calendar and ScheduleMessage to python bindings. Commit.
  • Add translated error messages. Commit.
KCMUtils
  • Documentation fixes. Commit.
  • Fix documentation for SettingsStateBinding. Commit.
  • Fix docs for KQuickManagedConfigModule. Commit.
  • Kcmutils_generate_module_data: add missing var init, for safer usage. Commit.
  • Add missing EXCLUDE_DEPRECATED_BEFORE_AND_AT default variable declaration. Commit.
  • No longer explicitly include CMakeParseArguments. Commit.
  • Fix types in QML documentation. Commit.
KCodecs
  • [KEncodingProber] Fix signedness issues for mBestGuess index. Commit.
  • [KEncodingProber] Return 0.0 confidence if encoding signals wrong syntax. Commit.
  • [KEncodingProber] Clean up float constants and C-style static casts. Commit.
  • [KEncodingProber] Drop charlen tables from state machine models. Commit.
  • [KEncodingProber] Remove need for charlen table from MBCS probers. Commit.
  • [KEncodingProber] Remove some erroneously copied comment. Commit.
  • [KEncodingProber] Remove no longer used method. Commit.
  • [KEncodingProber] SBCS: Replace model pointer with reference. Commit.
  • [KEncodingProber] SBCS: Replace unbounded array pointer with span. Commit.
  • [KEncodingProber] Move sequence counter sum out of loop. Commit.
  • [KEncodingProber] Test for Cyrillic encodings (and Unicode reencodings). Commit.
  • [KEncodingProber] Test for ASCII only UTF-16 encoded texts. Commit.
KColorScheme
  • Kcolorschemetest: explicitly cast enum values to int for arithmetic ops. Commit.
KConfig
  • Add some missing CMake var initialization, for safer usage. Commit.
  • Kconfigcore: minor cleanups. Commit.
  • Fix tabNext() and tabPrev() default documentation. Commit.
KContacts
KCoreAddons
  • KFormat: Get current time in UTC. Commit.
  • Kfilesystemtype: identify a fuse mount by its name when the table cannot. Commit.
  • Kfilesystemtype: tell a fuse mount with a disk behind it from one without. Commit.
KDav
  • Fix DavItemMoveJob doc's \since specifier from 6.29 to 6.30. Commit.
  • Add dav MOVE job. Commit.
KFileMetaData
  • Reenable Qt 6.12 CI. Commit.
  • [PostscriptDscExtractor] Fix time offset parsing for Qt 6.12. Commit.
  • [PostscriptDscExtractor] Modernize QString usage. Commit.
  • [SimpleExtractionResult] Fix copy constructor. Commit.
  • [EmbeddedImageData] Remove some dead, unreachable code and data. Commit.
  • Fix a few nodiscard warnings for QFile::open. Commit.
  • [ExtractorPlugin] Allow alias names when matching extractor mimetypes. Commit. Fixes bug #522678
  • [kfilemetadata_dump] Provide information about cover images etc. Commit. See bug #500113
  • [FFmpegExtractor] Extract cover image from Matroska streams. Commit. See bug #500113
  • [FFmpegExtractorTest] Move test class declaration to implementation file. Commit.
KGlobalAccel
  • Parse QKeySequence from QDBusArgument more carefully. Commit. Fixes bug #524700
KGuiAddons
  • Add geo: URI handler for Cartes. Commit.
  • Add support to pass along the unmodified geo: URI in an URL template. Commit.
  • Fix geo: URI query string encoding. Commit.
  • Reuse explicitly provided image data. Commit. Fixes bug #519651
  • Waylandclipboard: Check isInterruptionRequested in prepare read loop. Commit. Fixes bug #517743
KHolidays
  • Fix dates for 2083 (2026/27 A.D.). Commit.
  • Update Norwegian holidays based on official sources. Commit.
  • Update event date for Urs Aala-Hazrat. Commit.
KI18n
  • Add another test case for 0. Commit.
KIdletime
  • Include CMakeFindFrameworks only with APPLE. Commit.
  • Drop no longer used CMake variable. Commit.
KImageformats
  • Jp2: Fix new[] vs delete by not doing new[]. Commit. Fixes bug #525120
  • QRoundOrZero_T: fix possible assert in qRound. Commit. Fixes bug #524678
  • Autotests: Add non-standard HEIF image. Commit.
  • Heif: re-enable decoding of non-standard images. Commit. Fixes bug #495686
  • Add HEIC test files with crop transformation. Commit.
  • Heif: check crop values. Commit.
  • Jxl: Do not rewind after reading final frame. Commit.
  • Rgb: reject RLE start offsets that underflow the raster data. Commit.
  • Avif: Do not rewind in jumpToNextImage(). Commit.
  • Ossfuzz: call functions used in animations. Commit.
KIO
  • Bring KSycoca::setupTestMenu code here. Commit.
  • Copyjob: name the copy lists for what they hold. Commit.
  • KUrlNavigator: Set the frameShape to StyledPanel. Commit.
  • KDirModel: Pass UTC time to KFormat::formatRelativeDateTime(). Commit.
  • Drop duplicated explicit install() call on kio_help plugin. Commit.
  • KDirSortFilterProxyModel: Avoid creating QDateTime instance. Commit.
  • [ftp] Send commands in upper case consistently. Commit. Fixes bug #523927
  • Autotests: Run the http worker tests as part of the suite. Commit.
  • Http: Keep one network manager for the life of the worker. Commit.
  • KOpenWithDialog: fix pattern matching in filterAcceptsRow(). Commit. Fixes bug #524085
  • Previewjob: drop the synchronous cached-thumbnail lookups. Commit.
  • Desktopexecparsertest: fix typo in installation var. Commit.
  • Desktopexecparsertest: add missing quotes for a string definition argument. Commit.
  • Previewjob: make the previews in the order they were asked for. Commit.
  • File worker: reserve an entry for the fields it always carries. Commit.
  • Kcoredirlister: let the list of items grow instead of sizing it per batch. Commit.
  • Http: Keep a large request body out of memory. Commit.
  • Kmountpoint: Write the Latin-1 strings as literals. Commit.
  • Kmountpoint: add SupportsFileCloning for COW filesystems. Commit.
  • PreviewJob: Read cached thumbnails in bounded batches before generating. Commit.
  • Gui: Read and write the thumbnail cache in one place. Commit.
  • PreviewJob: add cachedPreview() for a synchronous cache-only lookup. Commit.
  • Kfileitemactions: test service menu submenu. Commit.
  • Kfileitemactions: fix submenu lifetime using main menu as the parent. Commit. Fixes bug #524239
  • Http: Report how far an upload has got, not what the answer weighs. Commit. Fixes bug #518511
  • Avoid MIME content-sniffing on slow filesystems. Commit.
  • Systemdprocessrunner: Handle when unit returns failure. Commit.
  • Don't show percent-encoded strings for items of desktop:/ IO worker. Commit. Fixes bug #522470
  • KIO: hand what a message carries over as it is within a process. Commit.
  • Properties: show how much room a folder takes up, not only its data. Commit. Fixes bug #457363
  • Jobtest: set the language the expected text is written in. Commit.
  • Filepreviewjob: Check remote-skip conditions before checking mimetype. Commit.
  • File: ask statx for the permission bits that are read from its answer. Commit.
  • File: let a folder with the setgid bit give a copied file its group. Commit. Fixes bug #399270
  • File worker: ask for the mount of the destination while looking at it. Commit.
  • File worker: create copy destinations relative to a pinned directory fd. Commit.
  • OpenURLJob: Stop reading BrowserApplication from kdeglobals. Commit.
  • KMountPoint: cache mount lookups by unique mount id. Commit.
  • Autotests: verify KFileCopyToMenu prunes missing recent destinations. Commit.
  • Autotests: test for non_existing directories removed. Commit.
  • Kfilecopytomenu: Limits max entries and removes unavailable links from the list. Commit.
  • Git-blame-ignore-revs: add code reorganization commits. Commit.
  • Kfileitemactions: reorder functions for better readability. Commit.
  • Openurljobtest: wait for the launched processes before ending a test. Commit.
  • Autotests: ask the mime database which type a test means. Commit.
  • Openurljob: open a shell script rather than refuse it as a program. Commit. Fixes bug #522948
  • Knewfilemenu: reorder execute functions to match the order they are called in slotActionTriggered. Commit.
  • Knewfilemenu: allow overriding system templates with local templates. Commit. Fixes bug #473991
  • Knewfilemenu: set application link title to not be misleading. Commit. Fixes bug #520949
  • Knewfilemenu: fix relative symlinks. Commit. Fixes bug #508444
  • RenameFileDialog: offer the rename operation of the last rename. Commit. Fixes bug #523932
  • RenameFileDialog: free what the dialog owns. Commit.
  • SlaveBase: do not take a missing total for a finished transfer. Commit.
  • DeleteJob: pass on the bytes its rmdir subjob reports. Commit.
  • Kio_file: delete a tree natively on unix, and report the bytes deleted. Commit.
Kirigami
  • Fix typo in documentation. Commit.
  • Remove wrong API documentation marker. Commit.
  • Pull TODO out of API documentation. Commit.
  • Fix \since syntax. Commit.
  • Fix documentation syntax in ScenePosition. Commit.
  • Fix documentation syntax in PagePool. Commit.
  • Fix documented QML import name. Commit.
  • Add missing \inherits to C++ types. Commit.
  • Mark SafeArea as internal. Commit.
  • Fix parameter name in documentation. Commit.
  • Add missing parameter marker in documentation. Commit.
  • Add missing full stops in documentation. Commit.
  • Remove non-functional link. Commit.
  • Remove * from QML API documentation comment. Commit.
  • Qml-format InlineViewHeader. Commit.
  • Qml-format LinkButton. Commit.
  • Fix type name in documentation. Commit.
  • Add explicit \inherits where needed. Commit.
  • ColumnView: better layout for pinned items. Commit.
  • ListItemDragHandle: stop the dropAnimation if one is still running. Commit. Fixes bug #517233
  • InlineMessage: Use smallSpacing for the label also on its right. Commit.
  • Typo--. Commit.
  • SwipeListItem: add a deprecated notice. Commit.
  • SwipeListItem: Don't make the content item overlap the icons. Commit. Fixes bug #518436
  • Forms/flat: Fix padding calculation for subtitle. Commit.
  • Flat/FormGroup: remove unused import. Commit.
  • Flat/FormGroup: make spacing around headings more like FormLayout. Commit.
  • Flat/FormGroup: simplify layout. Commit.
  • Flat/FormGroup: make header more accurate to FormLayout. Commit.
  • OverlaySheet: make the scrim darker. Commit. Fixes bug #447965
  • Fix Overlaysheet touchscreen behavior. Commit.
  • Drop unneeded AUTOMOC_MOC_OPTIONS. Commit.
  • FormGroup(cards): fix resize loop. Commit.
  • Drop explicit CMake settings duplicatd from KDECMakeSettings. Commit.
  • Include KDECMakeSettings/KDEFrameworkCompilerSettings early. Commit.
  • Remove duplicated KDEInstallDirs module include. Commit.
  • Forms: Explicitly specify individual paddings when setting padding. Commit.
  • Units::eventFilter: fix to react just to font change of app instance. Commit.
  • FormEntry: make it possible to get the inner spacing. Commit.
  • FormEntry: make spacing more consistent. Commit.
  • Finish making GlobalDrawer.isMenu behave the same everywhere. Commit.
  • ImageColors: de-flake test_extractColors. Commit.
  • Kirigami app template: use PROJECT arg with ecm_setup_version(). Commit.
  • FormEntry(flat): make sure the trailing area is actually fillHeight. Commit.
  • Add another safety check before automatically popping hidden pages. Commit.
  • FormEntry(flat) some minor fixes. Commit.
  • FormEntry(flat) some minor fixes. Commit.
  • FormEntry(all): rename forceExpanedContents with fullWidth. Commit.
  • Form: center contents only horizontally. Commit.
  • FormEntry (both): completely propagate Layout properties. Commit.
  • FormEntry(cards): fix the flipping of switches. Commit.
  • FormEntry (flat): reorganize the internal layout. Commit.
  • FormEntry: make links inthe subtitle clickable. Commit.
  • FormEntry: introduce forceExpandedContents. Commit.
  • Docs: Explicitly ignore basictheme_p.h in Platform documentation. Commit.
  • Docs: Suppress "can't link to index.html" warnings. Commit.
  • Docs: Don't generate documentation for private types. Commit.
  • Forms: Fix documentation of FormAlignmentGroup members. Commit.
  • Forms: Fix documentation of FormGroup type. Commit.
  • Docs: Ensure the Forms module is properly included in indices. Commit.
  • Icon: Don't try to load empty fallback icons. Commit.
  • Set implicitwidth at 3d gridunits only for cards layout. Commit.
  • Keep the ToolBarPageFooter menu inside the SafeArea. Commit.
  • Make the Page globalFooter page property a QQC2.Page type. Commit.
  • Keep ToolBarPageFooter buttons inside the SafeArea. Commit.
KJobWidgets
  • Kjobcreator: Fix tab order. Commit.
KNotifications
  • Notificationtester: Add URL text field. Commit.
KParts
  • Remove some unused includes. Commit.
KQuickCharts
  • Add_qml_tests: initialize _extra_args variable in all cases. Commit.
  • Fix usage of misnamed KDE_INSTALL_DEFAULT_ARGUMENTS. Commit.
  • Controls/LegendDelegate: use tabular numerals for value. Commit.
KRunner
  • Remove left-overs of dropped ecm_setup_qtplugin_macro_names usage. Commit.
KService
KSVG
  • Add missing EXCLUDE_DEPRECATED_BEFORE_AND_AT default variable declaration. Commit.
  • SvgItem: hold one texture for one picture, like FrameSvgItem does. Commit.
KTextEditor
  • Only show bracket match preview if the view is visible. Commit.
  • Vi-mode: Fix append to block for tabs. Commit.
  • Vi-mode: Fix cursor column swap with tabs. Commit.
  • Vi-mode: Fix operations in selection ranges with tabs. Commit.
  • Vi-mode: Fix success message for non-successful save commands. Commit. Fixes bug #473077
  • Vi-mode: Fix "save all" command for unnamed files. Commit.
  • Fix resolution for KateVi::Range debug operator. Commit.
  • Vi-mode: Implement filename registers. Commit.
  • Vi-mode: Fix yank highlight for blocks with tabs. Commit.
  • Vi-mode: Simplify method to detect waiting for characters. Commit.
  • Vi-mode: Refactor the method for leaving insert mode. Commit.
  • Vi-mode: Fix checks for setting user marks. Commit. Fixes bug #520734
KTextTemplate
  • No longer explicitly include CMakeParseArguments. Commit.
  • Make date/time filter locale-aware. Commit.
  • Make Context accessible to filters. Commit.
KUnitConversion
  • Fix inconsistencies in exponentiated units. Commit.
  • Check if toUnit is in this category before trying to convert. Commit.
KUserFeedback
  • User-feedback-manual.qdocconf template: fix outdated version variable use. Commit.
  • User-feedback-manual.qdocconf template: fix outdated URL. Commit.
KWallet
  • Properly handle when the portal fails to open the wallet. Commit.
  • Remove unused variable. Commit.
  • Remove some default function args. Commit.
  • Ksecretd: Remove unused method parameters. Commit.
  • Remove leftovers from KSecretsService. Commit.
  • Ksecretd: Remove unused sessionTimeout parameter from pamOpen. Commit.
  • Ksecretd: Remove wrong comment. Commit.
  • Remove unused WId parameter from sync(). Commit.
  • Drop KSecretD::sync. Commit.
  • Ksecretd: Fix Completed argument when dismissing collection creation. Commit.
  • Ksecretd: Drop appId. Commit.
  • Drop defunct Leave Open option from kcfg. Commit.
  • Ksecretd: Remove unused force parameter from internalClose(). Commit.
  • Ksecretd: Drop CloseCancelled handling. Commit.
  • Remove unneeded KSecretD::networkWallet. Commit.
  • Drop unneeded KSecretD::doCloseSignals. Commit.
  • Ksecretd: Drop unused walletOpened signal. Commit.
  • Ksecretd: Make sure collection is reported as unlocked after PAM unlock. Commit. See bug #459287
  • Ksecretd: Make parameter names consistent. Commit.
  • Ksecretd: Drop unneeded intermediate function. Commit.
  • Drop long-time commented out code. Commit.
  • Add missing KWALLET_BUILD_DEPRECATED_SINCE in cpp file. Commit.
  • Add desktop file for kwalletd. Commit.
  • Run clang-format. Commit.
  • Drop dead CMake code for tests. Commit.
  • Deprecate Wallet::requestChangePassword(). Commit.
  • Deprecate Wallet::lockWallet(). Commit.
  • Deprecate Wallet::sync(). Commit.
  • Ksecretd: Remove unused force parameter from close(). Commit.
  • Ksecretd: Drop KWalletSessionStore. Commit.
  • Drop unused handleSession from ksecretd. Commit.
  • Drop Close When Idle handling from kwalletd. Commit. Fixes bug #524500
  • Propagate locked status from backend to kwalletd. Commit.
  • Add formatting commit to ignore list. Commit.
  • Drop isPath handling. Commit.
  • Drop unused function. Commit.
  • Fix logic errors in internalOpen. Commit. Fixes bug #524373. Fixes bug #524592
  • Autotests: fix dependency version var name. Commit.
  • Fix memory leaks in kwalletd. Commit.
  • Add Leave Manager Open to kcfg file. Commit.
  • Export kcfg file in CMake config. Commit.
  • Drop pseudo access control for wallet. Commit.
KWidgetsAddons
  • KColorMimeData: guard against a null QMimeData pointer. Commit.
  • KMessageDialog: clean-up left-over KF5 times show event handling. Commit.
KWindowSystem
  • Remove outdated & unused CMakeFindFrameworks include. Commit.
KXMLGUI
  • Aboutkde: use better shadow for Konqi. Commit.
  • Fix broken toolbars after second edit w/ multiple KXMLGUIClients. Commit. Fixes bug #442179
  • Mark more pimpl parent pointers as const, consistently be first member. Commit.
Modem Manager Qt
  • Do not use CMAKE_MODULE_PATH variable before it is created. Commit.
  • Remove usage of no longer existing QT_DEFINITIONS CMake variable. Commit.
  • Remove Qt4-times unused subdir CMakeLists.txt file for D-Bus support. Commit.
Network Manager Qt
  • Drop Q_FLAGS/Q_ENUMS on non-QObject/gadget types. Commit.
  • Port away from deprecated Q_FLAGS. Commit.
Oxygen Icons
  • Fixes. Commit.
  • More fixes. Commit.
  • Bug fixing. Commit.
  • Missing icon sizes. Commit.
  • Minor bug fix. Commit.
  • Add go-parent-folder icons for Bug 524878. Commit.
  • Minor fix i hope to a rendering bug. Commit.
  • Another derivative icon. Commit.
  • More bug fixing. Commit.
  • Bug fixing. Commit.
  • New size and clean up, the symbolic needs to point to point to a correct version of the icons for how its used in plasma, renaming on the applet to the correct linked version would be more optimal IMO. Commit.
  • Miss commit fix. Commit.
  • New icon for KDebugSettings. Commit.
  • Small improvements. Commit.
  • More sizes. Commit.
  • Just for testing. Commit.
  • Aparently forgot to submit the source svg. Commit.
  • 32X32 AND 22X22 OF KTIMER ICON VERSIONS. Commit.
  • Improvement in visibility. Commit.
  • New icon. Commit.
  • Renaming. Commit.
  • Missed an icon raster. Commit.
  • Fixing a bug and removing the faoux backlight. Commit.
  • New ktimer icon still missing the small sizes. Commit.
Purpose
  • Remove no longer used cmake variable. Commit.
  • Removal of pastebin pulgin. Commit.
QQC2 Desktop Style
  • SwipeDelegate: remove workarounds for inset. Commit.
  • TableHeaderViews: account for the margins of the root control. Commit. See bug #524099
Solid
  • Upower: Return -1 for unknown battery percentages. Commit. See bug #518513
  • Autotests: drop usage of not existing LIBS variable. Commit.
Sonnet
Syntax Highlighting
  • Add DotEnv syntax highlighting. Commit.
  • Repository.h: Make Repository::eventFilter() protected. Commit.
  • Syntax/yaml.xml: Have BuildStream files use the yaml highlighter. Commit.
  • Associate .envrc files with Bash. Commit.
  • Add KDL syntax highlighting. Commit.
  • Add Just syntax highlighting. Commit.
  • Initialize more cmake variables explicitly. Commit.

Tuesday, 8 September 2026

I tagged v0.0.11 last night. Or this morning. I’ve stopped keeping track of which side of midnight things happen on.

Most of what’s in this tag I already went on about on Monday, in the weekly update: the harp swapping, the Guitar Pro files, the pitch detectors that turn out not to hear chords. Go read that one if you want the long version, and it is a long version, I checked. This is only about the four things that landed after I wrote it.

Four things. Well. Three things, because one of them was me deleting a line out of a TODO file, and I’m not going to make you read a paragraph about that.

The harmonica I made up

So there was this line in my TODO list, and it said my chromatic harmonica was modelled as reaching less of its range than a diatonic, which is backwards. Chromatics are the ones that get all the notes. That’s the deal with a chromatic. You press the little button on the side and you get the notes in between, that is the entire pitch of the instrument, that’s why it costs four times as much as the other one.

So I went in to fix it, expecting to add a missing technique somewhere, and what I found instead was that the layout in my code was not a chromatic harmonica. It was not a harmonica at all. It was a C major scale going up one note per hole. C D E F G A B C D E F G, straight up, like somebody had typed a scale into an array and gone to lunch, which, in fairness, is exactly what happened, and the somebody was me.

A real 12-hole chromatic is solo tuned. It goes C E G C, then D F A B, and that four hole group repeats up the instrument for three octaves. That repeating is the whole point of it. That’s what makes one fingering work in every octave, that’s the thing you’re buying. Mine repeated nothing. Mine also stopped at A5 instead of C7, so fourteen of the thirty seven semitones between C4 and C7 weren’t reachable at all, on an instrument whose one job is reaching all of them.

Fourteen out of thirty seven. On the chromatic. The one that gets all the notes.

Nobody noticed, and here’s the bad part

Now you’d think somebody would have noticed, and here is why nobody did, and it’s the part that actually bothers me.

Both of the chromatic charts I ship had the made up layout copied into them. Both of them. So they agreed with the code perfectly, and the code agreed with them, and everybody in there was consistent and confident and describing an instrument nobody owns.

One of those two charts, and I want you to appreciate this with me, one of those two charts is the lesson that teaches you the chromatic slide.

So if you had gone out and bought a real chromatic harmonica, an actual physical one, made of metal, by a company, and you’d sat down to learn the slide from my game, the hole numbers would have been wrong. Every one of them. And nothing anywhere would have told you why, and you would have assumed the problem was you, because when you’re learning an instrument you always assume the problem is you, and about nine times in ten you’re right, and this was the tenth time.

Both charts are re-fingered onto the real instrument now. The music didn’t change, and it couldn’t, because every event already recorded the pitch it sounds and those pitches were fine. It was only ever the hole numbers that were imaginary. So I re-resolved each event from its note instead of its hole: thirty three of them in Für Elise, sixteen in the lesson. Not one note moved.

The slide lesson does now teach ten slides instead of fourteen, because on a real solo tuned harmonica more of those notes just sit on a plain reed and don’t need the button. Which is fine. Ten slides is plenty of slides.

And the test that would have caught this doesn’t compare the charts to themselves, because as established they were extremely happy with themselves. It compares them against a tuning this codebase can actually build.

The staff was lying too, only quietly

Two smaller ones, both in the notation strip along the top.

Accidentals were drawn per note instead of per bar. So if a tune leans on one altered note, and blues tunes do, a second position blues leans on its F# all day long, you got the same sharp redrawn in front of every single note. Which looks silly, but it’s worse than silly, because each one is about eleven pixels wide and an eighth note only has seventeen pixels to give in the first place.

They hold for the rest of the bar now, like they do on paper. And every note that cancels one gets a real natural sign, because just skipping the repeats would have left a later plain F in that bar reading as an F#, and I’d have gone from drawing something redundant to drawing something false, which is a worse trade than it sounds.

The staff itself was a fixed thirty four pixels per beat, and a notehead plus the accidental in front of it wants about twenty one, and a sixteenth note was getting eight and a half. They overlapped. Of course they overlapped. It works out the spacing from each song’s own density now, with a cap on it, because otherwise one busy bar shrinks how far ahead you can see down to about a bar and a half, and then you can’t read the thing at all.

That’s v0.0.11. Still 0.0.x, still early, still on GitHub, still, as of this week, no longer shipping an instrument that does not exist.

Today KDE releases a bugfix update to KDE Plasma 6, versioned 6.7.5.

Plasma 6.7 was released in June 2026 with many feature refinements and new modules to complete the desktop experience.

This release adds a month’s worth of new translations and fixes from KDE’s contributors. The bugfixes are typically small but important and include:

View full changelog

Its been a minute since my last posts when I went over plasma-keyboard and its new diacritics feature, and the mega-sprint in Graz.

Overview

I've been busy with a whole lot of things, but here's a brief highlight:

  • Tons of bugfixes for plasma-keyboard and the diacritics feature after some distros set plasma-keyboard to be on by default. This unexpected new batch of testers found a host of bugs that warranted a bunch of frenetic bugfixing after the launch of Plasma 6.7; thankfully these were successful and the flow of bug reports slowed
  • Improved the plasma-keyboard documentation for new contributors
  • Added a bunch of unit tests for plasma-keyboard; a few months ago we had 0% test coverage and now we have 57% of C++ code covered by tests (would prefer it higher, but progress!)
  • Added apidox to some difficult kwin code
  • plasma-setup maintenance (we've had new contributors 🎉, bugs, proposals, etc)
  • In relation to the STF grant to KDE, I've been doing technical review on behalf of the e.V. for all the changes being done (spoiler alert: a massive amount of amazing work has been/is being done!)
  • A whole bunch of gardening, reviews, bug triage/fixing, etc — not so much of the fun stuff I would like such as the new plasma-keyboard features I have planned, but important work that has been needful
  • Fixed the OSK (on-screen keyboard) button on the lock screen, and added a matching one to plasma-login-manager
  • Hopefully being merged in time for 6.8: redesigned/fixed up system tray applet for plasma-keyboard

ci-healthcheck

I created a utility to check the health of KDE CI along with a web dashboard to visualize the results, and began making weekly updates on the state of all Plasma's CI health on the mailing list.

screenshot of the ci-healthcheck dashboard

In the beginning we regularly had a dozen or more repos with CI failing on master, dozens of repos whose CI hadn't been run in months or in a few cases years, and 14% of repos configured to report failing tests in the MR view.

Now we usually never have more than 1 or 2 repo with failing CI in master any given week and even had a few weeks in a row with no failing CI, every Plasma repo runs its CI against master at least once a week to catch issues, and fully 94% of Plasma repos are configured to report failing tests in the MR view.

I consider this a massive success! 🎉🎉🎉

Still more that can be done to improve the reports and CI health, but kudos to everyone for helping trim the fat and keep our software stack healthy and reliable! 🍪

plasma-morekeys

There have been requests for plasma-keyboard to support full-sized keyboard layouts, however there has been debate about if that is appropriate to have in plasma-keyboard; such a feature seems like it would be rather niche, while adding a fair amount of complexity and maintenance burden.

Full-sized layouts wouldn't add any benefit for the vast majority of users who want a way to type in a search, a text message, etc — it seems like a much rarer user who would want to perform desktop keyboard shortcuts, use vim in a terminal, change tty from their OSK instead of a real keyboard, etc.

The super talented Aleix created plasma-morekeys as a solution for those who want a full keyboard layout that simply emulates a real keyboard and can do all of the above mentioned things like keyboard shortcuts, and more.

screenshot showing plasma-morekeys working with a terminal

This is intended as a test; it was put together quickly so those who need this feature can try it and provide feedback. If it proves successful then we can transition it to an official project, perhaps provide integration with plasma-keyboard to make choosing/using it seamless.

If you are one of the people with interest in a full-size keyboard layout for your OSK, please give it a try:

  • Install the plasma-morekeys flatpak (consider this alpha software!):
curl -L -o /tmp/plasma-morekeys.flatpak "https://nextcloud.merritt.codes/s/x4gqrs596NPYarF/download" && flatpak install --user --or-update --bundle /tmp/plasma-morekeys.flatpak
  • Test out how it works for your usecases
  • If you encounter bugs or find it isn't quite working how you require, report it and tell us what's wrong and what your usecase is so we can try and address it

Akademy

Its just over a week until Akademy!! I'm looking forward to seeing a whole bunch of my KDE family again in Graz, and the chance to get some important work done together.

I have a bit of face blindness, so please don't be offended if I can't recognize everyone on sight! (I often rely on other cues like mannerisms, hair style, voice, etc)

I will try my best to be outgoing, but if I come across as a very anxious wallflower please know that I am friendly and super happy to see you all, and I appreciate the social butterflies pulling me into the mix! 😆

See you soon! 👋👋👋

Monday, 7 September 2026

I’m getting old (though, not as old as the image below), and I miss the good old days when using Linux was more difficult, but when every system in a Linux desktop session was simple.

Excalibur (1981)
Excalibur (1981)

This was before polkit, systemd, … Even before DBus and PulseAudio. All of these systems are cool and all, but I sometimes miss the simplicity of “everything can be a shell script”.

I’ve been playing around with something that made me investigate how the Plasma session is started, and if I can replicate it without significant issues with a simple shell script or something else.

It turns out it is not that difficult of a process, just a bit convoluted.

Your chosen display manager starts startplasma. A DBus session is created and startplasmacompositor (and kwin_wayland) is started. Then plasma_session starts. And it starts kded6 and ksmserver. There are a few other things that are started as well (like kactivitymanagerd), but they are started automagically by DBus when another component tries to use their DBus API.

Moving to a shell script

In the old days, there was just a simple shell script called startkde which set the environment variables and started all the needed processes for a working KDE (and later Plasma) session. It wasn’t pretty, it wasn’t efficient, but it did what it needed to.

Se I decided to try to reimplement a rudimentary version of that script for the new Plasma.

These are the basic environment variables you’d want set before running a Plasma session (or other UI applications):

# XDG
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=KDE
export XDG_SESSION_DESKTOP=KDE

# Qt
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_WAYLAND_RECONNECT=1
export QSG_RHI_BACKEND=vulkan

# KDE
export DESKTOP_SESSION=plasma
export KDE_FULL_SESSION=true
export KDE_SESSION_VERSION=6

I placed this into a seaprate script called env.sh as it is useful for testing to be able to initialize the same environment in a shell outside of startkde.

Apart from these, if you have some custom installation paths for Qt or KDE things, you should also set PATH, XDG_DATA_DIRS, XDG_CONFIG_DIRS, QT_PLUGIN_PATH, QML2_IMPORT_PATH and QT_QUICK_CONTROLS_STYLE_PATH.

If you have any custom environment variables defined in ~/.config/plasma-workspace/env, you should add them here as well (or source all the files from that directory).

For the main script, just source env.sh, run dbus-update-activation-environment --all and start all the session components mentioned above:

source env.sh
dbus-update-activation-environment --all
kwin_wayland --drm &
KWIN_PID=$!
sleep 1

export WAYLAND_DISPLAY=wayland-0
kactivitymanagerd &
ksmserver &
kded6 &
plasmashell &
krunner &
# other things you want started along with Plasma

wait $KWIN_PID

The sleep 1 is evil and there are better ways to check if wayland-0 became available, but this is a quick and dirty script after all. And the original startkde script also had some sleeps in it.

The only thing remaining is to create a session file that your display manager can use, and you’re good to go (/usr/share/wayland-session/shellscript-based-startplasma.desktop)):

...
Exec=dbus-run-session -- /path/to/the/script.sh
...

This seems to work without important issues, it just skips the splash screen which I can live without (wow, ksplashqml is 15 years old…).

I didn’t test it for too long, as I quickly replaced this shell script with a dinit-based setup, but more on that in the next post.

I'm going to Akademy 2026