1

Glad that notepad++ is now available in Ubuntu. And no, I won't switch to NotepadQQ -- its features are not nearly as many as in Notepad++

As far as I understand, it is run via sort of embedded Wine.

As always, fonts in menus are way too small in Wine applications, like this:

enter image description here

Usually, it is fixed via winecfg.

But, how to fix fonts in an embedded wine?

I have the following things in ~/snap/notepad-plus-plus:

.
├── 140
│   └── notepad-plus-plus
│       ├── backup
│       ├── localization
│       ├── plugins
│       ├── themes
│       └── wine-platform
├── common
│   ├── .cache
│   │   ├── fontconfig
│   │   └── winetricks
│   ├── .config
│   │   ├── fontconfig
│   │   └── menus
│   ├── .local
│   │   └── share
│   └── .wine
│       ├── dosdevices
│       └── drive_c
└── current -> 140

fontconfig contains a file fonts.conf with the following content:

<fontconfig>
  <dir>/snap/notepad-plus-plus/140/wine-platform/usr/share/fonts</dir>
  <dir>/usr/local/share/fonts</dir>
  <dir>/usr/share/fonts</dir>
  <include ignore_missing="yes">conf.d</include>
  <cachedir prefix="xdg">fontconfig</cachedir>
  <cachedir>/home/NAME/.cache/fontconfig</cachedir>
</fontconfig>

Any clues?

  • 1
    Possible duplicate of What are the alternatives to Notepad++ on Ubuntu? (try NotepadQQ) – N0rbert Nov 14 '18 at 20:34
  • 1
    @N0rbert Nope. NotepadQQ compared to Notepad++ is like a crutch compared to a bazooka. – Rubi Shnol Nov 14 '18 at 20:53
  • Thanks for asking this question: I just installed notepadqq... (also voted to leave open) – Fabby Nov 15 '18 at 14:07
2

You can run winecfg in npp snap like this notepad-plus-plus winecfg then change your screen resolution dpi.

1

Use Playonlinux to configure wine

I do everything wine-related with playonlinux. It makes setup and maintenance around wine stuff much easier.

  1. Install Playonlinux

    On Ubuntu 18.04 just do

    sudo apt install playonlinux
    

    On Ubuntu 16.04 follow the following steps from this guide

    sudo add-apt-repository ppa:noobslab/apps
    sudo apt-get update
    sudo apt-get install playonlinux
    
  2. Download the Notepad++ 32bit version from the offical download-page.

  3. Start Playonlinux. Open the start-menu and begin typing playonlinux then click it.
  4. Running Playonlinux: Click the Install icon. In the dialog, click the search box in Playonlinux and write Notepad select the top entry and click Install. Playonlinux install dialog
  5. There are two dialogs to click next, then a dialog which ask if you want to download or use a allready downloaded installer - this one has aa magnifying glas icon on the left. Click the maginfying glas entry. installer dialog Browse to your downloaded npp.7.6.Installer.exe file and click Ok.

This will install notepad++ with known good wine settings. First start with Notepad++

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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