5

I would like to have a OSD notification display briefly everytime the CAPS, Num, or Scroll Lock state toggles.

Is there a way to do this?

guntbert
  • 13,485
charlie
  • 1,792

1 Answers1

5

There is already an application that attempts to do this called indicator-keylock. You need a PPA to install it:

sudo add-apt-repository ppa:tsbarnes/indicator-keylock
sudo apt-get update
sudo apt-get install indicator-keylock
setsid indicator-keylock  # to run it the first time

But I'd be interested to see if there's a neat way to bind onto these lock-toggle events.

Oli
  • 299,936
  • Thanks, the app you mentioned also includes an icon on the systray...I would prefer for something that is invisible, but notifies via OSD when the corresponding Key is pressed. – charlie May 08 '13 at 13:12
  • Or is there an option on indicator-keylock to remove the system tray indicator? – charlie May 10 '13 at 04:23
  • awesome app but the icons don't look good. Do you know where can I edit them – akxer Apr 17 '14 at 20:12