I now plan to return hacking KF5 and I’d like to use this tiling manager. In KDE4 I simply used the “Default Applications” control module from “System Settings” to choose i3, after adding the right i3.desktop file. However, with KF5 that will not be enough. For some reason kwin will still be loaded. (And BTW, the new kwin looks really great. I also like the new plasma desktop very much, but it won’t fit my workflow, as I prefer tiling WMs paradigm) Today I started searching a quick way to workaround that and here it is what I did.
Firstly, create the $KF5/share/ksmserver/windowmanagers/i3.desktop file with this contents:
Comment=Highly configurable framework window manager
Then edit the file ~/.config/ksmserverrc and modify the windowManager line from the [General] section:
# other lines ommited
Alternatively, you can use the “Default Applications” control module from KF5 System Settings to change the window manager to i3.
Finally, here is the little bit that made it. Modify the KF5 startup script to define the KDEWM environment variable. It should read like this:
Here is how:
On my system, I’m using kdm. For it to start a KF5 session, I created /usr/share/config/kdm/sessions/kf5.desktop with this contents:
As you can see, my KF5 is installed in /home/kde5 (others may have it in /opt/kf5). The start-up script, named ‘start-kde’ simply sets the righ environment variables, calls ssh-agent and gpg-agent, then calls startkde from KF5. I added the
export KDEWM=/usr/bin/i3 line into this script.
Quit your current session, choose the KF5 session in KDM and enjoy I3 with KF5!
I’ll now return to tinkering it, as some adjustments still need to be done 🙂