#!/bin/sh # kded6 wrapper — prevents Qt6 Wayland QPA crash on Redox # Qt6 Wayland page-faults at null+8 during wl_proxy_add_listener. # QT_QPA_PLATFORM=offscreen is NOT sufficient — Qt6 still tries wayland. # Rename the wayland plugin so Qt can't find it, forcing offscreen fallback. if [ -f /usr/plugins/platforms/libqwayland.so ]; then mv /usr/plugins/platforms/libqwayland.so /usr/plugins/platforms/libqwayland.so.disabled fi export QT_QPA_PLATFORM=offscreen exec /usr/bin/kded6.real "$@"