Skip to content

tyusha0/ly-reloaded

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ly Reloaded - a TUI display manager

Ly screenshot

Merging with Ly

That's right, Ly Reloaded is merging into Ly!

Ly Reloaded is a maintained fork of Ly with bug fixes and patches. It's a lightweight TUI (ncurses-like) display manager for Linux and BSD.

Download

An older package is available in the AUR as ly-plank-patched which only contains the XDG_SESSION_TYPE patch.
A newer package, which directly pulls from the latest git commits, is available in the AUR as ly-reloaded-git (thanks ibrokemypie!)

However, to make Ly Reloaded launch at boot, you'll need to enable the ly systemd service after installing the package.

Dependencies

  • a C99 compiler (tested with tcc and gcc)
  • a C standard library
  • GNU make
  • pam
  • xcb
  • xorg
  • xorg-xauth
  • mcookie
  • tput
  • shutdown

On Debian-based distros running apt install build-essential libpam0g-dev libxcb-xkb-dev as root should install all the dependencies for you.

Support

The following desktop environments were tested with success

  • awesome
  • herbstluftwm
  • bspwm (might have a few problems)
  • budgie
  • cinnamon
  • deepin
  • dwm
  • enlightenment
  • gnome
  • i3
  • kde
  • lxde
  • lxqt
  • mate
  • qtile
  • sway
  • xfce
  • pantheon
  • maxx
  • windowmaker

Ly Reloaded should work with any X desktop environment, and provides basic wayland support (sway works very well, for example).

systemd?

Unlike what you may have heard, Ly Reloaded does not require systemd, and was even specifically designed not to depend on logind. You should be able to make it work easily with a better init, changing the source code won't be necessary :)

Cloning and Compiling

Clone the repository

git clone --recurse-submodules https://github.com/SartoxSoftware/ly-reloaded

Go to its directory

cd ly-reloaded

Compile

make

Install Ly and the provided systemd service file

sudo make install

Enable the service

sudo systemctl enable ly.service

Test in the configured tty (tty2 by default) or a terminal emulator (but desktop environments won't start)

sudo make run

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

sudo systemctl disable [email protected]

Configuration

You can find all the configuration in /etc/ly/config.ini. The file is commented, and includes the default values.

Controls

Use the up and down arrow keys to change the current field, and the left and right arrow keys to change the target desktop environment while on the desktop field (above the login field).

.xinitrc

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:

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.

On Arch Linux, the example .xinitrc (/etc/X11/xinit/xinitrc) starts like this:

#!/bin/sh

Tips

The numlock and capslock state is printed in the top-right corner. Use the F1 and F2 keys to respectively shutdown and reboot. Take a look at your .xsession if X doesn't start, as it can interfere (this file is launched with X to configure the display properly).

PSX DOOM fire animation

To enable the famous PSX DOOM fire described by Fabien Sanglard, just uncomment animate = true in /etc/ly/config.ini. You may also disable the main box borders with hide_borders = true.

CMatrix animation

You can also enable a Matrix-like animation (which is based on the CMatrix project). To do that, simply uncomment animate = true but also uncomment animation = 1.

Additional Information

The name "Ly" is a tribute to the fairy from the game Rayman. Ly was tested by oxodao, who is some seriously awesome dude.

About

A display manager with console UI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 87.7%
  • Shell 8.3%
  • Makefile 4.0%