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.
This commit is contained in:
parent
1cb43e8407
commit
ee05ea7912
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue