Little KWin Helpers

KWin, our fantastic and flexible window manager and Wayland compositor, can not just drive your session but also run in windowed mode for development purposes:

$ dbus-run-session kwin_wayland --exit-with-session kwrite

Et voila, a windowed KWin appears, running KWrite. The separate DBus session is important so it doesn’t mess with your running session, notably trying to take over your global shortcuts.

A black window “KDE Wayland Compositor” containing a KWrite editor window
KWrite running inside KWin Wayland running inside KWin Wayland
Continue reading Little KWin Helpers

Plasma Browser Integration in 6.x

It has been a little quiet around my pet project Plasma Browser Integration. On one hand because I’ve been busy with life but also because browser extension APIs haven’t really gained much new functionality. Nevertheless, for Plasma’s October release I finally found the time to take care of some long-standing feature requests and/or bug reports.

Dark blue space background with stars, a cute dragon wearing a red bandana with a "K" on it, sitting ontop of the Earth which has a blue network cable plugged in whose lose end is squiggling around the KDE Plasma logo
Konqi surfing the world wide web
Continue reading Plasma Browser Integration in 6.x

Akademy Time is Itinerary Time

Every year the KDE Community conducts a large-scale field-test of KDE Itinerary, their fantastic travel companion app, disguised as annual community conference. This year’s Akademy takes place in the capital of Germany, Berlin. I have decided to try and exclusively use KDE Itinerary (full trip planner app) and KTrip (focused on public transport) for all my travel needs from and to the venue as well as its accompanying events.

KDE Itinerary travel companion app “Select Departure Stop” page with a grayed out list of recently searched for stops. “Current Location” is highlighted in a “Determining Location…” state
WIP: Finding your way home from dinner with Itinerary
Continue reading Akademy Time is Itinerary Time

New Hardware Fun

The other day I finally replaced my trusty Thinkpad T480s I bought 6½ years ago. Overall, I was still pretty happy with it and even gave it a little refresh early last year (RAM upgrade, bigger SSD, new keyboard) but the CPU was really starting to show its age when compiling. I’m almost as picky as Nate when it comes to laptops but the P14s Gen 5 AMD (what a mouthful) checked more boxes than most laptops I looked at in recent years.

Plasma 6.5 Dev desktop, black panel and analog clock, wallpaper dark variant (darker hues of purple than the default). KInfoCenter window with light theme ontop, showing information about the device (e.g. KDE neon unstable edition, Qt 6.9.1, 64 GB of RAM, etc)
Breeze Twilight, for the OLED’s sake
Continue reading New Hardware Fun

On Window Activation

You click a link in your chat app, your browser with a hundred tabs comes to the front and opens that page. How hard can it be? Well, you probably know by now that Wayland, unlike X, doesn’t let one application force its idiot wishes on everyone else. In order for an application to bring its window to the front, it needs to make use of the XDG Activation protocol.

KWrite (text editor) window, window has no focus (colors are softened). Task bar with a couple of apps, KWrite icon has an orange background behind it, indicating KWrite is demanding attention
A KWrite window that failed to activate and instead is weeping bitterly for attention in the task bar
Continue reading On Window Activation

PI(M)P Your Clock

You may have read about my new-found fondness for Plasma’s Clock app. Following the development of a “Picture in Picture” protocol for Wayland, I remembered how I once saw someone put up a little timer window during a lunch break while screen-sharing a presentation. I figured, I wanted that, too!

KClock main application window on the page of a “Take a break” timer with a message “This timer is in Picture-in-Picture mode”. A separate small popup window in the bottom right corner containing the timer, a circle to indicate progress, and some controls (add a minute, pause, reset, return to app, and close)
KClock showing a timer popped out in a PIP window
Continue reading PI(M)P Your Clock

KIO Goodies

KIO (KDE Input/Output) is what allows KDE applications to transparently and asynchronously access files, both local and over the network. It also provides many of the user interfaces for manipulating files, such as the Places panel, Open/Save dialog, folder properties, new file menu, and many more. The other day I went through some of its dialogs and gave them a slight overhaul.

“Create New Folder” dialog: an input field for its name “New Purple Folder” and a grid of folder icons with different colors and overlays below. The purple folder icon is selected, the preview next to the file name input box is purple as a result.
Easily create new folders with a custom icon or color!
Continue reading KIO Goodies

Be Free to Have Multiple Clocks

Back in ye olde days there was a running gag that Plasma was all about clocks. With its then-new widget system you could add as many as you wanted, after all. Plasma included not only an analog and a digital clock, there was a binary clock, too, and my all-time favorite fuzzy clock that shows the current time in a colloquial textual way, such as “Quarter to seven”.

KClock main window, a sidebar with Time, Timers, Stopwatch, Alarms, Settings. The main content include an analog and digital clock at 18:45 CEST, a list of cities (Büsingen, Toronto, Adelaide) and the time in those cities.
KClock’s world clock main page

For Plasma Mobile, however, we needed not only a simple clock display but also an alarm clock that could schedule proper system wake ups. Additionally, for travelers a world clock would be nice, and why not have a simple timer and stopwatch as well. That’s KClock, a sexy little Kirigami-based clock app.

Continue reading Be Free to Have Multiple Clocks