You are not logged in.
A bug was filed, but there's been no activity at all in these months
Offline
I think the project is dead. The link at the bottom of the bug report takes you to the still standing plugin home page, but when clicking the link on that page to the source is a dead end. Moving up one folder in the directory shows nothing with "led" in the name. I'm referring here to the xfce.org source link, not the compas.com.ua link which is also a dead end.
EDIT: No mention here either: https://goodies.xfce.org/projects/panel-plugins/start
Last edited by MrEen (2020-01-12 16:48:38)
Offline
The kbdleds plugins has been "archived" meaning it is no longer being developed.
(Shameless plug incoming...)
The xfce4-genmon-plugin is a very versatile plugin. It can easily replace the functionality of the kbdleds plugin by using the following script:
#!/bin/bash
# colours
ON_FG="#000000"
ON_BG="#00FF00"
OFF_FG="#FFFFFF"
OFF_BG="#00FF00" #can't make it transprent, so don't use
# get current states using xset
CURR_STATE=$(xset q | grep "Caps Lock")
# get individual states
CAPS_LOCK=$(echo $CURR_STATE | awk '{print $4}')
NUM_LOCK=$(echo $CURR_STATE | awk '{print $8}')
SCROLL_LOCK=$(echo $CURR_STATE | awk '{print $12}')
echo -n "<txt>"
if [ $CAPS_LOCK == "off" ]; then
echo -n "<span foreground='$OFF_FG'> c </span>"
else
echo -n "<span foreground='$ON_FG' background='$ON_BG'> C </span>"
fi
if [ $NUM_LOCK == "off" ]; then
echo -n "<span foreground='$OFF_FG'> n </span>"
else
echo -n "<span foreground='$ON_FG' background='$ON_BG'> N </span>"
fi
if [ $SCROLL_LOCK == "off" ]; then
echo -n "<span foreground='$OFF_FG'> s </span>"
else
echo -n "<span foreground='$ON_FG' background='$ON_BG'> S </span>"
fi
echo "</txt><tool>Caps Lock = $CAPS_LOCK
Num Lock = $NUM_LOCK
Scroll Lock = $SCROLL_LOCK</tool>"
exit 0
Save the script locally and make it executable. Add a new genmon plugin to your panel and set the following parameters:
- Command = the full path to the above script
- Label = unchecked
- Period = the frequency that you want the script to run. For example, set it to "1.00" to have it check the status every one second.
- Font Selection dialog = select the font that you want to use.
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
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 533.85 KiB (Peak: 534.7 KiB) ]