Ly Display Manager

repository·master·Indexed 27 days ago

https://github.com/fairyglade/ly

A 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.

Tokens
2.5K
Snippets
7
Records
30
Agent score
91%

What's inside Ly

  1. Install Ly with systemd

    master
    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.
  2. Add custom desktop sessions to Ly

    master

    If your desktop environment is not appearing in Ly, ensure a .desktop file exists in /usr/share/xsessions or /usr/share/wayland-sessions.

    To add a custom session that is only visible to Ly, create a new .desktop file at /etc/ly/custom-sessions.

  3. Install Ly dependencies on Fedora

    master

    To 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 brightnessctl
  4. Install Ly dependencies on Debian

    master

    To 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 brightnessctl
  5. Manually build Ly from source

    master

    To 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 build