Code Monkey home page Code Monkey logo

ly's Introduction

Ly - a TUI display manager

Ly screenshot

Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD.

Patches added in fork

Takes from ddrozdowsky/ly-void

  • runit service instead of systemd one by @qub1750ul
  • it language patch by @termgod

Re-applied onto current master of nullgemm/ly.

Dependencies

  • a C99 compiler (tested with tcc and gcc)
  • a C standard library
  • GNU make
  • pam removed
  • 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

  • budgie
  • cinnamon
  • deepin
  • enlightenment
  • gnome
  • i3
  • kde
  • lxde
  • lxqt
  • mate
  • sway
  • xfce
  • pantheon
  • maxx
  • windowmaker

This fork only tested using Sway on Void Linux

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

systemd?

This fork has been patched to remove systemd support, use nullgemm/ly.

Cloning and Compiling

Clone the repository

git clone https://github.com/nullgemm/ly.git

Fetch submodules

make github

Compile

make

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

sudo make run

Install Ly and the provided systemd service file Then, install Ly and the runit service file

sudo make install

Now enable the runit service to make it spawn on startup

sudo ln -s /etc/sv/ly-runit-service /var/service/

You can disable getty-tty2

sudo rm /var/service/agetty-tty2

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 ArchLinux, 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.

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.

ly's People

Contributors

nullgemm avatar stlaz avatar ericonr avatar trn1ty avatar ivanhercaz avatar egorduplensky avatar 0mp avatar mihaimorariu avatar themadprofessor avatar drozdowsky avatar mozartilize avatar tyusha0 avatar

Stargazers

Giuseppe Masino avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.