Tutorials/Using Other Window Managers with Plasma: Difference between revisions
Line 20: | Line 20: | ||
==Configure i3 to work with Plasma == | ==Configure i3 to work with Plasma == | ||
*Create a shell script, containing the following | *Create a shell script, containing the following | ||
{{Input|1=<nowiki> | {{Input|1=<nowiki> | ||
#!/bin/sh | #!/bin/sh | ||
export KDEWM=/usr/bin/i3 | export KDEWM=/usr/bin/i3 | ||
</nowiki>}} | </nowiki>}} | ||
* Start '''System Settings''' | * Start '''System Settings''' | ||
* Select '''Startup and Shutdown''' | * Select '''Startup and Shutdown''' | ||
* Select "Autostart" | * Select "Autostart" | ||
* Click the "Add script" button below the list | * Click the "Add script" button below the list | ||
* Enter the location of the script created above, or use the folder icon to use a dialog to find it. Click '''OK''', the script will be added to the list | * Enter the location of the script created above, 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 | * 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 | |||
* The chosen window manager will be used the next time you log in |
Revision as of 14:26, 27 December 2018
Introduction
KWin is the default window manager (WM) in Plasma and has lot of features, but only support floating windows. If you want to use tilling windows with a keyboard focused experience you need to use i3 (or another tilling window manager).
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.
I3 configuration
Create a default i3 configuration
Open a console and type i3-config-wizard
. This command open a small windows that will help you create a configuration file.
Configure i3 to work with Plasma
- Create a shell script, containing the following
#!/bin/sh export KDEWM=/usr/bin/i3
- Start System Settings
- Select Startup and Shutdown
- Select "Autostart"
- Click the "Add script" button below the list
- Enter the location of the script created above, 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