Using Notepad++ on Linux Mint/Ubuntu 18

As a happy user of Notepad++ I like to have it also on my Linux computers. You can run download and run the portable version under wine. Here I'll describe all required steps:

  • Go to the site and download the portable version
  • Extract it somewhere under C:
    • example: /home/user/.wine/dosdevices/c:/Software/Portable
  • Run it and ensure tha is starting without errors
  • Create Shortcut:
    • Right click on Panel
    • Press Add
    • In the Launcher Properties enter:

Name:

Notepad++

Command:

wine "/home/user/.wine/dosdevices/c:/Portable Software/npp.7.4.2.bin/notepad++.exe" %f

Comment:

Text editor.

Icon:

Select a nice and fashin icon for your Notepad++. I use this one: Notepad++ Icon
by Archeinre

You can convert it with GIMP to ico or use as png. Finally you can added to menu Other or move it to more suitable for you.

Final result:

Not starting Notepad++ under wine

If the application is not starting from the your new icon be sure to check the command path:

Command:

wine "/home/user/.wine/dosdevices/c:/Portable Software/npp.7.4.2.bin/notepad++.exe" %f

to point to your actual folder.

Latest versions of Notepad++ crash under wine

The lasest versions of Notepad++ are failing to start with error. I was not able to find solution for this errors so I prefer to stay to older versions:

More tricks related to Linux Mint:

Linux Mint 18 - How to add Desktop shortcut