{"id":9,"date":"2008-03-11T19:14:44","date_gmt":"2008-03-11T19:14:44","guid":{"rendered":"https:\/\/mihosoft.eu\/?p=9"},"modified":"2013-02-07T22:57:03","modified_gmt":"2013-02-07T21:57:03","slug":"any-key-installation","status":"publish","type":"post","link":"https:\/\/mihosoft.eu\/?p=9","title":{"rendered":"Any-Key (Installation)"},"content":{"rendered":"<p>is a small tool made to simplify screencasting. Whenever you press a key combination <strong>Any-Key<\/strong>will 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 <strong>&#8220;toogle-key&#8221; <\/strong>which will toggle between <strong>on<\/strong> and <strong>off<\/strong>.<\/p>\n\n<p>&nbsp;<\/p>\n\n<p>&nbsp;<\/p>\n\n<p>Any-Key is now available as <strong>rpm<\/strong> and <strong>deb<\/strong> package! If you use openSUSE 10.3 or higher you can install it via the 1-Click Install:<\/p>\n\n<p>openSUSE 11.2:<a title=\"1-click-opensuse-11\" href=\"http:\/\/software.opensuse.org\/ymp\/home:miho20\/openSUSE_11.2\/any-key.ymp\"><img decoding=\"async\" title=\"1-click\" src=\"images\/stories\/images\/misc\/1-click-install-120px.png\" alt=\"1-click\" align=\"middle\" \/><\/a><\/p>\n\n<p>openSUSE 11.1:<a title=\"1-click-opensuse-11\" href=\"http:\/\/software.opensuse.org\/ymp\/home:miho20\/openSUSE_11.1\/any-key.ymp\"><img decoding=\"async\" title=\"1-click\" src=\"images\/stories\/images\/misc\/1-click-install-120px.png\" alt=\"1-click\" align=\"middle\" \/><\/a><\/p>\n\n<p>openSUSE 11:\u00a0\u00a0 <a title=\"1-click-opensuse-11\" href=\"http:\/\/software.opensuse.org\/ymp\/home:miho20\/openSUSE_11.0\/any-key.ymp\"><img decoding=\"async\" title=\"1-click\" src=\"images\/stories\/images\/misc\/1-click-install-120px.png\" alt=\"1-click\" align=\"middle\" \/><\/a><\/p>\n\n<p>openSUSE 10.3:<a title=\"1-click\" href=\"http:\/\/software.opensuse.org\/ymp\/home:miho20\/openSUSE_10.3\/any-key.ymp\"><img decoding=\"async\" title=\"1-click\" src=\"\/images\/stories\/images\/misc\/1-click-install-120px.png\" alt=\"1-click\" align=\"middle\" \/><\/a><\/p>\n\n<p>&nbsp;<\/p>\n\n<p>For other distributions or if you want to download the rpm\/deb package manually:<\/p>\n\n<p><a href=\"http:\/\/software.opensuse.org\/search?baseproject=ALL&amp;p=1&amp;q=any-key\">manual download<\/a><\/p>\n\n<p>&nbsp;\n<h2>Compiling from Source:<\/h2>\nThanks 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:\n<div style=\"margin-left: 20px;\">\n<ul>\n    <li><strong>GCC 4.x<\/strong>, including <strong>g++<\/strong><\/li>\n    <li><strong>Qt 4.x<\/strong> development libraries<\/li>\n    <li><strong>Xorg 7.x<\/strong> development libraries, including <strong>libXtst<\/strong>.<\/li>\n    <li><strong>Subversion<\/strong> &gt;= <strong>1.4.4<\/strong><\/li>\n    <li><strong>CMake &gt;= 2.4-patch 8<\/strong><\/li>\n<\/ul>\n<\/div>\nFirst 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.\n<h2>First Step: getting the code<\/h2>\nFirst make sure you have installed<strong> all <\/strong>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.<\/p>\n\n<p>&nbsp;\n<h3>Example:<\/h3>\n&nbsp;\n<div class=\"code\">mkdir svn-sources\ncd svn-sources<\/div>\n&nbsp;<\/p>\n\n<p>Run the following command:\n<div class=\"code\">svn co https:\/\/mihosoft.eu\/svn\/software\/any-key\/trunk any-key<\/div>\n&nbsp;\n<h2>Second Step: compile and install the source<\/h2>\nNow type the following commands to compile and install <strong>Any-Key<\/strong>:\n<div class=\"code\">\n<pre class=\"codepane\">cd any-key\nmkdir build\ncd build\ncmake ..\nmake\nsudo make install<\/pre>\n<\/div>\n&nbsp;<\/p>\n\n<p>After that you are ready to try it out! You will find the application in the <strong>&#8220;Utilities&#8221;<\/strong> folder of your start menu (KDE\/Gnome).<\/p>\n\n<p>&nbsp;\n<h2>Troubleshooting:<\/h2>\nIf you get errors during the compilation, you probably have missing dependencies. Please install them with the package manager of your distribution.<\/p>\n\n<p>If <strong>Any-Key<\/strong> installs but does not react on keystrokes it is most likely that the Xorg RECORD extension is not enabled.<\/p>\n\n<p>Be warned! Before you mess around with your xorg.conf file know that if the file contains typos it is most likely that youwon&#8217;t be able to run an xsession anymore (that means no point and click,only a text terminal).<\/p>\n\n<p>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:\n<div class=\"code\">su<\/div>\n&nbsp;<\/p>\n\n<p>Now enter enter your root password and proceed with:\n<div class=\"code\">cp \/etc\/X11\/xorg.conf \/etc\/X11\/xorg.conf-todays-date<\/div>\n&nbsp;<\/p>\n\n<p>Then you can preceed by doing the following:\n<div class=\"code\">su<\/div>\n&nbsp;<\/p>\n\n<p>Now enter your root password and proceed with:\n<div class=\"code\">kwrite \/etc\/X11\/xorg.conf<\/div>\n&nbsp;<\/p>\n\n<p>If you don&#8217;t like <strong>kwrite <\/strong>you can use any other editor (gedit, kate, vi nano etc). Now go to the line <strong>Section &#8220;Modules&#8221;<\/strong> and add the following line:\n<div class=\"code\">Load &#8220;record&#8221;<\/div>\n&nbsp;<\/p>\n\n<p>Depending on your configuration, the Section should look something like this now:\n<div class=\"code\">\n<pre class=\"codepane\">Section \"Module\"\n    Load           \"dbe\"\n    Load           \"type1\"\n    Load           \"freetype\"\n    Load           \"extmod\"\n    Load           \"glx\"\n    <strong>Load \"record\"<\/strong>\nEndSection<\/pre>\n<\/div>\n&nbsp;<\/p>\n\n<p>Save the file. And log out and log back in.<\/p>\n\n<p>After restarting the xserver everything should be fine.\u00a0 If your don&#8217;t have a GUI(no point and click) any more you have to revert to your old xorg.conf file by writing this:\n<div class=\"code\">su<\/div>\n&nbsp;<\/p>\n\n<p>Now enter your root password and proceed with:\n<div class=\"code\">cp \/etc\/X11\/xorg.conf-todays-date \/etc\/X11\/xorg.conf<\/div>\n&nbsp;<\/p>\n\n<p>Restart your computer.<\/p>\n\n<p>Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8220;toogle-key&#8221; which will toggle between on and &#8230;<\/p>","protected":false},"author":1,"featured_media":123,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3,13],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/mihosoft.eu\/wp-content\/uploads\/2008\/08\/any-key01.png","jetpack_shortlink":"https:\/\/wp.me\/p2P2yR-9","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/9"}],"collection":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":8,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":188,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions\/188"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/media\/123"}],"wp:attachment":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}