I experienced a similar problem in my Dell Precision 5510 after a login loop that seems to happen due to a recent update of Ubuntu 14.04 LTS.
I finally found that the ESC key has a small Fn icon attached so I combined this with the Fn key and the blockade was released. Ctrl+Alt+F1 worked now and I could log in from the console.ç
çI have to fix now the issue of the login loop... I'll try with the suggestions I already found here.
I have also written an application indicator which, in my opinion, looks better.
It shows the state of the locks using filled/unfilled circles.
Default appearance of the indicator with Num lock on and Caps and Scroll locks
off.
Menu of the indicator, shown on click. The locks can be toggled by clicking
the respective item in the menu.
Alternative (short) appearance of the indicator.
You can also change which locks are displayed and in what order.
Installation:
sudo add-apt-repository ppa:adrianiainlam/indicator-keyboard-led
sudo apt-get update
sudo apt-get install indicator-keyboard-led
After installation the postinst script will prompt you for preferences configuration. Visit the GitHub repo for full explanation on these settings.
Usage:
The indicator will be configured to autostart on log-in. To start using the indicator after installation, log-out and log-in again, or manually start the indicator (search for "indicator-keyboard-led" in the dash).
The indicator should be shown at the top right corner, with a filled circle representing a lock turned on and an unfilled circle representing a lock turned off.
Clicking on the indicator should result in a menu with the three locks. Clicking on the menu item would cause the corresponding lock to toggle.
Bug reports and feature requests welcome.
Best Answer
I had success using the instructions posted on this blog in a virtual console:
I'm not sure how to apply this automatically after every reboot, though.
While researching your question, I also ran across this alternative solution: