Call for testing: notepad-plus-plus

also snap version is surely interesting

1 Like

Thanks a lot for support kindly^_^ Here is the info required:

$ sudo snap info core
name:      core
summary:   "snapd runtime environment"
publisher: canonical
description: |
  The core runtime environment for snapd
type:        core
tracking:    stable
installed:   16-2.35 (5328) 92MB -
refreshed:   2018-08-20 21:15:43 +0800 CST
channels:                                  
  stable:    16-2.35                (5328) 0B -
  candidate: 16-2.35                (5328) 0B -
  beta:      16-2.35.1              (5419) 0B -
  edge:      16-2.35+git940.75e9b53 (5416) 0B -

$ sudo snap interfaces wine-platform-i386
Slot  Plug

$ sudo snap version  
snap    2.20.1ubuntu1
snapd   2.20.1ubuntu1
series  16
ubuntu  16.04

You seems to use an outdated snapd distribution, have you done an system update?

The problem resolved after update snap to latest version.

Really thank you for all you help! @Lin-Buo-Ren @mmtrt and ogra

1 Like

Hello. Thanks for creating NPP for Ubuntu, itā€™s very useful. I just installed it on Ubuntu 16.04 and I connected to all four plugs. It seems to work fine.

However, one thing that I noticed is that I cannot type these for characters: ~, `, ', ". Does anyone else have this issue? At first, I thought it might be because of the style format that I use (theme: solarized light, font name: purisa, font size: 10, and enable global font and enable global font size are checked). I switched back to default selections, but I still had the same issue. Is there a solution for this?

Thanks

1 Like

I can type these without any issues.

Can you post info of these from terminal.

snap info core
snap info notepad-plus-plus
snap info wine-platform-i386
snap version
locale

Edit: This post was eventually edited. Please see the next post for information.

Thanks for your response. Here are the info you asked:

snap run --shell notepad-plus-plus locale

locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE=en_US LC_CTYPE=ā€œen_US.UTF-8ā€ LC_NUMERIC=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LC_COLLATE=ā€œen_US.UTF-8ā€ LC_MONETARY=nl_NL.UTF-8 LC_MESSAGES=ā€œen_US.UTF-8ā€ LC_PAPER=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_ADDRESS=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_ALL=

thanks you can now edit post and remove other infos only leave locale one and can you also post locale from snap shell.

snap run --shell notepad-plus-plus
locale

Thanks. I tried to do what you asked, but Iā€™m not sure if thatā€™s what you wanted. Because, Iā€™m not really an experienced Linux user and it threw three lines of messages at the top of the output when I tried your commands. I didnā€™t know where should I set the directory. I tried to set it /snap/notepad-plus-plus, and run locale from there, but it gave me same message.

It shouldnā€™t matter as the locale command is provided by the core snap.

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:zh_CN:en_US:zh_TW:zh_CN
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER="zh_TW.UTF-8"
LC_NAME="zh_TW.UTF-8"
LC_ADDRESS="zh_TW.UTF-8"
LC_TELEPHONE="zh_TW.UTF-8"
LC_MEASUREMENT="zh_TW.UTF-8"
LC_IDENTIFICATION="zh_TW.UTF-8"
LC_ALL=

hi, thanks a lot for all your works on this snap! it really help.

When i use it daily, itā€™s found that i couldnā€™t enter chinese in NPP with chinese input method. Is there anyone can help me out? Thanks a lot in advance.

Currently, only iBus input method framework is confirmed compatible with snapd, and requires the snap maintainer to assert desktop-legacy interface and using the desktop-launch launcher in ubuntu/snapcraft-desktop-helpers

Thanks for your reply!

But unfortunately iā€™m using Fcitx, so is there any plan for snap NPP to support Fcitx?

Thank for your work. But I run into two problems.

  1. After set to hide the menu bar, I canā€™t access to menu bar again. Alt/Alt+t/F10/F11/F12 canā€™t work.
    Reinstalling notepad-plus-plus can resove this problem.

  2. The font size of menu bar is quite too small.
    Cope my WINE file can resolve this problem, I mean:
    cp ~/.wine/user.reg ~/snap/notepad-plus-plus/common/.wine

But please note that I had configurated WINE by increasing pdi. I donā€™t known how to set snapā€™s WINE.

3)Thereā€™s no Plugin menu in menu bar.

  1. it is wine issue as I can reproduce same issue on system install wine so better report it to winehq.
    you can restore menu by editing config.xml then changing value of menubar from hide to show.

  2. you can run winecfg like this notepad-plus-plus winecfg then change the dpi from graphics tab.

  3. recent change in npp setup introduce change to plugins location caused this as I have identified it and hopefully should be fixed in next revision.

Thank you for your reply.

I tried to change value of menubar from hide to show, but it is overided by notepad++. OK, maybe Iā€™d better report this bug to winehq.

I found a bug report in Bug Tracking Database of winehq, this bug is reported in 2010.
https://bugs.winehq.org/show_bug.cgi?id=21918

1 Like

I agree with you! The more popular apps that can be used on Linux distros, the more likely people will be willing to switch to GNU/Linux. The lure of free and open source was what initially got my attention. Now that I am getting into it more, the more I doubt I will use any other OS on my personal devices.

Pushed snap revision now it should fix plugin issue. Too bad the patch fix did not make it to wine to solve menu bar issue.

1 Like

cannot install ā€œnotepad-plus-plusā€: Post
https://api.snapcraft.io/v2/snaps/refresh: proxyconnect tcp: tls:
oversized record received with length 20527
Iam getting this issue while executing " sudo snap install notepad-plus-plus" command.