Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Thursday, May 24, 2012
What can I use as a Notepad++ alternative in Linux (Ubuntu)?
I got addicted to Notepad++ on Windows and I've recently moved to Ubuntu. I'm missing a tool as such.
Doesn't the bundled editor GEdit offer much the same functionality? If you need a richer functionality, use a “true” Linux editor such as GVim or Emacs.
To harness the full power of GEdit, have a look at this blog posting entitled Pimp my Gedit. Notepad++ is no match to this.
Geany is pretty similar to Notepad++. Supports syntax highlighting for several languages, auto-indent, tabs, etc. While plenty of the other editors listed here are excellent, geany seems the most similar to notepad++
Notepad++ works well with WINE. Installation instructions can be found at http://notepad-plus.sourceforge.net/uk/nppLinux.php. This link is no longer valid.
GEdit is indeed more powerful than it may appear at first; in particular, the plugin system allows it to gain pretty much all the functionality you would find in something like Windows' Notepad++.
There are plenty of sites that give you tips on "tricking out" your gEdit, such as this one, or this one or this one for a more-or-less comprehensive listing. Googling around will find you many more.
I would personally recommend VIM or GVIM. Its features are unmatched as far as I am concerned. Code folding and syntax highlighting are key features that are in both applications.
From the top of my head, I would suggest gVim, the "graphical" version of Vim. It's an extremely competent editor, but it takes some time to get used to it. I had to check the tutorial to understand all the shortcuts etc. It has syntax highlighting for most languages.
But i don't know of any good WYSIWYG editor. However, you could of course try to run Notepad++ through Wine. That might work :)
Notepad++ works fantastically in Ubuntu under wine. If you absolutely can't do without it, you can still have it.
I personally have been using Medit because it's lightweight, although it doesn't have some of the best featured of notepad++. Specifically, the split screen view is something I miss almost every single day.
Give Editra a try. It is open source and written in Python (runs on most platforms). The code is pretty stable. The project is being actively developed. Editra was recently featured on lifehacker.
Full Disclosure: my friend and colleague started the project
There is another thread about it here, but jEdit is a Java-based editor which is in the Ubuntu repositories.
If you're used to Notepad++ it will probably have a slightly easier learning curve for you than Vim or Emacs, and I find it has more (useful) features than gEdit - and it has loads of plugins.
Can someone tell me if there's any editor that has tag match capability? For example:
my title
when you position the cursor anywhere within the opening brackets, Notepad++ will highlight the opening and closing tag's bracket (> in the closing tag), so everything in between will be highlighted, it's very useful when you need to edit HTML/CSS pages, is there anything similar for Linux/Ubuntu? I just switched to Ubuntu 9.04 and tried a few editors (Bluefish, Gedit, Geany, etc.), but none of them do what Notepad++ does with closing tag, maybe it's there and I couldn't figure out how to configure it. \
If there's such editor out there, please let me know which one and how to configure it.
you should really learn VIM... vi is in every linux and unix build ... therefore no matter what machine you get on, you will be able to do very powerful editing. emacs would be the other choice to learn... the other programs are nice but you will all thank us once you get passed the learning curve and your production will FLY... even if you use gvim/cream on windows it is WELL worth it. I have to use windows at work and people come by and see me running vim and are like WTF is that! meanwhile they use shitty dreamweaver lmao
Like others, I'd recommend running it under WINE, or if you just need to do some basic editing, like maybe adding a couple lines to your /etc/apt/sources.list, then you could try nano, which is run in the terminal. It's extremely easy to use, and gets the job done. It even has some basic syntax highliting, for example shell scripts. Tis isn't something you'd want to use for say hugely long C++ source editing, but for some shell scripts, or adding a few lines, it's very good. And, as a plus, it's kind of nice if your working in the terminal to stay in the terminal, rather than fumble around with another program. Just my two cents :)
after a long time of searching the best Notepad++ alternative in Linux, I find that Notepad++ is the best alternative for Notepad++ in Linux. :-)
Here is the solution:
Install Wine from Ubuntu software Center, I used Wine 1.1.31; Download Notepad++Portablelink text; Go to your Notepad++ download folder, right click on the *.exe file and chose Open with Wine..... Chose your language, chose your C:\Program Files\Notepad++Portable and click Install; 5 Go to Aplication Ubuntu menu, in Aplications/Wine/Browse c:/Drive or paste the following ~/.wine/dosdevices/c:/Program Files/Notepad++Portable in your File explorer Right click on Notepad++Portable.exe and chose Open with Wine.....
You could try gvim or xemacs, they'll probably take longer to get used to than np++ but either should be able to do everything you need. If this isn't good enough, you could also always just run np++ in Wine :)
I second vim/gvim. However, if you're looking to ease the transition to vim, you can use cream, which is kind of like vim w/ insert modes as default (there's probably more to it than that, though...)
There are lots of plugins that you can add to the "base" editors of the main linux frontends Gedit (for Gnome), KWrite (for KDE) or MousePad (for XFCE), but if you want something more equipped from the beginning try Geany (for Gnome or XFCE) or Kate (for KDE).
Doesn't the bundled editor GEdit offer much the same functionality? If you need a richer functionality, use a “true” Linux editor such as GVim or Emacs.
ReplyDeleteTo harness the full power of GEdit, have a look at this blog posting entitled Pimp my Gedit. Notepad++ is no match to this.
Geany is pretty similar to Notepad++. Supports syntax highlighting for several languages, auto-indent, tabs, etc. While plenty of the other editors listed here are excellent, geany seems the most similar to notepad++
ReplyDeleteI vote for Geany, it is in Ubuntu repositories.
ReplyDeleteNotepad++ works well with WINE. Installation instructions can be found at http://notepad-plus.sourceforge.net/uk/nppLinux.php. This link is no longer valid.
ReplyDeleteIf you are using KDE, give kate a try.
ReplyDeleteGEdit is indeed more powerful than it may appear at first; in particular, the plugin system allows it to gain pretty much all the functionality you would find in something like Windows' Notepad++.
ReplyDeleteThere are plenty of sites that give you tips on "tricking out" your gEdit, such as this one, or this one or this one for a more-or-less comprehensive listing. Googling around will find you many more.
If you are looking for the same editing component, use SciTE. SciTE and Notepad++ both use Scintilla behind the scenes.
ReplyDeleteI would personally recommend VIM or GVIM. Its features are unmatched as far as I am concerned. Code folding and syntax highlighting are key features that are in both applications.
ReplyDeleteYou may like vim, with the plugins you want.
ReplyDeleteSee:
http://www.vim.org/
http://www.vim.org/tips/index.php
http://www.vim.org/scripts/index.php
http://www.vim.org/scripts/script.php?script_id=1658
Komodo edit (large image if opened in new tab).
ReplyDeleteNon java (read: it's fast), free, has plugins, built around scintilla just like Notepad++.
There is also IDE (not free, but with debugger, version control etc).
Welcome to the dark side :)
ReplyDeleteFrom the top of my head, I would suggest gVim, the "graphical" version of Vim. It's an extremely competent editor, but it takes some time to get used to it. I had to check the tutorial to understand all the shortcuts etc. It has syntax highlighting for most languages.
But i don't know of any good WYSIWYG editor. However, you could of course try to run Notepad++ through Wine. That might work :)
Notepad++ works fantastically in Ubuntu under wine. If you absolutely can't do without it, you can still have it.
ReplyDeleteI personally have been using Medit because it's lightweight, although it doesn't have some of the best featured of notepad++. Specifically, the split screen view is something I miss almost every single day.
Give Editra a try. It is open source and written in Python (runs on most platforms). The code is pretty stable. The project is being actively developed. Editra was recently featured on lifehacker.
ReplyDeleteFull Disclosure: my friend and colleague started the project
There is another thread about it here, but jEdit is a Java-based editor which is in the Ubuntu repositories.
ReplyDeleteIf you're used to Notepad++ it will probably have a slightly easier learning curve for you than Vim or Emacs, and I find it has more (useful) features than gEdit - and it has loads of plugins.
www.jedit.org, if you want the actual website :)
I like gEdit and I followed most of the tips that I found here to make it a pretty good lightweight IDE.
ReplyDeleteCan someone tell me if there's any editor that has tag match capability? For example:
ReplyDeletemy title
when you position the cursor anywhere within the opening brackets, Notepad++ will highlight the opening and closing tag's bracket (> in the closing tag), so everything in between will be highlighted, it's very useful when you need to edit HTML/CSS pages, is there anything similar for Linux/Ubuntu? I just switched to Ubuntu 9.04 and tried a few editors (Bluefish, Gedit, Geany, etc.), but none of them do what Notepad++ does with closing tag, maybe it's there and I couldn't figure out how to configure it. \
If there's such editor out there, please let me know which one and how to configure it.
Thanks for your comment/suggestion
Michael
you should really learn VIM... vi is in every linux and unix build ... therefore no matter what machine you get on, you will be able to do very powerful editing.
ReplyDeleteemacs would be the other choice to learn...
the other programs are nice but you will all thank us once you get passed the learning curve and your production will FLY...
even if you use gvim/cream on windows it is WELL worth it.
I have to use windows at work and people come by and see me running vim and are like WTF is that! meanwhile they use shitty dreamweaver lmao
Like others, I'd recommend running it under WINE, or if you just need to do some basic editing, like maybe adding a couple lines to your /etc/apt/sources.list, then you could try nano, which is run in the terminal. It's extremely easy to use, and gets the job done. It even has some basic syntax highliting, for example shell scripts. Tis isn't something you'd want to use for say hugely long C++ source editing, but for some shell scripts, or adding a few lines, it's very good. And, as a plus, it's kind of nice if your working in the terminal to stay in the terminal, rather than fumble around with another program. Just my two cents :)
ReplyDeleteafter a long time of searching the best Notepad++ alternative in Linux, I find that Notepad++ is the best alternative for Notepad++ in Linux. :-)
ReplyDeleteHere is the solution:
Install Wine from Ubuntu software Center, I used Wine 1.1.31;
Download Notepad++Portablelink text;
Go to your Notepad++ download folder, right click on the *.exe file and chose Open with Wine.....
Chose your language, chose your C:\Program Files\Notepad++Portable and click Install;
5 Go to Aplication Ubuntu menu, in Aplications/Wine/Browse c:/Drive or paste the following ~/.wine/dosdevices/c:/Program Files/Notepad++Portable in your File explorer
Right click on Notepad++Portable.exe and chose Open with Wine.....
Emacs and Vi are you best options, the power of those will dwarf anything that notepad++ can do...The learning curve is steep.
ReplyDeleteGedit is pretty good with a few add-ons.
gedit has long been a staple of my X installations. GVim is handy as well, but with Gedit and vi, I have just about everything I want.
ReplyDeleteYou could try gvim or xemacs, they'll probably take longer to get used to than np++ but either should be able to do everything you need. If this isn't good enough, you could also always just run np++ in Wine :)
ReplyDeleteI second vim/gvim. However, if you're looking to ease the transition to vim, you can use cream, which is kind of like vim w/ insert modes as default (there's probably more to it than that, though...)
ReplyDeletehttp://cream.sourceforge.net/
Gedit if you're using Gnome, or KWrite if you're using KDE, or Mousepad if you're using XFCE (although I don't know if it has syntax highlighting).
ReplyDeleteNotepad++ will run under Wine.
Kate and Nedit were always favourites where I worked.
ReplyDeleteThere are lots of plugins that you can add to the "base" editors of the main linux frontends Gedit (for Gnome), KWrite (for KDE) or MousePad (for XFCE), but if you want something more equipped from the beginning try Geany (for Gnome or XFCE) or Kate (for KDE).
ReplyDelete