Compare commits

...

7 Commits

Author SHA1 Message Date
AnErrupTion 9df54fe980
Tidy up readme.md
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2 weeks ago
AnErrupTion 818089354a
Mention display-manager-init for Gentoo/OpenRC in readme.md
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2 weeks ago
AnErrupTion 6af4b83622
Resolve merge conflicts
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2 weeks ago
アシュ e3b960b68b
Update zig-ini to fix configuration issue (#603) 2 weeks ago
Bruno Rodríguez 4ee2b3ecc7
Backup config if exists when installing (#536)
When installing, checks if `${DESTDIR}/etc/ly/config.ini` exists and
if it does, copies it to `${DESTDIR}/etc/ly/config.ini.old`
8 months ago
lolicon0930 2ca870cfc5
Check if the clock is on. (closes #521) (#522)
If the clock is on, then change the numlock and capslock state positions.
11 months ago
lolicon0930 42bf929756
Add option to change shutdown/reboot keys (#487)
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.
11 months ago

@ -7,8 +7,8 @@
.hash = "122014e73fd712190e109950837b97f6143f02d7e2b6986e1db70b6f4aadb5ba6a0d",
},
.zigini = .{
.url = "https://github.com/Kawaii-Ash/zigini/archive/a5b5caf43f0a0246a242df4aebd00a0649deebad.tar.gz",
.hash = "12202e097a54cbb7c002a2a5b3a3435939fa3902cd14308b7b66ab710e3d88d76e94",
.url = "https://github.com/Kawaii-Ash/zigini/archive/2f598085c8bd8b1acef1add90d116c8dd1895b45.tar.gz",
.hash = "12206dc36227c010c879b59ab563512f718ce4cabe570968587a0bbbcde708f64528",
},
},
.paths = .{""},

@ -5,7 +5,7 @@
Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD.
## Dependencies
- zig
- zig 0.12.0
- a C standard library
- pam
- xcb
@ -15,14 +15,21 @@ Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD.
- 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.
For Fedora try running `dnf install kernel-devel pam-devel libxcb-devel`
### Debian
```
# apt install build-essential libpam0g-dev libxcb-xkb-dev
```
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
- bspwm
- budgie
@ -95,6 +102,8 @@ disable getty on Ly's tty to prevent "login" from spawning on top of it
### OpenRC
**NOTE**: On Gentoo, Ly will disable the `display-manager-init` service in order to run.
Clone, compile and test.
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.
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
```
@ -129,7 +139,9 @@ You should as well disable your existing display manager service if needed, e.g.
# 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:
```
# rm /var/service/agetty-tty2

@ -1,5 +1,5 @@
capslock = Bloq Majús
err_alloc = falla d'assignació de memòria
err_alloc = falla d'assignació de memòria
err_bounds = índex fora de límit
err_chdir = error al obrir carpeta home
err_console_dev = error al accedir a la consola

@ -36,7 +36,7 @@ err_xsessions_dir = error al buscar la carpeta de sesiones
err_xsessions_open = error al abrir la carpeta de sesiones
login = iniciar sesión
logout = cerrar sesión
numlock = Bloq Num
numlock = Bloq Num
password = contraseña
restart = reiniciar
shell = shell

@ -20,7 +20,7 @@ err_pam_cred_expired = identifiants expirés
err_pam_cred_insufficient = identifiants insuffisants
err_pam_cred_unavail = échec de l'obtention des identifiants
err_pam_maxtries = limite d'essais atteinte
err_pam_perm_denied = permission refusée
err_pam_perm_denied = permission refusée
err_pam_session = erreur de session
err_pam_sys = erreur système
err_pam_user_unknown = utilisateur inconnu

@ -6,7 +6,7 @@ err_console_dev = misslyckades att komma åt konsol
err_dgn_oob = loggmeddelande
err_domain = okänd domän
err_hostname = misslyckades att hämta värdnamn
err_mlock = misslyckades att låsa lösenordsminne
err_mlock = misslyckades att låsa lösenordsminne
err_null = nullpekare
err_pam = pam-transaktion misslyckades
err_pam_abort = pam-transaktion avbröts

Loading…
Cancel
Save