<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Linux / Gnome: Turning two extra mouse buttons into Copy/Paste commands</title>
	<atom:link href="http://billauer.se/blog/2011/11/mouse-buttons-binding-copy-paste/feed/" rel="self" type="application/rss+xml" />
	<link>https://billauer.se/blog/2011/11/mouse-buttons-binding-copy-paste/</link>
	<description>Anything I found worthy to write down.</description>
	<lastBuildDate>Thu, 26 Mar 2026 13:15:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Fred</title>
		<link>https://billauer.se/blog/2011/11/mouse-buttons-binding-copy-paste/comment-page-1/#comment-1524</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Tue, 27 Oct 2020 08:09:02 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=2381#comment-1524</guid>
		<description>Hi guys if anyone still is visitng this site, I am trying to bind copy n paste ctrl c and v to the file for a while now have read many guides but can&#039;t get the mapping to work in live environment ? any help is greatly appreciated</description>
		<content:encoded><![CDATA[<p>Hi guys if anyone still is visitng this site, I am trying to bind copy n paste ctrl c and v to the file for a while now have read many guides but can&#8217;t get the mapping to work in live environment ? any help is greatly appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodrigo</title>
		<link>https://billauer.se/blog/2011/11/mouse-buttons-binding-copy-paste/comment-page-1/#comment-891</link>
		<dc:creator>Rodrigo</dc:creator>
		<pubDate>Sat, 24 Aug 2013 01:55:51 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=2381#comment-891</guid>
		<description>Great and useful post, thank you! I&#039;m using fedora 18. 
I&#039;m having problems setting a mouse button to do any xte or xdotool command. When I use xev to see what the mouse button triggers I get this:

FocusOut event, serial 31, synthetic NO, window 0x2200001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 31, synthetic NO, window 0x2200001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 31, synthetic NO, window 0x2200001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  4294967199 0   0   0   0   1   0   0   0   0   0   0   0   0   0   0   
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyPress event, serial 31, synthetic NO, window 0x2200001,
    root 0x9f, subw 0x0, time 573916, (45,4), root:(46,95),
    state 0x50, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) &quot;d&quot;
    XmbLookupString gives 1 bytes: (64) &quot;d&quot;
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2200001,
    root 0x9f, subw 0x0, time 573950, (45,4), root:(46,95),
    state 0x50, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes: (64) &quot;d&quot;
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2200001,
    root 0x9f, subw 0x0, time 573982, (45,4), root:(46,95),
    state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

As for this, I get a combination like Mod2+Mod4+ d for the mouse button press. But when I put this in to the .xbindkeysrc like for example:

#Mozilla
 &quot;firefox&quot;
 m:0x50 + c:40 
 Mod2+Mod4+d

It doesn&#039;t work with the mouse button and I just keep getting a &quot;d&quot; everytime I press the button. Nevertheless if I press the keyboard key Super_R + d it does open firefox. But if I press the key Super_L + d it doesn&#039;t. I managed to notice that pressing Super_L + d + d (pressing d repeteadly twice) opens firefox. 

Somehow this mouse button is linked to my Super_L physical key. when I press Super_L by itself, it  show&#039;s the activities overview (the same as alt+F1 in the keyboard shortcuts, or going with the mouse pointer to the upper left corner activities menu). I did try the keyboard layout distribution map, to see which keys highlight when I press one on my physical keyboard. I noticed that when I press the right Super key, control, alt, etc, the appropriate key highlights on the map. Nonetheless when I press the left Super key it doesn’t highlight any keys on the layout map.

I do have xmodmap but haven&#039;t done anything strange with it. This is the output I get when running xmodmap and seems to be fine.

xmodmap: up to 4 keys per modifier, (keycodes in parentheses):

shift Shift_L (0×32), Shift_R (0x3e)
lock Caps_Lock (0×42)
control Control_L (0×25), Control_R (0×69)
mod1 Alt_L (0×40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0×85), Super_R (0×86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)

If you could help me with this, it would be great.
Thanks in advance for your help.</description>
		<content:encoded><![CDATA[<p>Great and useful post, thank you! I&#8217;m using fedora 18.<br />
I&#8217;m having problems setting a mouse button to do any xte or xdotool command. When I use xev to see what the mouse button triggers I get this:</p>
<p>FocusOut event, serial 31, synthetic NO, window 0x2200001,<br />
    mode NotifyGrab, detail NotifyAncestor</p>
<p>FocusOut event, serial 31, synthetic NO, window 0x2200001,<br />
    mode NotifyUngrab, detail NotifyPointer</p>
<p>FocusIn event, serial 31, synthetic NO, window 0x2200001,<br />
    mode NotifyUngrab, detail NotifyAncestor</p>
<p>KeymapNotify event, serial 31, synthetic NO, window 0x0,<br />
    keys:  4294967199 0   0   0   0   1   0   0   0   0   0   0   0   0   0   0<br />
           32  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   </p>
<p>KeyPress event, serial 31, synthetic NO, window 0x2200001,<br />
    root 0x9f, subw 0x0, time 573916, (45,4), root:(46,95),<br />
    state 0x50, keycode 40 (keysym 0x64, d), same_screen YES,<br />
    XLookupString gives 1 bytes: (64) &#8220;d&#8221;<br />
    XmbLookupString gives 1 bytes: (64) &#8220;d&#8221;<br />
    XFilterEvent returns: False</p>
<p>KeyRelease event, serial 31, synthetic NO, window 0x2200001,<br />
    root 0x9f, subw 0x0, time 573950, (45,4), root:(46,95),<br />
    state 0x50, keycode 40 (keysym 0x64, d), same_screen YES,<br />
    XLookupString gives 1 bytes: (64) &#8220;d&#8221;<br />
    XFilterEvent returns: False</p>
<p>KeyRelease event, serial 31, synthetic NO, window 0x2200001,<br />
    root 0x9f, subw 0x0, time 573982, (45,4), root:(46,95),<br />
    state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,<br />
    XLookupString gives 0 bytes:<br />
    XFilterEvent returns: False</p>
<p>As for this, I get a combination like Mod2+Mod4+ d for the mouse button press. But when I put this in to the .xbindkeysrc like for example:</p>
<p>#Mozilla<br />
 &#8220;firefox&#8221;<br />
 m:0x50 + c:40<br />
 Mod2+Mod4+d</p>
<p>It doesn&#8217;t work with the mouse button and I just keep getting a &#8220;d&#8221; everytime I press the button. Nevertheless if I press the keyboard key Super_R + d it does open firefox. But if I press the key Super_L + d it doesn&#8217;t. I managed to notice that pressing Super_L + d + d (pressing d repeteadly twice) opens firefox. </p>
<p>Somehow this mouse button is linked to my Super_L physical key. when I press Super_L by itself, it  show&#8217;s the activities overview (the same as alt+F1 in the keyboard shortcuts, or going with the mouse pointer to the upper left corner activities menu). I did try the keyboard layout distribution map, to see which keys highlight when I press one on my physical keyboard. I noticed that when I press the right Super key, control, alt, etc, the appropriate key highlights on the map. Nonetheless when I press the left Super key it doesn’t highlight any keys on the layout map.</p>
<p>I do have xmodmap but haven&#8217;t done anything strange with it. This is the output I get when running xmodmap and seems to be fine.</p>
<p>xmodmap: up to 4 keys per modifier, (keycodes in parentheses):</p>
<p>shift Shift_L (0×32), Shift_R (0x3e)<br />
lock Caps_Lock (0×42)<br />
control Control_L (0×25), Control_R (0×69)<br />
mod1 Alt_L (0×40), Alt_R (0x6c), Meta_L (0xcd)<br />
mod2 Num_Lock (0x4d)<br />
mod3<br />
mod4 Super_L (0×85), Super_R (0×86), Super_L (0xce), Hyper_L (0xcf)<br />
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)</p>
<p>If you could help me with this, it would be great.<br />
Thanks in advance for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Biju</title>
		<link>https://billauer.se/blog/2011/11/mouse-buttons-binding-copy-paste/comment-page-1/#comment-675</link>
		<dc:creator>Biju</dc:creator>
		<pubDate>Fri, 09 Dec 2011 12:16:14 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=2381#comment-675</guid>
		<description>very nice put up, i definitely love this web site, keep on it</description>
		<content:encoded><![CDATA[<p>very nice put up, i definitely love this web site, keep on it</p>
]]></content:encoded>
	</item>
</channel>
</rss>
