Ubuntu-like "message of the day" screen for Debian desktop terminal.
angela 17a10fbbfc updated screenshot | 6 years ago | |
---|---|---|
img | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
motd.sh | 6 years ago |
Ubuntu-like "message of the day" screen for Debian desktop terminals, without the requirement of PAM
(Can be used in any Linux distro, but only tested in Debian)
(terminal background not included)
Figlet: Displays the ascii art for what your hostname / custom banner reads
Lolcat: Colors the ascii art in randomly generated colored gradients
apt update && apt install figlet lolcat
apt update && apt install figlet
gem install lolcat
As the user you want to see the motd upon each terminal launch, run [ie. run the following command separately for root, user, user1 etc; if you want all accounts to have a motd]:
nano ~/motd.sh
and paste the contents of motd.sh
Save & exit.
chmod +x ~/motd.sh
. ~/.bashrc
to see your new message of the day.
whereis lolcat
and replace the existing path, from:LOLCAT=/usr/games/lolcat #whereis lolcat
to the location in your terminal:
LOLCAT=~/.rvm/gems/ruby-2.4.1/bin/lolcat
Tested in Gnome and Tilix terminals (the motd loads upon each new launch, without having to log out of your active desktop session).
Base code from Ubuntu's server motd