<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Xmodmap &#8211; Harry Jackson</title>
	<atom:link href="http://127.0.0.1:8090/tag/xmodmap/feed" rel="self" type="application/rss+xml" />
	<link>http://127.0.0.1:8090</link>
	<description>Parent, Painter, Programmer</description>
	<lastBuildDate>Fri, 27 Aug 2004 06:59:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Remapping Keys in Linux</title>
		<link>http://127.0.0.1:8090/remapping_keys_in_linux.htm</link>
					<comments>http://127.0.0.1:8090/remapping_keys_in_linux.htm#respond</comments>
		
		<dc:creator><![CDATA[harry]]></dc:creator>
		<pubDate>Fri, 27 Aug 2004 06:59:20 +0000</pubDate>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xmodmap]]></category>
		<guid isPermaLink="false">http://www.hjackson.org/wp/?p=147</guid>

					<description><![CDATA[I never really had to do this before but I have been using enlightenment for a few months now and use the ALT-(q,w,e,a,s,d,z,x,c) to switch between 9 separate desktops. I find this quite quick but I tried xemacs the other day and I needed ALT-x but I kept switching between desktops. So I decided to &#8230; <p class="link-more"><a href="http://127.0.0.1:8090/remapping_keys_in_linux.htm" class="more-link">Continue reading<span class="screen-reader-text"> "Remapping Keys in Linux"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>I never really had to do this before but I have been using enlightenment for a few months now and use the ALT-(q,w,e,a,s,d,z,x,c) to switch between 9 separate desktops. I find this quite quick but I tried xemacs the other day and I needed ALT-x but I kept switching between desktops. So I decided to use a different key.<br />
Since the Windows key ie the one to the left of the left ALT button is never used I decided to use it to switch desktops instead (I know I will need to use the ALT key in other applications so I might as well do it now before its ingrained into me).<br />
Anyway the procedure goes as follows.<br />
1. Detect the keycode of the key you want changed.<br />
Open a terminal and type<br />
]$ xev<br />
Lots of text should whizz past on the terminal and then stop. Touch the key you want the keycode of and more text should whizz past&#8230;. something like<br />
KeyRelease event, serial 25, synthetic NO, window 0xe00001,<br />
root 0x38, subw 0x0, time 24436498, (-298,301), root:(458,320),<br />
state 0x0, keycode 115 (keysym 0x0, NoSymbol), same_screen YES,<br />
XLookupString gives 0 bytes:  &#8220;&#8221;<br />
We can see that the keycode is 115.<br />
2. Create a user modmap file to be loaded on starting X<br />
]$ cd ~; touch .Xmodmap<br />
and put the following text in it<br />
keycode 115 = Hyper_L<br />
add mod3 = Hyper_L<br />
then edit your ~/.xsession file: Add<br />
xmodmap .Xmodmap<br />
before the &#8220;exec enlightenment&#8221; line and that should be you sorted. If for some reason you did not have a .xsession file then you will need to add the line to start whatever window manager you are using ie in my case my .xsession looks like<br />
xmodmap .Xmodmap &amp;<br />
exec enlightenment<br />
yours might well be<br />
xmodmap .Xmodmap &amp;<br />
exec sawfish<br />
You should now be able to use the MOD3 modifying key in e16keyedit as a modifier key after restarting xwindows.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://127.0.0.1:8090/remapping_keys_in_linux.htm/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
