LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Alternatives to Gedit (https://www.linuxquestions.org/questions/linux-newbie-8/alternatives-to-gedit-4175509464/)

bbdynamite 06-27-2014 10:18 PM

Alternatives to Gedit
 
Hi everyone I am trying to figure out if there is an alternative to gedit. I would like to install hadoop onto my Mac and in order to do that, I have to disable IPv6, which involves gedit.

The command is: sudo gedit /etc/sysctl.conf

I am having issues installing gedit, so I would like to find some other way to achieve the same result without gedit.

Also, I don't quite understand where the path /etc/sysctl.conf is coming from.

Help would be appreciated. Thanks.

maples 06-27-2014 10:33 PM

Are you just looking for another text editor?

In that case...I use leafpad.

For a lot more suggestions...https://wiki.archlinux.org/index.php...s#Graphical_12

frankbell 06-27-2014 10:53 PM

My favorite text editor is kate, though I'm trying to learn more about vim.

bbdynamite 06-27-2014 10:57 PM

Oh OK so I just did sudo vim /etc/sysctl.conf.

Thanks!

vikas027 06-30-2014 02:16 AM

Quote:

Originally Posted by bbdynamite (Post 5195250)
Oh OK so I just did sudo vim /etc/sysctl.conf.

Thanks!

Just a piece of advice, learn vi (or vim) mate. It works across all flavors of Unix.

Cheers

frieza 06-30-2014 03:14 AM

Quote:

Originally Posted by bbdynamite (Post 5195239)
Also, I don't quite understand where the path /etc/sysctl.conf is coming from.

Help would be appreciated. Thanks.

Quote:

Originally Posted by sysctl man page
sysctl is used to modify kernel parameters at runtime. The parameters
available are those listed under /proc/sys/. Procfs is required for
sysctl support in Linux. You can use sysctl to both read and write
sysctl data.

/etc/sysctl.conf is the default configuation file for sysctl

rtmistler 06-30-2014 07:55 AM

I agree with vikas027 in that you should be familiar with vi.

I personally use gnuemacs; have done so for probably 20 years and find that it's a very good code editor.

However I do use gedit, Notepad, Wordpad, and the editors for Visual Studio, and the Android Development Toolkit editor.

I recommend refining your capabilities to type.

My point there is that I feel there is no "end all; be all" editor; there are always new ones and I find that having the capability to type well has always served me.

Gnuemacs is my comfort level, I know it very well and wherever I can install and use it, I do.

But I'm never the type of person who sits down at an unfamiliar system/terminal and then abruptly complains that I can't do anything because I'm so tied to one particular editor.

jefro 06-30-2014 03:46 PM

I think you need to sometimes use gksudo instead or some command like that.

I'd wonder why you have trouble installing gedit.


You can find maybe 25 or so good tools to use. A small group is here. http://www.linuxlinks.com/article/20...7/Editors.html

maples 06-30-2014 08:37 PM

Quote:

Originally Posted by rtmistler (Post 5196233)
I agree with vikas027 in that you should be familiar with vi.

Then I should try to move on from nano?

vikas027 06-30-2014 10:47 PM

Quote:

Originally Posted by maples (Post 5196563)
Then I should try to move on from nano?

I would say yes. It is always better to learn what is common in all *nix flavors.

maples 07-01-2014 09:11 PM

Quote:

Originally Posted by vikas027 (Post 5196612)
I would say yes. It is always better to learn what is common in all *nix flavors.

nano isn't included with most distros? And I think I recall seeing a how-to that told you how to install vi...

...but I've only been with Linux for a year, so your experience is definitely more broad than mine :D

vikas027 07-01-2014 09:27 PM

Quote:

Originally Posted by maples (Post 5197145)
nano isn't included with most distros? And I think I recall seeing a how-to that told you how to install vi...

...but I've only been with Linux for a year, so your experience is definitely more broad than mine :D

Nano may or may not included in all distros by default. And it is not the default editor of distros too. For example, cron uses vi by default in RedHat based distros, HP-UX, AIX and Solaris as well.

You might have seen a How-To to install vim (not vi). ;)

gor0 07-01-2014 09:28 PM

Quote:

Originally Posted by maples (Post 5197145)
Linux is NOT Windows

http://postimg.org/image/5hzbsn8jf/

maples 07-02-2014 07:34 AM

Quote:

Originally Posted by vikas027 (Post 5197158)
You might have seen a How-To to install vim (not vi). ;)

That was probably it...and actually, it was part of a how-to on something else, and the author described how to install it if you didn't have it.

NGIB 07-02-2014 08:11 AM

Back when I was writing code for a living (for DOS), the editor used was part of the programmer's "fingerprint" and we all liked something different. I used Qedit for nearly 20 years until I finally made the switch to Windows - and I quit coding about this time. I still have my directory of DOS programming tools, including my copy of Turbo C, Turbo Pascal and Turbo BASIC (yes, I liked Borland products), tucked away somewhere. Fond memories...


All times are GMT -5. The time now is 10:55 PM.