Home Software-Projects Any-Key Any-Key (Installation)
Any-Key (Installation) Print E-mail
Written by miho   
Tuesday, 11 March 2008 19:14

any-key is a small tool made to simplify screencasting. Whenever you press a key combination Any-Keywill display it in its window. This makes it possible to easily showcomplicated key kombinations while recording. Of course it is alsopossible to disable it with the so called "toogle-key" which will toggle between on and off

Any-Key is now available as rpm and deb package! If you use openSUSE 10.3 or higher you can install it via the 1-Click Install:

openSUSE 11.2:1-click

openSUSE 11.1:1-click

openSUSE 11:   1-click

openSUSE 10.3:1-click

For other distributions or if you want to download the rpm/deb package manually:

manual download


Compiling from Source:

Thanks to CMake which makes compiling source code really easy, even unexperienced users will be able to follow the simple steps. Of course it is necessary that you have some basic understanding of installing software through the package manager of your distribution. You will have to install some development packages:

  • GCC 4.x, including g++
  • Qt 4.x development libraries
  • Xorg 7.x development libraries, including libXtst.
  • Subversion >= 1.4.4
  • CMake >= 2.4-patch 8

First this seems to be a long list. But you will need most of the packages anyway if you want to be able to compile applications.

First Step: getting the code

First make sure you have installed all the dependencies. They are included in most Linux distributions and can be installed through the package manager. Now open a terminal and create a directory where you want to store the source package.


mkdir svn-sources
cd svn-sources

Run the following command:

svn co http://mihosoft-legacy-pre-2012.mihosoft.eu/svn/software/any-key/trunk any-key

Second Step: compile and install the source

Now type the following commands to compile and install Any-Key:

cd any-key
mkdir build
cd build
cmake ..
sudo make install

After that you are ready to try it out! You will find the application in the "Utilities" folder of your start menu (KDE/Gnome).


If you get errors during the compilation, you probably have missing dependencies. Please install them with the package manager of your distribution.

If Any-Key installs but does not react on keystrokes it is most likely that the Xorg RECORD extension is not enabled.

Be warned! Before you mess around with your xorg.conf file know that if the file contains typos it is most likely that youwon't be able to run an xsession anymore (that means no point and click,only a text terminal).

So it is wise to either make a copy ofthe file before editing or make sure that you are familiar with textediting on the terminal! If you are unsure of what you are doing make a copy of your xorg.conf file first by typing this: 


Now enter enter your root password and proceed with:

cp /etc/X11/xorg.conf /etc/X11/xorg.conf-todays-date

Then you can preceed by doing the following:


Now enter your root password and proceed with:

kwrite /etc/X11/xorg.conf

If you don't like kwrite you can use any other editor (gedit, kate, vi nano etc). Now go to the line Section "Modules" and add the following line:

Load "record"

Depending on your configuration, the Section should look something like this now: 

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
Load "record"

Save the file. And log out and log back in. 

After restarting the xserver everything should be fine.  If your don't have a GUI(no point and click) any more you have to revert to your old xorg.conf file by writing this:


Now enter your root password and proceed with:

cp /etc/X11/xorg.conf-todays-date /etc/X11/xorg.conf

Restart your computer. 

Have fun! 

Last Updated on Monday, 08 February 2010 11:16

Add comment

Security code