Skip to content

ShaolinAssassin/xfce-kbdleds-genmon-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

Installation

Download the lastest release archive and extract it to your home user folder.

Set notifiers scripts

These scripts will display a notification when CAPS/NUM are being enabled or disabled.

  1. Open XFCE Menu > Select Settings > Choose Keyboard option ;

  2. Select Application Shortcuts tab in the Keyboard Window ;

  3. Click on the Add button in the Application Shortcuts window ;

  4. For the command, add

/home/username/.scripts/capslock-notifier.sh

then select OK ;

  1. You will be able to see a pop-up window named Command Shortcut, press the Caps Key.

  2. Done. Repeat the process to install the numlock notifier script.

Now everytime you press the Caps or Num keys, a notification will be displayed.

Set genmon scripts

Requierements :

  • xfce4-genmon-plugin (4.1.1+)
  • xdotool (sudo apt install xdotool for any debian based distribution)

These scripts will display CAPS/NUM status from XFCE panel. Each script will require his own dedicated genmon plugin in XFCE panel.

  1. Add a genmon-plugin to XFCE panel ;

  2. Right-click on it and select Properties ;

  3. Settings :

Command : /home/username/.scripts/genmon-capsleds.sh

Label : (unchecked)

Period : 0,25

Font : leave it as default

  1. Save. Done. Repeat the process to install the genmon numlock script.

About

scripts to display status of keyboard CAPS/NUM LEDS for XFCE

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages