Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Latest commit

History

History

script_loginfetch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

TTY login fetch

This script generate dinamic /etc/issue file with some system info, a logo based on ufetch style and the list of available users.

Install

Exec install.sh script to install loginfetch, dependences and apply configs. Install do this actions in your system:

  • Install loginfetch script for generate a /etc/issue each time tty login is displayed.
  • Config runlevel to multi-user.target.
  • Install and config Physlock, a tty locker called when come back of suspend mode.
  • Config tty1 for autoexec startx when login.

Manual install

# Copy script and config file:
cp -v /etc/issue /etc/issue.old
cp -v ./loginfetch /usr/bin/
chmod -v a+x /usr/bin/loginfetch

# Config getty to run loginfetch every time tty login is displayed:
[ ! -d "/etc/systemd/system/getty@.service.d/" ] && mkdir -vp "/etc/systemd/system/getty@.service.d/"
echo '[Service]
ExecStartPre=-/bin/bash -c "/usr/bin/loginfetch"' | tee "/etc/systemd/system/getty@.service.d/override.conf"

# Recomended: install physlock and config for exec when go back from suspend