Where is the command to launch i3 (when we first login into the system) located?

xsession :wink:

[13:40:41] joekamprad :: i3-private  ➜  ~ » cat /usr/share/xsessions/i3.desktop                                   
[Desktop Entry]
Name=i3
Comment=improved dynamic tiling window manager
Exec=i3
TryExec=i3
Type=Application
DesktopNames=i3
Keywords=tiling;wm;windowmanager;window;manager;

What is used by DMs (lightdm in case)

You could also start it with a .xinitrd (starts) if you do not want a DM …

[13:47:56] joekamprad :: i3-private  ➜  ~ » cat ~/.xinitrc                     
#!/bin/sh

exec dbus-launch --sh-syntax --exit-with-session i3

the config file is simply the default i3 uses so not need to specify it takes it …

1 Like