After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616380 - Need OSD for Numlock, ScreenLock, CapsLock
Need OSD for Numlock, ScreenLock, CapsLock
Status: VERIFIED OBSOLETE
Product: libgnomekbd
Classification: Core
Component: Indicator
2.30.x
Other Linux
: Normal enhancement
: ---
Assigned To: libgnomekbd maintainers
Sergey V. Udaltsov
: 577817 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-04-21 09:21 UTC by Roman V. Nikolaev
Modified: 2010-04-30 10:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
sample implementation (5.98 KB, image/png)
2010-04-25 23:42 UTC, Sergey V. Udaltsov
Details

Description Roman V. Nikolaev 2010-04-21 09:21:55 UTC
Hello. I use Logitech Wireless Wave Keyboard. It`s have`t leds for Numlock, ScreenLock, CapsLock states. I think this is for power save.
Can you add some checkbox in gnome-keyboard-properties to indicate changed state for this three buttons.
It`s not just for me, but for all people who use wireless keyboards.
Comment 1 Roman V. Nikolaev 2010-04-21 10:09:22 UTC
OSD or notify popup =)
Comment 2 Sergey V. Udaltsov 2010-04-21 17:12:22 UTC
gnome-keyboard-properties is a configuration applet, not an indicator.

I will think of it. 
The interesting idea would be to use XKB geometry in order to distinguish kbds that do not have LEDs...
Comment 3 Roman V. Nikolaev 2010-04-22 08:24:24 UTC
>gnome-keyboard-properties is a configuration applet, not an indicator.

Yes. Gnome-keyboard-properties just for checkbox. And need some indicator: 
OSD or notify popup.

>The interesting idea would be to use XKB geometry in order to distinguish kbds
that do not have LEDs...

Maybe. But very often you can`t distinguish wireless kbds. The manufacturer do that for full hardware/software compatibility.
Checkbox in gnome-keyboard-properties is simple and safe. You can use XKB geometry for autodefine kbds and set this checkbox in first time.
Comment 4 Sergey V. Udaltsov 2010-04-22 21:46:49 UTC
My idea is to make that behaviour smart. First, g-s-d would check the kbd meta-info (geometry), determine if the keyboard has LEDs - and show notification bubbles depending on that. What do you think?
Comment 5 Sergey V. Udaltsov 2010-04-25 23:42:56 UTC
Created attachment 159561 [details]
sample implementation
Comment 6 Sergey V. Udaltsov 2010-04-25 23:47:03 UTC
In my opinion, the right solution would be not to notify about _change_ - but to display the current _state_. See the attached image. What do you think?

Of course, these 3 icons would be optional (controlled by gconf).
Comment 7 Sergey V. Udaltsov 2010-04-26 20:58:46 UTC
Anyway, committed. The gconf key name is /desktop/gnome/peripherals/keyboard/general/duplicate_leds
Comment 8 Sergey V. Udaltsov 2010-04-27 20:04:10 UTC
*** Bug 577817 has been marked as a duplicate of this bug. ***
Comment 9 Roman V. Nikolaev 2010-04-30 10:43:34 UTC
> In my opinion, the right solution would be not to notify about _change_ - but
to display the current _state_.

I think this is very good idea.
Maybe you can draw one image including all 3 state: caps, num, scroll. But I can`t advise you because I am not designer =)