• Stars
    star
    155
  • Rank 240,864 (Top 5 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created over 10 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Small program for Linux that will turn your Scroll, Caps or Num Lock LED into hard disk indicator.

Disk-Indicator

Small program for Linux that will turn your Scroll, Caps or Num Lock LED or LED on your ThinkPad laptop into hard disk indicator.

Usage

./disk_indicator [-f] [-c config.file]

  • -c Load specified config. (default: ~/.disk-indicator)
  • -f Do not fork to background.

Sample config file:

led=t|0 event=read device=sda
led=c|tty1|caps event=write device=sda
led=x|scroll event=both device=sda1

Config params:

  • led=<provider>|<name>
    • Provider: Thinkpad (t), Console (c), XOrg (x)
    • Name: 0-15 (only Thinkpad provider), caps, scroll, num
  • event=<type> - Type: read, write, both
  • device=<name> - Name: eg. sda1, sda, mmcblkp1