Lock Keys Applet

This is a MATE panel applet that shows which of the CapsLock, NumLock and ScrollLock keys are on and which are off.

INSTALL

  • Fedora Linux: the applet is now part of the official repo! yum install mate-applet-lockkeys
  • Arch Linux: the applet will soon be in the official Arch’s repo!

To install from source:

./configure && make && make install

To build an RPM:

./configure --prefix=/usr && make && make rpm

When installed, right-click the panel, chose „Add to Panel“ and select „Keyboard LED Indicator“ from the list.

NOTES

Based on original code by Juergen Scheibengruber, <mfcn at gmx dot de>.

DOWNLOADS

The applet is part of the mate-desktop-fedora-extra repo, so you should first try it.

Download current version: 0.2.3:

Download previous versions:

This entry was posted in Нули и единици. Bookmark the permalink.

12 Responses to Lock Keys Applet

  1. rezso says:

    version 0.2.2 not downloadable.

    • Дил says:

      Thanks, link fixed.

      Note: 0.2.2 does not differ from 0.2.0 in features; only change is that the package allows the builder to specify a custom libexec directory (helpful for distributions which do not have a libexec directory per se).

      • rezso says:

        Thank you, I am packager :)
        And a question: can you write an applet, which shows the uptime? :)
        I think, it would be helpful for some users.

        • rezso says:

          Just two things:
          – the Hungarian language code is hu, instead of hu_HU (po/LINGUAS file),
          – I updated the Hungarian translation, I’ll send for you.

          • Дил says:

            Thank you very much, Rezso! Updated and bumped the version to 0.2.3.

            As of the applet showing uptime, what would you prefer it to look like? Digital clock, something else?

  2. Maurizio says:

    Version 0.2.3 works in FreeBSD 11.0-CURRENT on a Samsung laptop. I have installed it from source, restarted the X session and added the applet to the panel. I am using it for about a week now with no problem.
    Thank you very much.

  3. Sam says:

    I have created a Debian package for mate-lock-keys-applet:
    https://www.dropbox.com/s/pkqvt0xu3l1v20d/mate-applet-lockkeys_0.2.3_amd64.deb

    Currently, it is for amd64 only, but I can build an i386 version too if someone really wants it. If you want to build your own, all you need to do is add the debian folder to the source, modify as needed, and build it:
    https://www.dropbox.com/s/m236jcpvk8il6vz/debfolder.tar.gz

    • Дил says:

      Thank you, Sam, I’ll take a note of this.

    • Herman says:

      Hi Sam,

      Awesome… it installed and worked immediately.
      Been wanting this for sooooo long on my Pavilion 15 laptop.

      The ‘old fashion’ configure-make-make install of the original package didn’t work, but your package did.

      Thanks again.

  4. Herman says:

    If you are interested:
    I have a HP pavilion 15 (amd64) and tried to use your instructions:
    ./configure && make && make install
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… /bin/mkdir -p
    checking for gawk… gawk
    checking whether make sets $(MAKE)… yes
    checking whether make supports nested variables… yes
    checking whether NLS is requested… yes
    checking for msgfmt… no
    checking for gmsgfmt… :
    checking for xgettext… no
    checking for msgmerge… no
    checking for style of include used by make… GNU
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking dependency style of gcc… gcc3
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking for ld used by GCC… /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld… yes
    checking for shared library run path origin… done
    checking how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking for CFPreferencesCopyAppValue… no
    checking for CFLocaleCopyCurrent… no
    checking for GNU gettext in libc… yes
    checking whether to use NLS… yes
    checking where the gettext function comes from… libc
    checking for gcc… (cached) gcc
    checking whether we are using the GNU C compiler… (cached) yes
    checking whether gcc accepts -g… (cached) yes
    checking for gcc option to accept ISO C89… (cached) none needed
    checking dependency style of gcc… (cached) gcc3
    checking for msgfmt… no
    *** msgfmt not found. Cannot continue.
    make: *** No targets specified and no makefile found. Stop.

    I thought you might want to know. I installed the AMD64 package created by Sam. That installed right away and is working too.

    Since that is based on your initial work – I am reckoning, my thanks for this nice applet.

    • Дил says:

      Hi, Herman,

      The automatic configuraiton script tells you that a requried component is missing in your installation:

      *** msgfmt not found. Cannot continue.

      msgfmt is a message formatting tol used in the process of providing localisation (i.e. messages, menus etc.) in a preferred (local) language. If you’re using Debian or a derivative, try to run ‘apt-get install gettext’ (as super-user). For other distros, try a package with the same name.

Вашият коментар

Вашият имейл адрес няма да бъде публикуван. Задължителните полета са отбелязани с *

Можете да използвате тези HTML тагове и атрибути: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>