11-09-2019, 09:32 AM
This topic is to act as a guide for setting up i3 on the Pinebook Pro.
Installation
Install the `i3` and `dmenu` packages.
Change LightDM configuration to add the `Sessions` widget so i3 can be chosen at login.
No text in window titles or bar
Edit the i3 configuration file (.config/i3/config) and remove the 'pango:' from the font option. This makes i3 fall back to another font.
TODO: Find better solution.
Inhibit power button
Hitting the power button will shut down the system immediately and its placement (above the backspace) makes this very likely to happen. You can either disable logind from handling the power button at all (set HandlePowerKey to `ignore` in /etc/systemd/logind.conf) or use the same method as other environments and inhibit the handling of the keypress.
You can do this by running the following command in the background:
TODO: Describe how to add this as part of i3 configuration.
TODO: Describe how to make it into a prompt via e.g. i3-nagbar.
Installation
Install the `i3` and `dmenu` packages.
Change LightDM configuration to add the `Sessions` widget so i3 can be chosen at login.
No text in window titles or bar
Edit the i3 configuration file (.config/i3/config) and remove the 'pango:' from the font option. This makes i3 fall back to another font.
TODO: Find better solution.
Inhibit power button
Hitting the power button will shut down the system immediately and its placement (above the backspace) makes this very likely to happen. You can either disable logind from handling the power button at all (set HandlePowerKey to `ignore` in /etc/systemd/logind.conf) or use the same method as other environments and inhibit the handling of the keypress.
You can do this by running the following command in the background:
Code:
systemd-inhibit --what=handle-power-key --who=i3 --why="accidental strike defense" sleep infinity
TODO: Describe how to add this as part of i3 configuration.
TODO: Describe how to make it into a prompt via e.g. i3-nagbar.