What are the alternatives to Notepad++ on Ubuntu?

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.

7

13 Answers

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!

12

Thanks to the work of Daniel Di Sardi there is an editor inspired to Notepad++ for Linux:

Notepadqq is a Notepad++-like editor for the Linux desktop.

notepadqq screenshot on linux

It has a nice PPA (the home page says it's for 14.04, but the launchpad has versions from Utopic to Xenial), so you can install easily by

sudo add-apt-repository ppa:notepadqq-team/notepadqq
sudo apt-get update
sudo apt-get install notepadqq

As another option, SciTe is based on the same "editing building block" of Notepad++, Scintilla.

8

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.

5

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.
5

Nowadays I would recommend Visual Studio Code. It's free, open-source and runs everywhere!

Wikipedia says:

Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. It is also customizable, so users can change the editor's theme, keyboard shortcuts, and preferences. It is free and open-source, although the official download is under a proprietary license.

Visual Studio Code is based on Electron, a framework which is used to deploy Node.js applications for the desktop running on the Blink layout engine. Although it uses the Electron framework, the software is not a fork of Atom, it is actually based on Visual Studio Online's editor (codename "Monaco").

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.

Other alternatives which have rich features including easy-to-use macro tools:

KKEdit

  • 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

1

Did you try Atom?

sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom

Or, 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

Sublime is not free and sometimes when using it displays a notification to buy it. But, you can "evaluate it" as much as you want. (Sublime website says "There is currently no enforced time limit for the evaluation" )

1

Brackets is a modern, open source text editor that understands web design. It's crafted from the ground up for web designers and front-end developers.

It is available for many OSs and works pretty good with Ubuntu. To install Brackets in all currently supported versions of Ubuntu open the terminal and type:

sudo snap install --classic brackets

enter image description here

I've not been able to get notepad++ to work with wine/ubuntu. Nevertheless, you can install notepadd++ as a snap and it works just fine.

Go to and follow the links. Snaps are available for a variety of containerized software packages. The snap "store" is located at . The homepage is .

Or check out or (package_manager).

Ubuntu 14.04 and later

Notepad++ (notepad-plus-plus) is a snap package in the default repositories of all currently supported versions of Ubuntu. To install Notepad++ open the terminal and type:

sudo snap install notepad-plus-plus 

To add Notepad++ navigation to other drives besides the default drive:

sudo snap connect notepad-plus-plus:removable-media

enter image description here
Even though the window title says [Administrator] this file is opened with normal user permissions in Notepad++.

Have a look at scribes. Features:

  • Automatic word completion
  • Automatic correction and replacement
  • Automatic pair character completion and smart insertion
  • Automatic indentation
  • Many languages

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.

1

You Might Also Like