I3wm: Difference between revisions

From Alpine Linux
(rearranged headings and added Include:Desktop prerequisites)
(added heading Prerequisites)
 
Line 2: Line 2:
[https://i3wm.org/ i3] is a tiling window manager, primarily targeted at advanced users and developers.
[https://i3wm.org/ i3] is a tiling window manager, primarily targeted at advanced users and developers.


== Prerequisites ==
{{:Include:Desktop prerequisites}}
{{:Include:Desktop prerequisites}}
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]


== Installation ==
== Installation ==


Install X11 and set it up using the <code>setup-xorg-base</code> script.{{Cmd|# setup-xorg-base}}
Install i3,  i3 status bar and terminal packages {{pkg|i3wm|arch=}}, {{pkg|i3status|arch=}}, {{pkg|xterm|arch=}}{{Cmd|# apk add i3wm i3status xterm}}
 
Install i3,  i3 status bar and terminal packages {{pkg|i3wm|arch=}}, {{pkg|i3status|arch=}}, {{pkg|xterm|arch=}}.
 
{{Cmd|# apk add i3wm i3status xterm}}


{{Note|Add the user to '''input''' and '''video''' groups. The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages.}}
{{Note|Add the user to '''input''' and '''video''' groups. The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages.}}
Line 29: Line 27:


{{Cmd|# apk add {{pkg|font-terminus|arch=}}}}
{{Cmd|# apk add {{pkg|font-terminus|arch=}}}}
=== Install dbus ===
Install dbus and set it up.
{{Cmd|# apk add {{pkg|dbus|arch=}}}}
{{Cmd|# dbus-uuidgen > /var/lib/dbus/machine-id}}
{{Cmd|# rc-update add dbus}}


== starting i3 ==
== starting i3 ==
Line 45: Line 33:


== See also ==
== See also ==
* [[Xorg|Legacy Xorg drivers]]
* [[Xorg|Legacy Xorg drivers]]
* [https://i3wm.org/docs/userguide.html i3 user guide]
* [https://i3wm.org/docs/userguide.html i3 user guide]

Latest revision as of 10:42, 17 March 2025

i3 is a tiling window manager, primarily targeted at advanced users and developers.

Prerequisites

Installation

Install i3, i3 status bar and terminal packages i3wm, i3status, xterm

# apk add i3wm i3status xterm

Note: Add the user to input and video groups. The default configuration is minimal and most menu options won't work unless you customize and/or install additional packages.

Install drivers

Ensure you have the required drivers.

# apk search xf86-input*

# apk search xf86-video*

# apk add xf86-video-fbdev xf86-video-vesa

Install fonts

Install fonts. If you start i3 without fonts it will be unusable.

# apk add font-terminus

starting i3

Now you can start i3 manually:

# startx /usr/bin/i3

See also