Skip to content

Instantly share code, notes, and snippets.

@g0r3
g0r3 / offline_v5.xml
Created August 14, 2021 13:36 — forked from tonithenhausen/offline_v5.xml
Karoo Rendertheme
<?xml version="1.0" encoding="UTF-8"?>
<rendertheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" map-background="#dcd5d0"
map-background-outside="#dcd5d0" version="5" xmlns="http://mapsforge.org/renderTheme"
xsi:schemaLocation="http://mapsforge.org/renderTheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
<!-- AREA STYLES -->
<style-area fill="#6e91cd" id="water" mesh="true"/>
<!-- LINE CASINGS -->
<style-line id="unpaved_casing" stroke="#669e844c" stroke-linecap="round"/>
@g0r3
g0r3 / main.js
Created September 4, 2026 10:16
Electron 43: Tray icon never registers with StatusNotifierWatcher (minimal repro)
// Minimal reproduction for: Tray icon never appears on Linux under Electron 43.
//
// Run on a StatusNotifier desktop (e.g. KDE Plasma) and watch the registration:
// dbus-monitor --session "interface='org.kde.StatusNotifierWatcher'"
//
// Electron 41 / 42 pass the unique connection name -> ":1.173"
// Electron 43 passes bus name + object path joined -> "org.freedesktop.StatusNotifierItem-<pid>-1/StatusNotifierItem/1"
//
// The joined form is neither accepted argument, so the registration is dropped
// and no icon appears.