Tutorials/Using Other Window Managers with Plasma: Difference between revisions
m (Ognarb moved page Tutorials/Using i3 with Plasma to Tutorials/Using Other Window Managers with Plasma without leaving a redirect: More generic title) |
|||
Line 19: | Line 19: | ||
[[File:i3-wizard.png|500px]] | [[File:i3-wizard.png|500px]] | ||
=== | ===Using another Window Manager with Plasma=== | ||
i3 will be used as an example here, however any window manager can used | |||
[[Image:kde-i3-integration.png]] | |||
*Create a shell script, containing the following | *Create a shell script (kde-i3.sh as an example), 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>}} | ||
Replace /usr/bin/i3 with the path to the window manager desired. | |||
* Start '''System Settings''' | * Start '''System Settings''' | ||
Line 36: | Line 37: | ||
* Click the "Add script" button below the list | * Click the "Add script" button below the list | ||
* Enter the location of the script created | * 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 | * In the '''Run On''' column, select '''Before Session Startup''' from the drop down list |
Revision as of 14:48, 27 December 2018
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.
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
.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