or a terminal emulator (but desktop environments won't start)
or a terminal emulator (but desktop environments won't start)
```
```
sudo make run
# make run
```
```
Install Ly and the provided systemd service file
Install Ly and the provided systemd service file
```
```
sudo make install
# make install
```
```
Enable the service
Enable the service
```
```
sudo systemctl enable ly.service
# systemctl enable ly.service
```
```
If you need to switch between ttys after Ly's start you also have to
If you need to switch between ttys after Ly's start you also have to
disable getty on Ly's tty to prevent "login" from spawning on top of it
disable getty on Ly's tty to prevent "login" from spawning on top of it
```
```
sudo systemctl disable getty@tty2.service
# systemctl disable getty@tty2.service
```
```
## Arch Linux Installation
## Arch Linux Installation
From [AUR](https://aur.archlinux.org/packages/ly):
From [AUR](https://aur.archlinux.org/packages/ly):
```
```
yay -S ly
# yay -S ly
```
```
## Configuration
## Configuration
@ -106,11 +108,9 @@ while on the desktop field (above the login field).
## .xinitrc
## .xinitrc
If your .xinitrc doesn't work make sure it is executable and includes a shebang.
If your .xinitrc doesn't work make sure it is executable and includes a shebang.
This file is supposed to be a shell script! Quoting from xinit's man page:
This file is supposed to be a shell script! Quoting from xinit's man page:
```
If no specific client program is given on the command line, xinit will look for
> If no specific client program is given on the command line, xinit will look for a file in the user's home directory called .xinitrc to run as a shell script to start up client programs.
a file in the user's home directory called .xinitrc to run as a shell script to
start up client programs.
```
On Arch Linux, the example .xinitrc (/etc/X11/xinit/xinitrc) starts like this:
On Arch Linux, the example .xinitrc (/etc/X11/xinit/xinitrc) starts like this: