Include options in the configuration to change which function keys to use for shutdown and reboot.
Fix config.map_len size in src/config.c.
Add missing defaults in config_defaults() in src/config.c.
1 year ago
6 changed files with 26 additions and 14 deletions
You can download Zig [here](https://ziglang.org/download/).
### Fedora
**Warning**: You may encounter issues with SELinux on Fedora.
It is recommended to add a rule for Ly as it currently does not ship one.
## Support
```
The following desktop environments were tested with success
# dnf install kernel-devel pam-devel libxcb-devel
```
## Support
The following desktop environments were tested with success:
- awesome
- awesome
- bspwm
- bspwm
- budgie
- budgie
@ -95,6 +102,8 @@ disable getty on Ly's tty to prevent "login" from spawning on top of it
### OpenRC
### OpenRC
**NOTE**: On Gentoo, Ly will disable the `display-manager-init` service in order to run.
Clone, compile and test.
Clone, compile and test.
Install Ly and the provided OpenRC service
Install Ly and the provided OpenRC service
@ -109,7 +118,8 @@ Enable the service
You can edit which tty Ly will start on by editing the `tty` option in the configuration file.
You can edit which tty Ly will start on by editing the `tty` option in the configuration file.
If you choose a tty that already has a login/getty running (has a basic login prompt), then you have to disable the getty so it doesn't respawn on top of ly
If you choose a tty that already has a login/getty running (has a basic login prompt),
then you have to disable getty, so it doesn't respawn on top of ly
```
```
# rc-update del agetty.tty2
# rc-update del agetty.tty2
```
```
@ -129,7 +139,9 @@ You should as well disable your existing display manager service if needed, e.g.
# rm /var/service/lxdm
# rm /var/service/lxdm
```
```
The agetty service for the tty console where you are running ly should be disabled. For instance, if you are running ly on tty2 (that's the default, check your `/etc/ly/config.ini`) you should disable the agetty-tty2 service like this:
The agetty service for the tty console where you are running ly should be disabled.
For instance, if you are running ly on tty2 (that's the default, check your `/etc/ly/config.ini`)
you should disable the agetty-tty2 service like this: