Tutorials/Using Other Window Managers with Plasma: Difference between revisions

From KDE UserBase Wiki
Line 4: Line 4:


KWin is the default window manager (WM) in Plasma and has lot of features, but only support floating windows. Plasma let you use another window manager for example i3, bspwm or [https://wiki.archlinux.org/index.php/Window_managers any other tilling window manager].
KWin is the default window manager (WM) in Plasma and has lot of features, but only support floating windows. Plasma let you use another window manager for example i3, bspwm or [https://wiki.archlinux.org/index.php/Window_managers any other tilling window manager].
Most window managers require few, if any, changes to their configuration files. Exceptions include tiling window managers which may have problems with components like panels.


==I3 configuration==
==I3 configuration==

Revision as of 14:51, 27 December 2018

Under Construction

This is a new page, currently under construction!


Introduction

KWin is the default window manager (WM) in Plasma and has lot of features, but only support floating windows. Plasma let you use another window manager for example i3, bspwm or any other tilling window manager.

Most window managers require few, if any, changes to their configuration files. Exceptions include tiling window managers which may have problems with components like panels.

I3 configuration

Installation

Before starting the configuration, you should make sure i3 or i3-gaps are installed on your system. If not use your packet manager or Discover to install one of this two packages. You should also install a compositor, because unlike KWin, i3 don't ship with an integrated compositor. I recommend the use of compton.

Create a default i3 configuration

Note

If you already have an i3 configuration file (usually at .i3/config or .config/i3/config), you can skip this step.


Open a console and type i3-config-wizard. This command open a small windows that will help you create a configuration file.

Using another Window Manager with Plasma

i3 will be used as an example here, however any window manager can used

  • Create a shell script (kde-i3.sh as an example), containing the following
    #!/bin/sh
    export KDEWM=/usr/bin/i3
    

Replace /usr/bin/i3 with the path to the window manager desired.

  • Start System Settings
  • Select Startup and Shutdown
  • Select "Autostart"
  • Click the "Add script" button below the list
  • Enter the location of the script created earlier, or use the folder icon to use a dialog to find it. Click OK, the script will be added to the list
  • In the Run On column, select Before Session Startup from the drop down list
  • The chosen window manager will be used the next time you log in

Bspwm configuration