Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use Notepad++ on Windows 7 and I want to know if there is a good substitution for it on Ubuntu.

I want something that is good for editing html files.

share|improve this question
1  
Take a look at this: StackOverflow: What can I use as a Notepad++ alternative in Linux (Ubuntu)? As a side note (also mentioned in the link), you can install Notepad++ with Wine. –  Alaa Ali Jun 28 '13 at 17:26
    
There is GEdit (default editor for Gnome) and Kate (default one for KDE). These are very user friendly, I don't know if they are "html friendly" enough, though. Nonetheless, there are many alternatives (Linux is full of choice) which are targeted specifically towards web development (google ubuntu html editors). You can also use Oracle's Eclipse (see here). –  edwin Jun 28 '13 at 17:27
    
gedit works fine for this. –  Thomas W. Jun 28 '13 at 17:32
    
possible duplicate of Basic Web Development IDE/Editor like Dreamweaver? –  Nickolas Jun 28 '13 at 17:36
    
Thanks a lot, for those who wants to know how to install "Sublime" you can easly follow the different steps explain here: how2 INstall Sublime c u –  Orsius Apr 17 at 9:47

8 Answers 8

The answers provided to this question on Stack Overflow: What can I use as a Notepad++ alternative in Linux (Ubuntu)? may be useful for you. They point us to pieces of software like:

  1. Vim
  2. Emacs
  3. Geany
  4. kate (in KDE, running in unity with the installation of the proper KDE dependences)
  5. Sublime (free, unlimited trial version/ or $70.00 US Dollars)
  6. GEdit
  7. Komodo Edit (in KDE)
  8. Editra

Additionally you can install Notepad++ through Wine.

Of these, Geany and GEdit are my favorites, but it depends on your needs. If you are looking for something more complex, there is the Aptana Studio which I mentioned in detail as an answer in this question: Basic Web Development IDE/Editor like Dreamweaver?

Good luck!

share|improve this answer
    
Sublime has a free, unlimited trial version. –  David Foerster Sep 25 '13 at 12:33
    
Yeah. Sublime is by far my favorite. The popups can be a bit annoying if your using the trial, but you don't lose anything for doing it. –  Dillmo Oct 4 '13 at 10:19
    
Sublime gets my vote, also. It's too bad that there's no notepad++ for Linux (or OS X). Sublime is worth every of the 70 dollars. –  Yet Another User Nov 18 '13 at 18:43
    
Geany is at least having the same editor widget as Notepad++ is having ;) –  frlan Apr 17 at 9:53
    
My vote goes for emacs. Since it is fully scriptable (Lisp) there exist extensions for nearly everything you can think of. Only drawback: You have to learn some of the keyboard shortcuts, otherwise emacs will drive you crazy. –  soulsource May 14 at 8:42

It is actually possible to install Notepad++ on Ubuntu. Just run the following commands:

sudo apt-get update
sudo apt-get install wine

Then, download the Notepad++ Windows installer, right click it, and select Open With -> Wine Windows Program Loader. Follow the typical installation process and you should be able to open Notepad++ from your Dash.

share|improve this answer
    
Really this is good solution you can know more about wine winehq.org/about –  Nanhe Kumar Oct 4 '13 at 8:08

Three other alternatives:

  1. Gedit
  2. Bluefish (Ubuntu Software Center)
  3. Aptana Studio 3

Bluefish is very good for HTML and CSS in my opinion.

share|improve this answer

Other alternatives which have rich features and very handy and easy-to-use macro features:

KKEdit

http://www.webupd8.org/2014/03/kkedit-text-editor-inspired-by-bbedit.html

http://gtk-apps.org/content/show.php/KKEdit?content=158161

  • The usual source view options, split-view, line wrap, line numbers etc.
  • Full source code highlighted printing.
  • Standard text search OR regex search in current or all open files.
  • Jump to function declaration, Find Function declaration.
  • Find API declarations in installed Gtk-Doc's.
  • Find and open include file.
  • Multiple bookmarks.
  • Run external tools.
  • Save/Restore session.
  • Run external tool synchronously or asynchronously.
  • Pass selected text to external tools.
  • Spell checking via ASpell, check selected word or check document via tab menu.

enter image description here

medit Install medit

Official site

  • Configurable syntax highlighting.
  • Configurable keyboard accelerators.
  • Multiplatform - works on unix and windows.
  • Plugins: can be written in C, Python, or Lua.
  • Configurable tools available from the main and context menus. They can be written in - Python or Lua, or it can be a shell script.
  • Regular expression search/replace, grep frontend, builtin file selector, etc.

    medit screenshot

share|improve this answer

There are other options that are even more similar to Notepad++:

1) Notepadqq is a native port of Notepad++ to Linux (I don't know how much is maintained, blog entries are quite old as of 2014-01-30)

2) SciTe is based on the same "editing building block" of Notepad++, Scintilla.

share|improve this answer

Have a look at scribes. Features:

  • Automatic word completion
  • Automatic correction and replacement
  • Automatic pair character completion and smart insertion
  • Automatic indentation
  • Many languages
share|improve this answer

Try eric4.

I use both notepadd++ on windows and eric4 on Debian. Eric is superior in many ways to notepad++ in my opinion and is free.

share|improve this answer

Did you try Sublime Text?? http://www.sublimetext.com/

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update 
sudo apt-get install sublime-text-installer
share|improve this answer

protected by Community May 14 at 9:23

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.