You are not logged in.
Hello, oco, Im a contributor to Xubuntu, mainly on bug testing, reporting and user support, lately some people have come asking for a keyboard led indicator and I found your plugin, it works as intended so I'm promoting it to be included on the next release of Xubuntu, Precise Pangolin, which will be an LTS release, however, because of this fact of being an LTS release, your plugin is being evaluated by the fact, and i quote, that " it's a big mess inside =]".
So I feel its my obligation to ask if you would please clean the code a bit so it might be considered for inclusion?
Sorry for the inconvenience i might cause to you, but i feel this is a rather important add-on for non-led-keyboard users.
Thank you very much.
Offline
Hello!
I have already cleaned up the plugin several weeks ago, but I can do some more cleaning if you wish. Show me, where messy things are?
Offline
It has been a while since I checked. Has there been any progress toward making this available as a plug-in for 32 and for 64 bit systems that can be installed through a system's package manager (yum in my case)? Having to download not only a source file but also all of the development parts needed to compile it means that it probably is not accesible to many who might otherwise use this plug-in. The http://goodies.xfce.org/projects/panel- … eds-plugin page does not indicate any changes in status beyond last October.
Thanks.
Last edited by StephenH (2012-03-24 00:57:31)
StephenH
"We must understand the reality that just because our culture claims certain things are true it does not mean they are!" --M. Liederbach
http://pilgrim-wanderings.blogspot.com
Offline
Yes, there were no changes since last year.
Offline
Hello,
Using daily a netbook (adding or not external keyboard), this plugin would be very usefull to me. My system is Xubuntu 12.04 (i'm just an advanced user, not a programmer).
The installation worked after adding some -dev packages, but the applet doesn't appear in the panel plugin list (using the graphical interface). I tried to add the plugin via xfce4-settings-editor as so:
xfce-panel>plugins>plugin-50 type=string value=kbdleds
...but nothing changed.
how can i find and add it to my panel?
Offline
Hello,
Using daily a netbook (adding or not external keyboard), this plugin would be very usefull to me. My system is Xubuntu 12.04 (i'm just an advanced user, not a programmer).
The installation worked after adding some -dev packages, but the applet doesn't appear in the panel plugin list (using the graphical interface). I tried to add the plugin via xfce4-settings-editor as so:
xfce-panel>plugins>plugin-50 type=string value=kbdleds
...but nothing changed.
how can i find and add it to my panel?
You must use
./configure --prefix=/usr
make
sudo make install
I have Xubuntu 12.04 too, recompiled plugin from scratch and it works!
Last edited by oco (2012-09-12 21:17:55)
Offline
all wright, it works.
thanks very much !
Offline
I'm having trouble installing kbdleds...
Running "sudo ./configure --prefix=/usr" exits with the following:
checking for gtk+-2.0 >= 2.20.0... not found
*** The required package gtk+-2.0 was not found on your system.
*** Please install gtk+-2.0 (atleast version 2.20.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
I'm pretty sure I do have gtk+-2.0 version - Synaptic shows that package gtk2-engines is installed, version 1:2.20.2-1ubuntu1, whatever exactly that means. Or is there some other package I should install? $PKG_CONFIG_PATH is empty.
Offline
Update: the problem seems to have been solved by installing xfce-panel-dev and libxfce4ui-1-dev (they're not what ./configure was asking for, but I found them mentioned on another thread and gave it a try). Works now, very useful little plugin! (Things like color/font/etc configuration would be nice, but probably too much to ask)
Offline
Things like color/font/etc configuration would be nice, but probably too much to ask
I'm not familiar with creating GTK+ dialogs, maybe someone could help me!
Offline
Hi, (i'm FRench, so be fun with my english)
I'm in the same problem (a keyboard without num-caps) in debian 7-2; i have both "modules", but i have this LONG message !
it's my first time i do this kind of mission; so i'm blind and i jusr do ctrl c ctrl v of what you explain ...
Here is my message :
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for string.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for memory.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for bind_textdomain_codeset... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ru uk
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config >= 0.9.0... 0.26
checking for gtk+-2.0 >= 2.20.0... 2.24.10
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
checking for libxfce4ui-1 >= 4.6.0... not found
*** The required package libxfce4ui-1 was not found on your system.
*** Please install libxfce4ui-1 (atleast version 4.6.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
root@debian:/home/garrigues/Téléchargements/xfce4-kbdleds-plugin-0/xfce4-kbdleds-plugin-0.0.6#
Could you help me, explain what to do ?
it will be VERY nice.
Thank's
Waiting
(philippe@garrigues.me)
Offline
checking for libxfce4ui-1 >= 4.6.0... not found
*** The required package libxfce4ui-1 was not found on your system.
*** Please install libxfce4ui-1 (atleast version 4.6.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
See post #34 above - you need to install some development packages.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
See post #34 above - you need to install some development packages.
Yes, you should install xfce4-panel-dev and libxfce4ui-1-dev packages.
Offline
Hi
Moved the plugin to github and updated to panel API v.2
https://github.com/oco2000/xfce4-kbdleds-plugin
Offline
which version(s) of gcc is it known to work with?
Offline
I have 8.3.0, but I can't see any reasons why it wouldn't work with earlier versions.
Offline
Hi, i wolud really love to use your plugin, but i have a make error:
./autogen.sh Goes without problem
./configure --prefix=/usr Outputs no error
sudo make install gives this error:
kbdleds.c:143:31: error: expected expression before ‘kbdledsPlugin’
143 | kbdleds = panel_slice_new0 (kbdledsPlugin);
OS is Kali, XFCE4 Version 4.16
Plugin cloned from github
Thanks for any help in advance!!
Last edited by ArcTraveler (2021-02-24 15:36:33)
Offline
@ArcTraveler
Did you run 'make' before 'sudo make install'?
Offline
Hi!, yes i did, and same error. Could it be that a diferent version of the compiler expects a diferent sintaxis?
Mine is GNU Make 4.3
Offline
Hi!, yes i did, and same error. Could it be that a diferent version of the compiler expects a diferent sintaxis?
Mine is GNU Make 4.3
Greetings!
Obtained a copy of the source from xfce's archive, v 0.0.6 ... Extracted, configured, compiled and installed without a problem. My compiler is gcc v 9.3.0, and my make is GNU Make 4.2.1. My system runs Mint 20.1 on an 11 y.o. Dell desktop.
Btw: thanks for reviving this old topic -- I've sorely missed this plugin since I "upgraded" to Logitech's M820 wireless keyboard/mouse combo which doesn't have an LED for numlock.
Cheers, m4a
Linux Mint 21.3 -- xfce 4.18 ... Apple iMAC -- Lenovo, Dell, HP Desktops and Laptops -- Family & Community Support
Offline
Hi!, yes i did, and same error. Could it be that a diferent version of the compiler expects a diferent sintaxis?
Mine is GNU Make 4.3
You should do it from scratch, in the new folder. And please post the full logs.
Offline
ArcTraveler wrote:Hi!, yes i did, and same error. Could it be that a diferent version of the compiler expects a diferent sintaxis?
Mine is GNU Make 4.3Greetings!
Obtained a copy of the source from xfce's archive, v 0.0.6 ... Extracted, configured, compiled and installed without a problem. My compiler is gcc v 9.3.0, and my make is GNU Make 4.2.1. My system runs Mint 20.1 on an 11 y.o. Dell desktop.
Btw: thanks for reviving this old topic -- I've sorely missed this plugin since I "upgraded" to Logitech's M820 wireless keyboard/mouse combo which doesn't have an LED for numlock.
Cheers, m4a
This one https://github.com/oco2000/xfce4-kbdleds-plugin
right?
It makes fine but the panel doesn't see it to select it to install I tried different paths with ./configure to make it build in the same place as the rest
they all seem to be in /usr/share/xfce4/panel/plugins/
and of course as soon as I type that I notice I had put the lib in with the lancher
./configure --prefix=/usr --libdir=/usr/lib64
is correct
Last edited by eugenenine (2021-09-01 20:09:27)
Offline
Just in case it wasn't noticed. The Keyboard Layout plugin (included in most distros) does cover the basic capslock functionality. Right click on properties,
Show layout as: system
Then when you click on capslock it will show a line on top of the selected language.
Offline
I don't see that listed anymore
https://docs.xfce.org/xfce/xfce4-panel/start
i see it on the old goodies site, is it still valid?
Numlock is what I needed anyway.
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 644.63 KiB (Peak: 677.91 KiB) ]