Skip to content

Instantly share code, notes, and snippets.

@deadjakk
Created October 21, 2021 17:54
Show Gist options
  • Save deadjakk/71502e5812cf355b241cc0f235d564fb to your computer and use it in GitHub Desktop.
Save deadjakk/71502e5812cf355b241cc0f235d564fb to your computer and use it in GitHub Desktop.
Install xinitrc as an xsession file
#!/bin/bash
echo installing xinitrc-xsession
git clone https://aur.archlinux.org/xinit-xsession.git /tmp/xinit-xsession
cd /tmp/xinit-xsession
doas cp xinitrcsession-helper /usr/bin/
doas chmod +x /usr/bin/xinitrcsession-helper
doas cp xinitrc.desktop /usr/share/xsessions/
touch ~/.xinitrc
chmod +x ~/.xinitrc
echo installed xinitrc-xsession
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment