LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2017, 08:21 PM   #1
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 494
Blog Entries: 3

Rep: Reputation: 157Reputation: 157
nano text editor and mouse settings under X


Hi, quick question about the nano text editor. I like using this setting in /etc/nanorc:
Code:
set mouse
as this allows faster navigation of a text file when browsing, let's me scroll with the wheel and is much faster than arrow keying my way across long lines.

However, when that setting is enabled, the X clipboard (middle click) no longer works for pasting into the editor. Is there any way i can allow the middle-click paste under X to function normally whilst the mouse option is enabled?

Thanks..
 
Old 12-05-2017, 03:41 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 7,031
Blog Entries: 4

Rep: Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687Reputation: 1687
Quote:
Originally Posted by coralfang View Post
much faster than arrow keying my way across long lines.
tried PageUp/Down instead?
 
Old 12-05-2017, 03:49 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,905

Rep: Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921
when you want to use X clipboard you need to allow X to handle the mouse events. If you want to handle those events by nano - obviously - X will not do anything. nano itself has no any idea if it is running in a GUI terminal or in a console.
 
  


Reply

Tags
mouse, nano, nanorc, paste, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nano text editor barbedwire Red Hat 6 07-12-2013 10:50 PM
how to use nano text editor\\\\ alkusanke Linux - Newbie 4 05-30-2012 07:01 PM
How to copy not cut in the nano text editor jxrod2000 Linux - Software 16 06-05-2011 05:21 AM
How to Copy/Paste from Nano to an outside text editor big_matt Linux - Newbie 4 03-28-2011 03:50 AM
LXer: Nano Text Editor Course LXer Syndicated Linux News 1 08-19-2009 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration