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.
master
Kristen McWilliam 11 months ago committed by Vlad Zahorodnii
parent 1cb43e8407
commit ee05ea7912

@ -93,15 +93,16 @@ Running it from your build directory looks like this:
```bash ```bash
# from the root of your build directory # from the root of your build directory
source prefix.sh
cd bin cd bin
# for wayland, starts nested session: with console # 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: # 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
``` ```

Loading…
Cancel
Save