12

I know there are many solutions to this problem like using indicator-keylock or using lks-indicator.

I have tried them both. However since I am on Ubuntu 18.04, these are not working.

Can someone help me with something new or help me in writing a new indicator which I can use for myself at least?

pomsky
  • 68,507
Leela Venkatesh K
  • 223
  • 1
  • 2
  • 7

2 Answers2

20

You may use one of the following GNOME shell extensions to achieve your goal.

  • Lock Keys
    This extension shows Num lock or Caps lock (or both) status on the top bar.
    enter image description here

  • Keys Indicator
    This extension shows Ctrl, Shift, Alt, Num lock, and Caps lock status on the top bar.
    enter image description here

  • Lock Keys (another one)
    Numlock & Capslock status on the panel. Icons are auto hidden. Simplified with no menus, notifications or settings.

pomsky
  • 68,507
  • is there a way to launch the indicator before login? When the login password must be entered? – gospes May 27 '19 at 07:31
  • @gospes Most probably not these ones because as per GNOMe's security policy extensions do not work even in lock screens. – pomsky May 27 '19 at 09:48
4

There's a ppa for indicator-keylock on Ubuntu 18.04

sudo add-apt-repository ppa:tsbarnes/indicator-keylock
sudo apt-get update
sudo apt-get install indicator-keylock 
zdv80
  • 41