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:
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?
You can run
winecfg
in npp snap like thisnotepad-plus-plus.wine winecfg
then change your screen resolutiondpi
.Use Playonlinux to configure wine
I do everything wine-related with playonlinux. It makes setup and maintenance around wine stuff much easier.
Install Playonlinux
On Ubuntu 18.04 just do
On Ubuntu 16.04 follow the following steps from this guide
Download the Notepad++ 32bit version from the offical download-page.
playonlinux
then click it.Install
icon. In the dialog, click the search box in Playonlinux and writeNotepad
select the top entry and clickInstall
.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. Browse to your downloadednpp.7.6.Installer.exe
file and clickOk
.This will install notepad++ with known good wine settings.
Just run this command (on a single line):
then, select the "graphics" tab, and set the screen resolution to a reasonable value (I have 150 DPI).
S. Nokkia