You are not logged in.

#1 2018-11-29 13:11:39

InvisibleRasta
Member
Registered: 2017-04-12
Posts: 111

Nano how to get scrollwheel paste to work

hello guys, how can i enable the option to paste with the scrollwheel in nano? it works for browsers and terminals

Offline

#2 2018-11-29 14:09:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,524
Website

Re: Nano how to get scrollwheel paste to work

This has nothing to do with nano.  This is entirely up to the terminal that it is running in.  I assume by referring to the scrollwheel, you mean on a mouse where the wheel can be pressed down to act as a middle click.  Middle click in many X11 clients is responded to by inserting the contents of the primary selection.  So if the terminal you are running nano in handles it this way, nano will receive that text as if it was typed in on the keyboard.

However, several terminal emulators do not (automatically) respond to a middle click.  Some use shift+middle-click wihle others need to be customized to respond to it at all.  What terminal emulator are you using?

Last edited by Trilby (2018-11-29 14:17:11)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2018-11-29 16:07:10

InvisibleRasta
Member
Registered: 2017-04-12
Posts: 111

Re: Nano how to get scrollwheel paste to work

i am using the xfce4-terminal. not sure how to enable this middle click behavior... thing is that with xfce4-terminal i can miccleclick paste but when nano is opened in it i cant... so i donthtink its a xfce4-terminal thing since i can middleclick in it... it jsut doesnt work with nano. this is my nanorc:
https://paste.pound-python.org/show/9np … K1oKzwrKF/

Offline

#4 2018-11-30 05:04:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,524
Website

Re: Nano how to get scrollwheel paste to work

That nanorc is meaningless as it does nothing but include countless other files which you've not provided.  Try moving the nanorc to try with a default config.

middle-click paste works fine here in nano in xfce4-terminal.

Last edited by Trilby (2018-11-30 05:06:55)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2018-11-30 05:09:43

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: Nano how to get scrollwheel paste to work

Trilby wrote:

That nanorc is meaningless as it does nothing but include countless other files which you've not provided.  Try moving the nanorc to try with a default config.

More conveniently:

nano --ignorercfiles

Offline

Board footer

Powered by FluxBB