Capsblinker

Name

ma_capsblinker and ma_capsblinker_shell – make caps lock blink.

Synopsis

ma_capsblinker LED
ma_capsblinker_shell DEVICE

Description

Ma_Sys.ma Capsblinker allows any of the keyboard’s LEDs to be turned on and off at a regular interval. This does not influence the actual state of the associated key function and can thus serve as a general status indicator if the regular function of the LED is not needed (e. g. today, few people use caps lock and scoll lock LEDs).

The purpose of this proram is to serve as a GUI-independent indicator of the computer running. For GUI usage, a displayed clock can be enough for the same purpose or alternatively progress(32) programs are available.

Examples

Find out all possible LEDs (not all of them always work, the keyboards’ seem to work most often except for some timing issues):

ls /sys/class/leds

Run the capsblinker for the first input device (one of the keyboards…)

ma_capsblinker input0::capslock

Finally, to run the capsblinker as a service, set it up like this:

systemctl enable masysma-capsblinker.service
systemctl start masysma-capsblinker.service

Compilation

To compile this program, an Ada compiler is needed e. g. as provided by Debian package gnat. Additionally, the ant build tool is needed and can then be invoked by running ant. To build a Debian package (with the necessary dependencies installed), use ant package.

See Also


Ma_Sys.ma Website 5 (1.0.0) – no Flash, no JavaScript, no Webfont, no Copy Protection, no Mobile First. No bullshit. No GUI needed. Works with any browser.

Created: 2020/01/16 22:31:25 | Revised: 2020/02/17 23:58:50 | Tags: programs, ada, capsblinker, linux, keyboard | Version: 2.1.0 | SRC (Pandoc MD) | GPL

Copyright (c) 2020 Ma_Sys.ma. For further info send an e-mail to Ma_Sys.ma@web.de.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.