Ly Display Manager
repository·master·Indexed 27 days ago
https://github.com/fairyglade/lyA lightweight, TUI-based display manager for Linux and BSD. Designed for portability, Ly does not require systemd and supports various init systems including OpenRC, runit, s6, dinit, and sysvinit. It features a Vi-like navigation mode, customizable UI widgets, and support for custom desktop sessions via .desktop files.
What's inside Ly
- To install Ly and configure it for a systemd-based init system, follow these steps. Note that you must disable your current display manager (e.g., LightDM) and the TTY service Ly will run on (e.g., getty on TTY 2) to avoid conflicts.
Add custom desktop sessions to Ly
masterIf your desktop environment is not appearing in Ly, ensure a
.desktopfile exists in/usr/share/xsessionsor/usr/share/wayland-sessions.To add a custom session that is only visible to Ly, create a new
.desktopfile at/etc/ly/custom-sessions.Install Ly dependencies on FreeBSD
masterTo install the necessary dependencies for Ly on FreeBSD, run the following command:
pkg install ca_root_nss libxcb git xorg xauthInstall Ly dependencies on Fedora
masterTo install the necessary dependencies for Ly on Fedora, run the following command:
dnf install kernel-devel pam-devel libxcb-devel zig xorg-x11-xauth xorg-x11-server brightnessctlInstall Ly with runit
masterTo install Ly for runit-based systems, use the following commands:Install Ly on FreeBSD
masterTo install Ly on FreeBSD, use the following commands. You must then add aLyentry to/etc/gettytaband modify thettyv1terminal entry in/etc/ttys.Install Ly with OpenRC
masterTo install Ly for OpenRC-based systems (like Gentoo or Alpine), run the following commands. On Gentoo/Alpine, you must also comment out the appropriate TTY line in/etc/inittab.Install Ly dependencies on Debian
masterTo install the necessary dependencies for Ly on Debian-based systems, run the following command:
apt install build-essential libpam0g-dev libxcb-xkb-dev xauth xserver-xorg brightnessctlManually build Ly from source
masterTo build Ly manually, ensure you have a release version of
zig(0.16.x) installed. Clone the repository and use the Zig build system:$ git clone https://codeberg.org/fairyglade/ly.git $ cd ly $ zig buildInstall Ly with sysvinit
masterTo install Ly for sysvinit-based systems, use the following commands. To disable TTY 2, comment out the line containingtty2in/etc/inittab.Install Ly with dinit
masterTo install Ly for dinit-based systems, use the following commands. To disable TTY 2, modifyACTIVE_CONSOLESin/etc/dinit.d/config/console.conf.Install Ly with s6
masterTo install Ly for s6-based systems, use the following commands. To disable TTY 2, edit/etc/s6/config/tty2.confand setSPAWN="no".