From ee05ea79128e73bf3a131297aeb37e0ffd19d5b6 Mon Sep 17 00:00:00 2001 From: Kristen McWilliam Date: Tue, 24 Oct 2023 12:16:59 +0000 Subject: [PATCH] docs/contributing: update instructions to run development kwin Doesn't seem to work quite right without sourcing the prefix, or while overriding the env variables entirely, for example it is unable to load any window decorations. By sourcing the prefix _and_ including the bin directory in the path, it seems to work as expected - or at least the window decorations load correctly now. --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2ccc0101f9..ba367309bd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -93,15 +93,16 @@ Running it from your build directory looks like this: ```bash # from the root of your build directory +source prefix.sh cd bin # for wayland, starts nested session: with console -env QT_PLUGIN_PATH=`pwd` dbus-run-session ./kwin_wayland --xwayland konsole +env QT_PLUGIN_PATH="$(pwd)":"$QT_PLUGIN_PATH" dbus-run-session ./kwin_wayland --xwayland konsole # or for x11, replaces current kwin instance: -env QT_PLUGIN_PATH=`pwd` ./kwin_x11 --replace +env QT_PLUGIN_PATH="$(pwd)":"$QT_PLUGIN_PATH" ./kwin_x11 --replace ```