Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
Kal is a new acpi listener for kde that will help you managing special keys of your keyboard

KGear is dead! Long live Kal!

A friend of mine asked me for a new version of one of my old tools : KGear. So I submit it to younow it's finished !

I know some of you already use kmilo to do the same but I can't bear that ugly software so I decided to create another ACPI listener. That new version is fully customizable : Kal only listens on the ACPI socket and sends what it read to the ~/.kal/kal.sh script that will parse the entry...

See the sample I put in the archive to test it (it was made for my ASUS laptop so you'll certainly need to modify it a little to make it work... acpi_listen is your friend !)


Happy Birthday Benjamin !
Last changelog:

v0.5.1 :
 + I've just noticed I forgot to join the sample I speak about in the description. It should now be better.

v0.5 :
 + a major bug fixed : background image didn't appear.


Ratings & Comments

21 Comments

fyzix

How do I know which codes the different keys on my keyboard have?

claudioM

hi you can use acpi_listen bye C

gfdsa

on my asus works like a charm :-) great, thanks!

adapto

how to change the position? --gemotry 80x40+0+0 didnt work. thanks...

adapto

how can i change the window position? kal --geometry 80x40+0+0 didnt work. thanks...

krionius

Is there an easy way to send easily the X fake signs based on your KAL daemon's inteceptions? Do you now such a program that already exists? It would be nice, that kde applications shortcuts could be set to those fake signs. :)

bsander

I like the app, especially since I'm still running kde 3.3 so I can't yet use KMilo on my Asus. The only problem I have is that it's a bit slow. When I use one of my special buttons, it takes a few seconds before the command in the script (a dcop call to amarok or kmix) is actually executed. Sometimes this can be a bit annoying. Any idea on how to improve this?

adapto

kde 3.4 with gentoo emerged without any problems, but i get this error when trying to install kall: checking for kde-config... not found configure: error: The important program kde-config was not found! Please check whether you installed KDE correctly. thanks in advance

bsander

kde-config needs to be in your path. You're probably running configure as root (which doesn't have it in its path). running configure and make as a normal user should solve it, then su to make install.

adapto

thx it works

Vasilis

I installed your program in my home directory and when I run kcal I got the following error: "Can't connect the socket !" What does this mean? Thank you

neptune3k

The only reason I can think about that could explain your bug may be that you have no acpi daemon running on your system... Indeed when acpid (or powersaved under SuSE) is launched it creates a socket on which Kal (and acpi_listen) connects to be aware of acpi events.

lenon

You need the acpid package. If you're running gentoo, "emerge acpid". Otherwise you're on your own. :(

Vasilis

Yes you are right. Now, I do not get this message, but how do I configure this program? Thank you

neptune3k

Read the description.... Create a shell script called "~/.kal/kal.sh", kal will send to this script the acpi events. You have an example in the archive (in the kal-conf directory).

Vasilis

I copied the kal.sh file in the .kal/, but it does not seem to work. I can not change the volume nor can I use the player keys (I did change the player from juk to amarok, but maybe I need to do more changes, for the player to work). But what do I need to change in the script to be able to change the volume? How did you find that the following if [ "$3" == "00000032" ]; then is for the volume? Maybe it is different for my system? Thank you

neptune3k

use acpi_listen. when you press on the volume key, a line should appear on your console. Use kal.sh to parse the line and execute the wanted action.

Vasilis

Thank you for the reply, but it does not work. Maybe there is a problem with the Fn key. The interesting thing is that I can change the brightness of the screen (without using acpid or kal), but I can not change the volume.

maarizwan

Thanks for making a good improvement.

iPaqTux

I like it :)

gordin
Pling
0 Affiliates
Details
license
version 0.5.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Various KDE 1.-4. Improvements from neptune3k:

Kopete Reloading Kit
neptune3k
last update date: 18 years ago

Score 5.0

Daneel
neptune3k
last update date: 21 years ago

Score 5.0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0