Install kwin window manager
To install the kwin window manager:
sudo pacman -S kwin
Simple as that. But you need to install also the kde-cli-tools which will enable the use of the Window Manager Settings:
sudo pacman -S kde-cli-tools
Option 1: Edit xfce4-session.xml
For this option it is required to edit the XML file that Xfce uses at startup. A file that stores a bunch of default commands and options.
sudo nano /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
Find the line that looks like this:
<value type="string" value="xfwm4"/>
and change xfwm4 with kwin_11 like this:
Save the file and that’s it. Log out and log back in again!
Option 2: Application Autostart
For this option you need to go to “Settings –> Session and Startup” and add a new item under “Application autostart” like the image bellow: