PDA

View Full Version : [kubuntu] Disable "Select to copy" and "Middle button Paste" How to?



tomhc
August 28th, 2011, 11:53 PM
How would one disable "Select to copy" and "Middle button Paste". Form forums i read, you can disable "Middle button Paste" by editing a "Xorg Config file", does anyone know of a alternative way? Editing the "Xorg" file does not remove the select to copy function. I would really like to remove it. :popcorn: :), but can not find a forum or article that helps with this. :(


So i would like to know how to disable "Select to copy" and "Middle button Paste". I am running KDE in kubuntu 11.04.



As a side note: Why...
I would like to disable select to copy becuase:
I highlight text sometimes to see it better and to know where i left off when reading articles while switching tabs. I would like to not have something i selected to appear in a social messaging application.

And I would like to use the middle button to close applactions, or open hyperlinks Via Middle Button, (as middle button opens them in a inactive new tab {Which is very useful}).



Please don't say "Get used to it" or "Select to copy is the BEST, MOST AWESOME, feature in Linux. Why would you want to remove it"


If you don't have time, Please just tell me if this is possible, so that i can continue searching. :)

:KS Thank you ahead of time Linux Angels! :P

Toz
September 5th, 2011, 10:11 PM
Have a look at: https://wiki.ubuntu.com/X/Config/Input#Example:_Disabling_middle-mouse_button_paste_on_a_scrollwheel_mouse

tfkm
January 18th, 2013, 12:12 PM
Have a look at: https://wiki.ubuntu.com/X/Config/Input#Example:_Disabling_middle-mouse_button_paste_on_a_scrollwheel_mouse
A completely useless answer/howto. Rather than disabling the paste action, it disables the entire middle mouse button. (And would thus render middle-click in Firefox to open a link in a new tab window useless, for example.)

mcduck
January 18th, 2013, 01:57 PM
Sorry to tell you, but there's not going to be any easy way to accomplish what you want.

You could follow this guide and try to adopt it to apply to current GTK2 and GTK3 versions, and perhaps find out if you can find a way to do similar thing with other toolkits (like Qt) if you have any applications using them: https://www.assembla.com/spaces/slipstream/wiki/Disabling_GTK%27s_middle_mouse_button_functionalit y

Other than that, the feature is called "primary selection", and it's part of the X Window's selection standard. If nothing else, knowing the correct name should help in your search... ;)

Elfy
January 18th, 2013, 02:38 PM
Old thread closed.