On 08/11/2012 09:38 AM, Martin Airs wrote:
On Saturday 11 Aug 2012 09:33:49 Emmett Culley wrote:
> I am mostly a programmer, so having the middle button on the mouse paste
> from the clipboard is a pain and sometime disastrous.
>
> How can I turn that functionality off and make it stay off?
>
> I can turn it off using xinput to turn off the middle button, but all
> methods I've tired to make it stick, including writing a script to be
> called upon KDE start up, either don't work, or work sporatically and I
> find out when code would compile or run because some (seemingly) random
> string or characters got pasted into the code.
>
> There is nothing in system-settings - input-devices - mouse. Yet there MUST
> be a way to define mouse actions so that pressing the middle mouse button
> does not paste in to my workspace.
>
> Can someone pleas shed some light on how to modify middle mouse button
> functionality?
>
> Emmett
> _______________________________________________
> kde mailing list
> kde(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/kde
> New to KDE4? - get help from
http://userbase.kde.org
if you just right click on your desktop, and go into settings, there's a
"mouse actions" tab/section, if you turn paste off in there, does that help?
Martin
I tried deleting the entry for middle button and changing it to some other action. No
change. The middle button still pastes to apps.
I might mention that I mostly use Quanta for development, but this happens in Konsole and
other purely KDE 4 apps as well.
So far the only way to stop the middle button from pasting into apps is to run xinput
set-button-map "Logitech USB Optical Mouse" 1 0 3. Then if I unplug the mouse
that setting get reset.
It is interesting that I also have a Logitech wireless that the middle button doesn't
cause the clip board to be pasted into apps. And button 2 is enabled.
Emmett