<?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>Uncertain Binary Thoughts &#187; keyboard</title>
	<atom:link href="http://ankurs.com/tag/keyboard/feed/" rel="self" type="application/rss+xml" />
	<link>http://ankurs.com</link>
	<description>01110100110101010101011101100010</description>
	<lastBuildDate>Sun, 01 Jan 2012 18:20:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>multiple mouse / keyboard in linux</title>
		<link>http://ankurs.com/2010/10/multiple-mouse-keyboard-in-linux/</link>
		<comments>http://ankurs.com/2010/10/multiple-mouse-keyboard-in-linux/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 20:33:26 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[mpx]]></category>
		<category><![CDATA[multiple]]></category>

		<guid isPermaLink="false">http://ankurs.com/?p=709</guid>
		<description><![CDATA[few days ago i came upon an article about human computer interactions which mentioned different ways we interact with computes and how we will interact with computers in future, the article instantly reminded me of MPX, now i dont know how many of you remember MPX which enabled interaction of multiple mouse/keyboards in linux. Xserver&#8230;]]></description>
			<content:encoded><![CDATA[<div id="attachment_740" class="wp-caption aligncenter" style="width: 310px"><a href="http://ankurs.com/wp-content/uploads/2010/10/mpx.jpg"><img src="http://ankurs.com/wp-content/uploads/2010/10/mpx-300x225.jpg" alt="4 mouse cursors on a single screen" title="4 mouse cursors on a single screen" width="300" height="225" class="size-medium wp-image-740" /></a><p class="wp-caption-text">4 mouse cursors on a single screen</p></div>
<p>few days ago i came upon an article about human computer interactions which mentioned different ways we interact with computes and how we will interact with computers in future, the article instantly reminded me of <a href="http://en.wikipedia.org/wiki/Multi-Pointer_X">MPX</a>, now i dont know how many of you remember <a href="http://en.wikipedia.org/wiki/Multi-Pointer_X">MPX</a> which enabled interaction of multiple mouse/keyboards in linux. <a href="http://en.wikipedia.org/wiki/X_Window_System">Xserver</a> 1.7 which is used in most of the disto&#8217;s was released with MPX, so i decided to find out how to make it work on my existing Fedora 13 box, and using it is pretty simple you just need to use xinput and configure X for multiple input, for that you first need to install xinput, on fedora it is provided by the package &#8220;xorg-x11-apps&#8221; just do a
<pre>[ankur@x144 ankur]# yum install xorg-x11-apps -y</pre>
<p> and you are done, for other distro&#8217;s i guess there sould be a similar package, after the install we need to find what all is plugged in to the computer, for that we do &#8220;xinput list&#8221;</p>
<pre>[ankur@x144 ankur]# xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ PS/2 Mouse                                  id=14    [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS GlidePoint                    id=15    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
↳ Video Bus                                   id=6    [slave  keyboard (3)]
↳ Power Button                                id=7    [slave  keyboard (3)]
↳ Sleep Button                                id=8    [slave  keyboard (3)]
↳ Laptop Integrated Webcam                    id=9    [slave  keyboard (3)]
↳ AT Translated Set 2 keyboard                id=13    [slave  keyboard (3)]
↳ Dell WMI hotkeys                            id=16    [slave  keyboard (3)]</pre>
<p>this returns a list of all the input devices, i am running this on my laptop so you can see &#8220;AlpsPS/2 ALPS GlidePoint&#8221; and &#8220;AT Translated Set 2 keyboard&#8221; which are my laptop&#8217;s mouse and keyboard, to enable multiple keyboard/mouse i will create a group and move my laptops mouse and keyboard to the group, </p>
<pre>[ankur@x144 ankur]# xinput create-master main
[ankur@x144 ankur]# xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PS/2 Mouse                              	id=14	[slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS GlidePoint                	id=15	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Laptop Integrated Webcam                	id=9	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=13	[slave  keyboard (3)]
    ↳ Dell WMI hotkeys                        	id=16	[slave  keyboard (3)]
⎡ main pointer                          	id=10	[master pointer  (11)]
⎜   ↳ laptop XTEST pointer                    	id=12	[slave  pointer  (10)]
⎣ main keyboard                         	id=11	[master keyboard (10)]
    ↳ laptop XTEST keyboard                   	id=17	[slave  keyboard (11)]
</pre>
<p>above i created a group by the name &#8220;main&#8221;, you can see a second mouse cursor on screen as soon as you do this, to make both these mouse/keyboard active i will move my laptop&#8217;s mouse (id-> 15) and keyboard (id-> 13) to this newly created group</p>
<pre>[ankur@x144 ankur]# xinput reattach 15 10
[ankur@x144 ankur]# xinput reattach 13 11</pre>
<p>now if i connect an external mouse and keyboard to my laptop i can see both working simultaneously, if you want multiple (more then 2) mouse and keyboards to work, you can create a separate group for them and move them to that group in a similar manner.<br />
after doing this I was not able to find any benefit of using multiple mouse/keyboard on a laptop but it will make sense when you have multi monitor setup and multiple users trying to use the same machine simultaneously.</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2010/10/multiple-mouse-keyboard-in-linux/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Using Apple Keyboard in Linux (Fedora)</title>
		<link>http://ankurs.com/2009/02/using-apple-keyboard-in-linux-fedora/</link>
		<comments>http://ankurs.com/2009/02/using-apple-keyboard-in-linux-fedora/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 19:23:30 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[F key]]></category>
		<category><![CDATA[Fn]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ankurs.com/?p=467</guid>
		<description><![CDATA[Few Days Ago i received my Apple Keyboard and i am enjoying typing on it, but having to hold down the Fn key then tap one of the F-keys to get F-keys working was irritating. a simple solution to get it working just add this to your /etc/rc.local file echo 2 > /sys/module/hid_apple/parameters/fnmode and F-keys&#8230;]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_470" class="wp-caption aligncenter" style="width: 310px"><a href="http://ankurs.com/wp-content/uploads/2009/02/190220091.jpg"><img src="http://ankurs.com/wp-content/uploads/2009/02/190220091-300x225.jpg" alt="My Apple Keyboard" title="My Apple Keyboard" width="300" height="225" class="size-medium wp-image-470" /></a><p class="wp-caption-text">My Apple Keyboard</p></div><br />
Few Days Ago i received my <a href="http://www.apple.co.in/store/miscAccessories/apple_keyboard.html#overview">Apple Keyboard</a> and i am enjoying typing on it, but having to hold down the Fn key then tap one of the F-keys to get F-keys working was irritating.<br />
a simple solution to get it working just add this to your /etc/rc.local file<code><br />
echo 2 > /sys/module/hid_apple/parameters/fnmode</code><br />
and F-keys will start to work properly, enjoy</p>
<p>Update :- update for recent kernels,</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2009/02/using-apple-keyboard-in-linux-fedora/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

