<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.nuxified.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Nuxified GNU/Linux Help Forums - reassign mouse buttons - Comments</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons</link>
 <description>Comments for &quot;reassign mouse buttons&quot;</description>
 <language>en</language>
<item>
 <title>... nope, that doesn&#039;t work</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12026</link>
 <description> &lt;p&gt;... nope, that doesn&#039;t work either. Well, back to the good old mouse/auto driver and /dev/input/mice then, with its slightly odd button layout.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 19:10:30 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12026 at http://www.nuxified.org</guid>
</item>
<item>
 <title>I tried to solve the</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12025</link>
 <description> &lt;p&gt;I tried to solve the changing device name problem by using the &quot;Phys&quot; option in xorg.conf (&lt;a href=&quot;http://bbs.archlinux.org/viewtopic.php?pid=262367&quot; class=&quot;bb-url&quot;&gt;see here what that is and why I&#039;m not trying to use udev rules&lt;/a&gt;)... and then I had no mice at all. Same for using the product names.&lt;/p&gt;
&lt;p&gt;Looking around on the net, I noticed that maybe the options aren&#039;t called &quot;Phys&quot; and &quot;Name&quot;, but &quot;Dev Phys&quot; and &quot;Dev Name&quot;. Going to try &quot;Dev Name&quot; now...&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 18:57:58 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12025 at http://www.nuxified.org</guid>
</item>
<item>
 <title>Oh great, fix one thing,</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12023</link>
 <description> &lt;p&gt;Oh great, fix one thing, break another:&lt;/p&gt;
&lt;p&gt;Because I now configured two evdev mice on two /dev/input/event# devices instead of one &quot;auto&quot; mouse on /dev/input/mice, I get swapped device names. When I wrote my xorg.conf, they were on event7 and event8, now the one that was on event7 (the touchpad) is on event6, and something called &quot;Video Bus&quot; is on event7. This way, each time I switch on my computer I will have one, two, or no working mice!&lt;/p&gt;
&lt;p&gt;But at least they will be non-working mice with sensible button numbering.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 17:58:35 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12023 at http://www.nuxified.org</guid>
</item>
<item>
 <title>Ignore all the button</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12019</link>
 <description> &lt;p&gt;Ignore all the button numbers above, I have switched both my mice to the &lt;a href=&quot;http://wiki.archlinux.org/index.php/Get_All_Mouse_Buttons_Working&quot; class=&quot;bb-url&quot;&gt;evdev driver&lt;/a&gt;, and now they have these more sensible numbers:&lt;/p&gt;
&lt;p&gt;touchpad:&lt;br /&gt;
left, right: 1, 3&lt;br /&gt;
n, e, s, w: 17, 20, 18, 19&lt;/p&gt;
&lt;p&gt;mouse:&lt;br /&gt;
left, right: 1, 3&lt;br /&gt;
press wheel: 2&lt;br /&gt;
wheel: 4, 5&lt;br /&gt;
right side: 4, 5 ( = vertical scroll)&lt;br /&gt;
left side: 6, 7 ( = horizontal scroll)&lt;/p&gt;
&lt;p&gt;Now I would like to do this:&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;bb-code&quot;&gt;xmodmap -e &#039;pointer = 1 2 3 4 5 2 2 8 9 10 11 12 13 14 15 16 4 5 2 2&#039;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;but that of course still gives the same error.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 16:37:01 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12019 at http://www.nuxified.org</guid>
</item>
<item>
 <title>Got it now:
xmodmap -e</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12018</link>
 <description> &lt;p&gt;Got it now:&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;bb-code&quot;&gt;xmodmap -e &#039;pointer = 1 9 3 4 5 6 7 8 2&#039;&lt;/code&gt; swaps button 2 and the most easy to use side button.&lt;/p&gt;
&lt;p&gt;This is not quite what I want, since buttons 8 and 9 are actually sides of one button, and it&#039;s hard to feel which part you are pressing. Buttons 6 and 7 still don&#039;t exist.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 15:34:57 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12018 at http://www.nuxified.org</guid>
</item>
<item>
 <title>As a quick guess I added</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12017</link>
 <description> &lt;p&gt;As a quick guess I added this to the mouse inputdevice section of my xorg.conf:&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;bb-code&quot;&gt;Option &quot;Buttons&quot; &quot;9&quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Didn&#039;t help.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 15:23:07 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12017 at http://www.nuxified.org</guid>
</item>
<item>
 <title>[tb@garden ~]$ xmodmap -e</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12015</link>
 <description> &lt;pre class=&quot;bb-code-block&quot;&gt;
[tb@garden ~]$ xmodmap -e &#039;pointer = 1 2 3 4 5 2 2 2 2&#039;
Warning: Only changing the first 9 of 32 buttons.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  116 (X_SetPointerMapping)
  Value in failed request:  0x2
  Serial number of failed request:  9
  Current serial number in output stream:  9
[tb@garden ~]$ xmodmap -e &#039;pointer = 1 2 3 4 5 2 2&#039;
Warning: Only changing the first 7 of 32 buttons.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  116 (X_SetPointerMapping)
  Value in failed request:  0x2
  Serial number of failed request:  9
  Current serial number in output stream:  9
[tb@garden ~]$ xmodmap -e &#039;pointer = a b c d e b b b b&#039;
xmodmap:  commandline:1:  bad value a  given for buttons list
xmodmap:  1 error encountered, aborting.
[tb@garden ~]$ xmodmap -e &#039;pointer = 1, 2, 3, 4, 5, 2, 2, 2, 2&#039;
Warning: Only changing the first 9 of 32 buttons.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  116 (X_SetPointerMapping)
  Value in failed request:  0x2
  Serial number of failed request:  9
  Current serial number in output stream:  9
&lt;/pre&gt;&lt;p&gt;
&lt;img src=&quot;/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; /&gt; !&lt;/p&gt;
&lt;p&gt;By the way, my laptop also has a built-in touchpad. The buttons on that are numbered as follows:&lt;/p&gt;
&lt;p&gt;left, right: 1, 3&lt;br /&gt;
north, east, south, west: 1, 8, 3, 2 (little sense in that)&lt;/p&gt;
&lt;p&gt;Maybe this is a problem?&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 15:03:17 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12015 at http://www.nuxified.org</guid>
</item>
<item>
 <title>Thanks, I will try that.</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12011</link>
 <description> &lt;p&gt;Thanks, I will try that.&lt;/p&gt;
 </description>
 <pubDate>Tue, 19 Feb 2008 11:01:04 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">comment 12011 at http://www.nuxified.org</guid>
</item>
<item>
 <title>You can reorder buttons</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons#comment-12001</link>
 <description> &lt;p&gt;You can reorder buttons with xmodmap:&lt;br /&gt;
&lt;code class=&quot;bb-code&quot;&gt;xmodmap =e &quot;pointer = a b c d e f g h i&quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You could also turn of Emulate3Buttons (or what the option was called), as I doubt that you actually use that much, which would fix the problem. (I myself never have it turned on seeing as I always use &amp;gt;=3 button mice)&lt;/p&gt;
 </description>
 <pubDate>Mon, 18 Feb 2008 21:13:28 +0100</pubDate>
 <dc:creator>free-zombie</dc:creator>
 <guid isPermaLink="false">comment 12001 at http://www.nuxified.org</guid>
</item>
<item>
 <title>reassign mouse buttons</title>
 <link>http://www.nuxified.org/topic/reassign_mouse_buttons</link>
 <description>&lt;div class=&quot;vote-up-down-widget&quot;&gt;&lt;span class=&quot;up-inact&quot; title=&quot;You must login to vote.&quot;&gt;&lt;/span&gt;&lt;span class=&quot;down-inact&quot; title=&quot;You must login to vote.&quot;&gt;&lt;/span&gt;&lt;/div&gt; &lt;p&gt;My mouse has lots of buttons. Using &lt;code class=&quot;bb-code&quot;&gt;xev&lt;/code&gt; I found their numbers:&lt;/p&gt;
&lt;p&gt;left, right: 1,3 (of course)&lt;br /&gt;
wheel: press-2, scroll-4,5 (of course)&lt;br /&gt;
left side: 8,9&lt;/p&gt;
 &lt;p&gt;&lt;a href=&quot;http://www.nuxified.org/topic/reassign_mouse_buttons&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.nuxified.org/topic/reassign_mouse_buttons#comment</comments>
 <category domain="http://www.nuxified.org/taxonomy/term/18">System tools, drivers and hardware</category>
 <category domain="http://www.nuxified.org/forum_tags/x">x</category>
 <pubDate>Mon, 18 Feb 2008 17:57:40 +0100</pubDate>
 <dc:creator>tbuitenh</dc:creator>
 <guid isPermaLink="false">2002 at http://www.nuxified.org</guid>
</item>
</channel>
</rss>
