! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
support for LED indicators
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-xkb-plugin
Component:
General

Comments

Description Andrey V. Panov 2012-05-03 02:57:33 CEST
Xfce4-xkb-plugin has not support for LED keyboarsd indicators. These indicators are frequently used with xkb, for example:

setxkbmap "us,ru" ",winkeys" "grp:switch,grp:rwin_toggle,grp_led:scroll"
Comment 1 Vadim 2013-02-21 18:42:33 CET
Created attachment 4930 
recursive diff for all files i've changed
Comment 2 Vadim 2013-02-21 18:44:31 CET
Hi guys. I've tryed to implement that feature, but stucked.

I just download the source and:
-add the combobox for leds
-populate it with led variants from gtk (as it works for other combos, true way)
-found how to safe it to another config option ("indicator_option") as gchar in a config file

But i don't know how the plugin applies it's congig to the system. Just didn't find it. And for some reason option saves to config-file but doesn't gets back to a combo when i open the plugin window again. (combo always has default value set to "-").

And when i repeated the code from xkb-config.c for indicator_option as it was made for toggle_option - saving and retrieving toggle option to/from config come broken. So i commented my code out there.

I noticed the comment in the code says that grp* options should be stored together in one string. It could be done, but if i know the way it applyes to the system from config-file it would be more clear for me.

My knowledge of C isn't goot enough. I've made one PyGTK very simple finance monitoring plugin a year ago only. So i need you to help me.

I've attached my changes in a diff file. It's mostly a repetitive changes of how to add a combobox and relative functions for that. Help me to complete it.
Comment 3 Vadim 2013-02-21 18:49:44 CET
Comment on attachment 4930 
recursive diff for all files i've changed

with this changes, it's makeable and installable. so try it.
Comment 4 bug.report.tracker 2015-10-17 04:09:04 CEST
Is this going to be applied?

I'd say I need the LED feature too.

Thanks,
Val.
Comment 5 Git Bot editbugs 2020-05-23 01:14:22 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin/-/issues/16.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #8819

Reported by:
Andrey V. Panov
Reported on: 2012-05-03
Last modified on: 2020-05-23

People

Assignee:
Azamat H. Hackimov
CC List:
2 users

Version

Version:
0.5.4.3

Attachments

Additional information