hippie68 / psxitarch-how-to

Shows you how to install and configure psxitarch v2 to enable Wi-Fi and fully upgrade the distro in 2021.
37 stars 1 forks source link

Change WM #6

Open Abu-Daud opened 2 years ago

Abu-Daud commented 2 years ago

I know it's not specific to the distro, but if we didn't know where xinitrc or x.org was launching jwm (Joe's Window Manager) (the mushroom menu and wallpaper) and wanted to change to say, i3 point us in the right direction. yay -S i3-gaps then what?

hippie68 commented 2 years ago

As I see it by looking at the files (not tested), the distro does the following:

  1. With /etc/systemd/system/getty@tty1.service.d/override.conf it logs in the user "psxita" automatically (as described in the Arch Wiki here: https://wiki.archlinux.org/title/Getty#Automatic_login_to_virtual_console).
  2. In /home/psxita/.bash_profile (as the user's default shell is Bash) it starts X: exec startx
  3. In /home/psxita/.xinitrc (which runs when X starts) it loads jwm via the line: exec /usr/bin/jwm

Replacing this line with another window manager's or desktop environment's start command should work.