Testing Wayland in a Neon LiveCD

I’d like to easily test window decoration in Wayland, which requires restarting kwin_wayland. Unfortunately we can’t do that as kwin_wayland is the login session.

● ● ●

NightColor.py for Setting Temp From Terminal

I recently looked into the nightcolor widget hoping to add a mousewheel control to temporarily force a specific color like the Redshift Control widget does. Unfortunately I realized the existing API in the NightColor QML plugin doesn’t have the function to do so. So I dived into the NightColor DBus API using qdbusviewer, as I was hoping to run a qdbus command. The Night Color effect is done by KWin, and is codenamed “ColorCorrect” in it’s code.

● ● ●

Show KOrganizer Events in the Panel's Calendar

This is a video demonstration on how to install and setup kdepim-addons which binds the events shown in the KOrganizer app with the calendar in the KDE Plasma panel.

In order to install the entire KDE PIM suite, run:

sudo apt install kdepim

If you only want to connect KOrganizer with the panel, you probably only need:

sudo apt install kdepim-addons
● ● ●

Building Plasma's System Monitor (Ctrl+Esc) By Itself

The “System Monitor” that ships with the plasma-workspace package is fairly useful, and is similar to KSysGuard. The System Monitor has a default shortcut (Ctrl+Esc) so you can quickly access it on any KDE Plasma installation. I usally have System Monitor sorted by “Relative Sort Time” so that I can quickly see the newest processes and if they’re the cause of what’s slowing down my PC.

● ● ●

Picture In Picture With Firefox in KDE

I used to be able to get Picture In Picture with Chrome by maximizing the video, Alt+F3+M+F to exit fullscreen but stay in Chrome’s “fullscreen mode” with the addressbar and window frame hidden. I would then hit Alt+F3+M+A to make the window stay on top. Finally I would use Alt+RightClick to resize the window to be smaller, and Alt+LeftClick to move the window into the bottom right of the screen. This worked for the most part, but was cumbersome to setup.

● ● ●

Simpler kdesrc-build Script

Using kdesrc-build to compile kde repositories is quite verbose, and by default will build all dependencies which can take ages. So I wrote a script to quickly build a single repo and install it.

● ● ●

KWin TabBox Keyboard Events

In case you didn’t know, TabBox is the codename for the Alt+Tab Task Switcher. There are 2 ways to create a Task Switcher skin. A simple QML skin, or a C++ “Desktop Effect”. Somehwere along the way, the QML skins were no longer able to use keyboard shortcuts.

● ● ●

Console for Plasma DevTools

Since my last update, I’ve added a console to the devtools window. QML doesn’t have an “exec” function but you can dynamically create components with a string. So we just put our string inside the Component.onCompleted event handler. Here’s my current exec function.

● ● ●

Making a DevTools Inspector for Plasma

One of the the things I really miss from my few days with Gtk 3.0 in Cinnamon is that it has access to the “Chrome” DevTools inspector. It lets you easily see the Panel’s DOM, and quickly test modifications. It’s a must have for any web development these days too.

● ● ●

Patching Breeze Window Decorations

KDE ships with the Breeze window decorations. Which are drawn via a C++ KDecoration2 “plugin”. You can also download other decorations from the KDE Store (via Get Hot New Stuff) that are SVG based themes for the Aurorae KDecoration2 “plugin” (which is also preinstalled in KDE).

● ● ●

XBox One Controller in KDE Neon

As of Dec 9th 2016, KDE Neon (which is based on Ubuntu 16.04 LTS) is only using the Linux 4.4.0-53 kernel. Which means the XBox One controller isn’t fully supported without some running some commands manually.

● ● ●