... | ... | @@ -81,6 +81,19 @@ git clone https://gitlab.freedesktop.org/xrdesktop/kdeplasma-applets-xrdesktop.g |
|
|
```
|
|
|
|
|
|
10. Build kwin effect plugin.
|
|
|
|
|
|
KWin by default does not load effect plugins from /usr/local. There are two ways to make the plugin work.
|
|
|
|
|
|
a) install the kwin plugin in the /usr prefix instead of /usr/local
|
|
|
```
|
|
|
cd kwin-effect-xrdesktop
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
|
|
make
|
|
|
sudo make install
|
|
|
cd ..
|
|
|
```
|
|
|
|
|
|
b) install the plugin in /usr/local and always set the environment variable `QT_PLUGIN_PATH` before starting kwin_x11.
|
|
|
```
|
|
|
cd kwin-effect-xrdesktop
|
|
|
cmake .
|
... | ... | @@ -88,6 +101,9 @@ make |
|
|
sudo make install
|
|
|
cd ..
|
|
|
```
|
|
|
Observe where `make install` installs the plugin and restart kwin with the `QT_PLUGIN_PATH` set to the `plugins/` directory like so (example from Ubuntu 19.04)
|
|
|
`QT_PLUGIN_PATH=/usr/local/lib/x86_64-linux-gnu/plugins/ kwin_x11 --replace`
|
|
|
|
|
|
|
|
|
11. Install plasma applet
|
|
|
```
|
... | ... | |