File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
src/config/graphical-session Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -99,14 +99,23 @@ If there is a match, modesetting is being used.
9999
100100The ` xinit ` package provides the [ startx(1)] ( https://man.voidlinux.org/startx.1 )
101101script as a frontend to [ xinit(1)] ( https://man.voidlinux.org/xinit.1 ) , which can
102- be used to start X sessions from the console. For example, to use i3, edit
103- ` ~/.xinitrc ` to contain:
102+ be used to start X sessions from the console. For example, to start
103+ [ i3(1)] ( https://man.voidlinux.org/i3.1 ) , edit ` ~/.xinitrc ` to contain `exec
104+ /bin/i3` on the last line.
105+
106+ To start arbitrary programs together with an X session, add them in ` ~/.xinitrc `
107+ before the last line. For example, to start
108+ [ pipewire(1)] ( https://man.voidlinux.org/pipewire.1 ) before starting i3, add
109+ ` pipewire & ` before the last line.
110+
111+ A ` ~/.xinitrc ` file which starts ` pipewire ` and ` i3 ` is shown below:
104112
105113```
114+ pipewire &
106115exec /bin/i3
107116```
108117
109- Then call ` startx ` to start an i3 session.
118+ Then call ` startx ` to start a session.
110119
111120If a D-Bus session bus is required, you can [ manually start
112121one] ( ../session-management.md#d-bus ) .
You can’t perform that action at this time.
0 commit comments