<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.openmoko.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.openmoko.org/index.php?title=Omkeys_functions&amp;feed=atom&amp;action=history</id>
		<title>Omkeys functions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.openmoko.org/index.php?title=Omkeys_functions&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=Omkeys_functions&amp;action=history"/>
		<updated>2013-05-24T10:20:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.6</generator>

	<entry>
		<id>http://wiki.openmoko.org/index.php?title=Omkeys_functions&amp;diff=72558&amp;oldid=prev</id>
		<title>Glenn: catchg</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=Omkeys_functions&amp;diff=72558&amp;oldid=prev"/>
				<updated>2009-07-19T07:45:44Z</updated>
		
		<summary type="html">&lt;p&gt;catchg&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 07:45, 19 July 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To make evince show up in the desktop menu, open the file ''/usr/share/applications/evince.desktop'', and edit the line beginning with ''Categories='' to remove ''System;'' from the list. Save your changes, Illume should update the icons on the desktop otherwise restart X.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To make evince show up in the desktop menu, open the file ''/usr/share/applications/evince.desktop'', and edit the line beginning with ''Categories='' to remove ''System;'' from the list. Save your changes, Illume should update the icons on the desktop otherwise restart X.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Application Developer&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Middleware&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Glenn</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/index.php?title=Omkeys_functions&amp;diff=58992&amp;oldid=prev</id>
		<title>MinhHaDuong: +create page</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=Omkeys_functions&amp;diff=58992&amp;oldid=prev"/>
				<updated>2008-11-03T13:36:25Z</updated>
		
		<summary type="html">&lt;p&gt;+create page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Bryan de Luca wrote this shell script that uses enlightenment_remote and xmodmap to change AUX bindings.&lt;br /&gt;
&lt;br /&gt;
Download: http://www.bryandeluca.com/OM/omkey_functions&lt;br /&gt;
&lt;br /&gt;
As Raster says you don't have to program to make changes to the mappings. It looks like Enlightenment saves the current keybindings on exit.  There is probably some other way to have E save its settings though.&lt;br /&gt;
&lt;br /&gt;
With a little more wrapping, this script can be used to remap AUX when you launch an app, then restore the old mapping when the app terminates. Here is an example.&lt;br /&gt;
&lt;br /&gt;
== Tutorial: mapping AUX to F5 in evince ==&lt;br /&gt;
&lt;br /&gt;
You will to be able to run evince from a desktop icon and use the AUX button to pop in and out of presentation mode (that would be F5 on a keyboard).  When you exit evince, the old xmodmap and enlightenment mappings for AUX will be restored. We assume you have installed the evince package and know how to edit text files.&lt;br /&gt;
&lt;br /&gt;
1.  Download omkey_functions (link above) and copy in to ''/home/root'' on your Freerunner.&lt;br /&gt;
2.  On your FreeRunner create a text file ''/usr/bin/evince.sh'' containing the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
. /home/root/omkey_functions&lt;br /&gt;
om_key_mod 177 F5&lt;br /&gt;
&lt;br /&gt;
evince $@&lt;br /&gt;
&lt;br /&gt;
om_key_ restore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3.   Set the execution bits:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod 755 /usr/bin/evince.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4.  Edit the ''.desktop'' file at ''/usr/share/applications/evince.desktop'' modify the line starting with ''Exec='' to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Exec=evince.sh %U&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make evince show up in the desktop menu, open the file ''/usr/share/applications/evince.desktop'', and edit the line beginning with ''Categories='' to remove ''System;'' from the list. Save your changes, Illume should update the icons on the desktop otherwise restart X.&lt;br /&gt;
&lt;br /&gt;
[[Category:Application Developer]]&lt;/div&gt;</summary>
		<author><name>MinhHaDuong</name></author>	</entry>

	</feed>