LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2019, 09:37 PM   #1
oldphot
LQ Newbie
 
Registered: Aug 2019
Posts: 3

Rep: Reputation: Disabled
Lightbulb New to Linux


I am an old photographer so the name has NO implications concerning what you might think. I am, however, brand spanking new to Linux and seem to have a mysterious curiosity about CentOS and/or Ubuntu. I am here because this adventure is so new that I am floundering after thinking this should be a quick learn. ;0)
I now have about my 55th server (I lost count) running at Linode and feel that I am not as smart as I am old. I suppose the first thing I need to understand is why I have so much problem copy/pasting on either OS using Nano. AS I looked up vi I just knew that I needed some friendly help or I will soon be on my one thousandth server attempt. For now, Nano is great so that I understand that C/P problem I have. Any suggestions shall be received with joy! Oh yes, I use a late 2014 iMac. It is up to date and raring to go.
 
Old 08-17-2019, 10:11 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,497

Rep: Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099
Hopefully you have looked at the help - "^G" down the bottom. That's <Ctrl>-g in nano-speak. Where you see "M-6" for example that means <Alt>-6 - them's the meta keys.
As always a good search engine is your friend - have a read of this - even mentions a fix for Macs that appear not to have an <Alt> key.
 
Old 08-17-2019, 10:20 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,900
Blog Entries: 27

Rep: Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675
Welcome to LQ.

You might want to check out goinglinux.com. There's a wealth of articles and information there. When I first discovered their podcast along about episode 100-something, I went back and listened to them all from episode one on. I haven't missed an episode since.

And building on what syg00 said, I've found that including the word "linux" (or sometimes the name of the Linux distro) in a search string makes search results much more useful.
 
Old 08-17-2019, 11:35 PM   #4
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,198

Rep: Reputation: 701Reputation: 701Reputation: 701Reputation: 701Reputation: 701Reputation: 701Reputation: 701
Because of the background context "photographer", I wonder how nano came to be your common context in which to copy or paste. The photographers I know are heavily into KDE or Windows and DarkTable or Photoshop. I do most copy/paste operations via keyboard, very often without GUI running, while I watch most others use some sort of rodent. What other context can you provide, such as current distro or DE/WM?
 
Old 08-18-2019, 12:09 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,497

Rep: Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099
Hopefully the OP is just interested in some notes. Adjusting colour curves in nano just wasn't on my horizon when I read it.
 
Old 08-18-2019, 03:43 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,432
Blog Entries: 9

Rep: Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670
Quote:
Originally Posted by oldphot View Post
I suppose the first thing I need to understand is why I have so much problem copy/pasting on either OS using Nano.
What others already said, plus:
Do you have your mouse handy when using nano?
Then the equivalent of Ctrl-C is simply highlighting the text with your mouse, and the equivalent of Ctrl-V is either a middle mouse click or Shift-Ins.
 
Old 08-18-2019, 08:41 AM   #7
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,068
Blog Entries: 11

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
If you want to learn vi, I suggest gvim. vim is "vi improved" and is much easier to use. For example it allows the use of the navigation keys on your keyboard and it shows at the bottom of the screen when you are in INPUT or REPLACE mode. gvim adds a graphical interface to vim, so you can use familiar icons for things like cut and paste while learning the vim commands that will do it much faster.
 
Old 08-18-2019, 08:48 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,497

Rep: Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099
vi is a child of the 70's.
Leave it there.
 
Old 08-18-2019, 10:11 AM   #9
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,068
Blog Entries: 11

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
If you are talking about vi itself, I concur. It's a museum piece. But don't knock the whole vi family. gvim is a lovely editor: it gives beginners a small selection of useful graphical operations while providing more experienced editors with a load of very powerful internal commands, it does syntax checking, and it has very few dependencies compared with something like gedit. It even ships with a set of internal icons so that it doesn't strictly depend on gtk, although it looks a lot prettier with gtk.
 
1 members found this post helpful.
Old 08-18-2019, 01:57 PM   #10
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Rep: Reputation: 47
Quote:
Originally Posted by hazel View Post
If you are talking about vi itself, I concur. It's a museum piece. But don't knock the whole vi family. gvim is a lovely editor: it gives beginners a small selection of useful graphical operations while providing more experienced editors with a load of very powerful internal commands, it does syntax checking, and it has very few dependencies compared with something like gedit. It even ships with a set of internal icons so that it doesn't strictly depend on gtk, although it looks a lot prettier with gtk.
I struggle with VIM a little as far as copy/paste. It never seems to always work for me. Iíll have to try gvim. Never knew it was a thing!
 
Old 08-18-2019, 02:10 PM   #11
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 13
Posts: 1,514

Rep: Reputation: 194Reputation: 194
As far as editors go, generally I use Geany, which is available for both CentOS and Ubuntu.

Last edited by mark_alfred; 08-18-2019 at 02:12 PM.
 
Old 08-18-2019, 02:17 PM   #12
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 4,068
Blog Entries: 11

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by mark_alfred View Post
As far as editors go, generally I use Geany, which is available for both CentOS and Ubuntu.
I use geany for programming. It makes a wonderful ide. But it seems a bit of a heavyweight for a general editor.
 
Old 08-19-2019, 02:29 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,432
Blog Entries: 9

Rep: Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670Reputation: 3670
@oldphot: did you kick off YAED (yet another editor discussion)?
Only joking.
Also, butterflies.
 
Old 08-21-2019, 01:43 AM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,710

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
I use vi/vim all the time, but as I'm nearly always using a laptop with xterm or similar, I just copy/paste via the GUI that's running the term program.

You can learn yank & put etc if you really want to, but these days it's unusual to be on a physical console.
 
Old 08-21-2019, 05:55 AM   #15
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,356

Rep: Reputation: Disabled
Vi/vim is great for those of us who started out on a console, nano is an easy editor to use, if it does everything you need.

Use what is available.
 
  


Reply


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
New computer, new linux user, new world jdx LinuxQuestions.org Member Intro 1 06-19-2011 09:25 PM
passwd.new, shadow.new, group.new and gshadow.new after upgrade to slackware 12.1 rhermsen Slackware 6 11-08-2008 05:59 PM
LXer: Linux Foundation Announce New Members, New Standards Release, New Testkit LXer Syndicated Linux News 0 04-09-2007 12:04 AM
New linux distro with new Windowing system and new Desktop abimanyu007 Programming 13 08-12-2004 02:28 PM
A new kernel is out! A new kernel is out! A new kernel is out! Aussie Linux - General 9 11-29-2002 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 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