You are not logged in.
I know that Linux have multiple clipboard systems, but I want simple thing:
in urxvt terminal change behavior of middle-scroll button with right-click mouse button.
At this moment select-and-copy works fine. Middle-scroll button also is working fine.
but:
how can I change this in urxvt: middle-scroll-click-paste >>> right-click-paste ?
(I have google it, but nothing found)
Last edited by collector1871 (2017-03-18 10:40:41)
Offline
Why do you want it and why specifically in urxvt? It should be achievable system wide using something like xmodmap.
Offline
What you are trying to change is default behaviour of mouse buttons, and it is not urxvt specific. You may have to change mouse key layout/keybindings. I am not sure how to do that. However if you are not comfortable using middle-scroll button you may try shift+insert key.
Arch is home!
https://github.com/Docbroke
Offline
Why do you want it and why specifically in urxvt? It should be achievable system wide using something like xmodmap.
I am using also PuTTy and in this case it is more comfortable using right-button as paste.
I found something like this:
http://askubuntu.com/questions/734647/r … n-terminal
but it is no urxvt specific.
Any idea how to do it from xmodmap ?
Last edited by collector1871 (2016-12-26 17:27:00)
Offline
I am using also PuTTy and in this case it is more comfortable using right-button as paste.
I still don't get why people would use GUIs for SSH on Unix systems (see https://bbs.archlinux.org/viewtopic.php?id=220896). It just seems like a bad habit taken over from Windows¹ (both the idea of using GUIs for SSH, and using right click for pasting the primary selection).
I don't know if xmodmap is a good idea - if you map button 2 to button 3, you'll lose button 2. And swapping will make all right-button clicks (e.g. context menus) awkward. According to the urxvt man page, middle click will paste the primary selection, and the wording suggests that this behaviour is hardcoded. Given that the Linux world generally expects button 2 to behave in that way, I would try to get used to using button 2.
This reply does probably not help you directly, but I hope it puts things in perspective a little.
___
¹ Then again, putty is in extra, so some dev thought it would be a good idea - I'll stop complaining.
Offline
urxvt gives you a pop-up menu with ctrl+right click
alternately, you can use ctrl+alt+c and ctrl+alt+v/shift+insert for copy and paste.
note: that shift+insert has a slightly different clipboard behaviour
and as always, you can middle click your most recent selection
Last edited by HiImTye (2016-12-27 03:41:53)
Offline
(I hope this is not necro-bumping)
all@
thanks for answers.
Recently I switched to terminator terminal ( https://wiki.archlinux.org/index.php/Terminator ) - it is the only one which I founded with "right-click-paste" support.
Terminator is working via GTK3: so is somebody is thinking about migration, you should know how to deal with GTK3 applications.
topic is solved.
Last edited by collector1871 (2017-03-18 10:40:23)
Offline