Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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
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 '14 at 9:47

9 Answers 9

Actually you can install Notepad++ by installing wine first:

sudo apt-get update; sudo apt-get install wine

But some good alternatives are:

  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

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 '14 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 '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 – Nanhe Kumar Oct 4 '13 at 8:08
Thanks! worked perfectly! – m4l490n May 6 at 6:21
this works so well, so easily - I wish I'd have know how easy it was years ago ! – Dave Amphlett Aug 13 at 15:51

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 / update may 2015 it seems that the development started again!)

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

share|improve this answer

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:


  • 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

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??

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update 
sudo apt-get install sublime-text-installer
share|improve this answer
It would help to mention the major caveat that Sublime costs $70 and will deploy pop-ups and whatnot if the user hasn't paid. – underscore_d Sep 19 at 15:29

I would recommend Atom. Advantages:

  • multi-platform (works also on Windows, MacOS),
  • developed and backed by GitHub,
  • based on standard technologies like Chromium web browser and JavaScript,
  • and therefore has huge base of extensions for many use cases.
share|improve this answer

protected by Community May 14 '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.