LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 07:21 PM   #1
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
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, 02:41 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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, 02:49 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,836

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
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



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 09:50 PM
how to use nano text editor\\\\ alkusanke Linux - Newbie 4 05-30-2012 06:01 PM
How to copy not cut in the nano text editor jxrod2000 Linux - Software 16 06-05-2011 04:21 AM
How to Copy/Paste from Nano to an outside text editor big_matt Linux - Newbie 4 03-28-2011 02:50 AM
LXer: Nano Text Editor Course LXer Syndicated Linux News 1 08-19-2009 07:23 AM

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

All times are GMT -5. The time now is 04:33 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
Open Source Consulting | Domain Registration