"Caps Lock on" message is shown too much time on Ubuntu 11.04. Could anyone tell me how can I reduce the time, please?
You probably use Pinguy OS, right? Pinguy OS comes with some Compiz settings which display NotifyOSD notifications for caps lock, num lock, etc.
Anyway, even if that's not the case, you can get NotifyOSD to be displayed for a shorter period of time by installing the patched NotifyOSD by Leolik (by default, NotifyOSD doesn't support setting the amount of time the notification is displayed) using the commands below:
As far as I know, the script to display NotifyOSD notifications for caps lock has a NotifyOSD timeout value set so there shouldn't be anything else to do. However, if you use some other way to display NotifyOSD notifications for caps lock, make sure the script uses "--expire-time=VALUE" so the time they are displayed is less then 10 seconds (that's default).
For more info about the patched NotifyOSD, see: Configurable NotifyOSD Bubbles For Ubuntu 11.04: Move, Close On Click, Change Colors And More