Any-Key (Installation)
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:
For other distributions or if you want to download the rpm/deb package manually:
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 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.
Example:
Run the following command:
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 .. make 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).
Troubleshooting:
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:
Then you can preceed by doing the following:
Now enter your root password and proceed with:
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:
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" EndSection
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:
Restart your computer.
Have fun!