Skip to content

flaneurette/LCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

171 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LCD - Linux Control Dashboard.

LCD - Linux Control Dashboard (List > Choose > Do)

It is a simple GNU-Linux program to quickly find and edit configuration files on Linux systems. It saves time hunting through /etc and other system directories, supporting multiple formats, priority configs, multi-column display, and extension filtering. Future versions give even more control.

Quick Installation

sudo add-apt-repository ppa:flaneurette/lcd
sudo apt update
sudo apt install lcd

Usage:

lcd            # Show prioritized config files
lcd -all       # Show all config files found in /etc
lcd -q .ext    # Filter by extension, e.g., .yaml, .json, .git

Features

  • Lists configuration files in /etc
  • Multi-column display for easy viewing
  • Priority list for frequently used configs (Postfix, Apache, Fail2Ban, etc.)
  • Supports common config extensions: .conf, .ini, .cf, .local, .cnf, .yaml, .yml, .json, .env, .rules, .list, .service, .socket, .timer
  • Filter by extension: lcd -q .ext (e.g., lcd -q .git)
  • Full list mode: lcd -all
  • Opens selected config in $EDITOR (defaults to nano, you can change it to anything you like).

Alternative: .deb installation

Wget the raw package:

wget https://github.com/flaneurette/LCD/raw/refs/heads/main/builds/lcd_1.0-0_all.deb

Install it:

sudo dpkg -i lcd_1.0-0_all.deb

Alternative: manual installation (with config options)

  1. Clone this repository:
sudo nano /usr/local/bin/lcd

Paste the attached lcd.sh script.

  1. Make it executable:
chmod +x /usr/local/bin/lcd

Customization

  • Default editor is $EDITOR, fallback is nano.

  • Change colors by setting the COLOR environment variable:

export COLOR="\e[38;5;208m"  # orange
  • Change line number color:
NUMCOLOR="\e[38;5;82m"  # green
  • Add or remove priority configs in the script under the PRIORITY array

Supported Extensions

You can add extensions freely.

.conf, .ini, .cf, .local, .cnf, .config, .yaml, .yml, .json, .env, .rules, .list, .service, .socket, .timer

Depends

Depends: findutils,
	util-linux
Suggests: systemd,
	iptables
Recommends: nano

License

MIT License - feel free to use, modify, and share.


About

LCD - Linux Control Dashboard. A service that lets you find configs quickly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages