Skip to content

Simple Ubuntu keyboard modifiers indicator

Notifications You must be signed in to change notification settings

sneetsher/indicator-xkbmod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

indicator-xkbmod (Unity XKB Modifier Indicator)

Keyboard modifiers state indicator for Ubuntu Unity desktop. As current state, it's just a prototype.

Unity lacks such accessibility tools which most likely needed when sticky keys is activated.
See How to add a keyboard modifier state applet to Unity panel?.

Demo: icon mode in Unity Demo: icon mode under HUD in Unity

Demo: icon mode in Unity (Old release)

Demo: label mode in Unity

Related Bugs Report

Install

  • From daily build PPA

https://code.launchpad.net/~sneetsher/+recipe/indicator-xkbmod-daily

  • From source

      autoreconf -vif
      ./configure
      make
      sudo make install
    
  • From locally built Debian package

(much cleanner then make install)

    debuild -us -uc
    sudo dpkg -i ../indicator-xkbmod*.deb

Running Options

  • Icon mode (Default):

      indicator-xkbmod
    
  • Label mode:

      indicator-xkbmod -l
    
  • Filter needed modifiers (10110011 binary = 205 decimal, Default: 255)

      indicator-xkbmod -f 205
    

    shows only shift,control,alt,super,altgr

Gnome-Shell/Gnome3 Support

Note: May be better if you look for native extention, so try first https://github.com/sneetsher/Keyboard-Modifiers-Status

Currently, it can be run only in label mode (-l) using gnome-shell-extension-appindicator which integrates Ubuntu AppIndicators and KStatusNotifierItems into Gnome Shell.

The extension could be installed easily from https://extensions.gnome.org/extension/615/appindicator-support/ .