Comments (6)
can you try same on system wine without using snap see if that happens there.
from notepad-plus-plus.
I don't have wine installed but I've done the same test on other foobar2000 (so snapped) and the results were the same errors.
npp and foobar2000 called by ubuntu start menu work ok.
from notepad-plus-plus.
ah ok so you are creating desktop file then running the snap app from there is problematic.
from notepad-plus-plus.
ah ok so you are creating desktop file then running the snap app from there is problematic.
Yes, indeed. I've checked it right now with these last tests. For any reason calling these snapped apps from this desktop file configuration causes this bug.
from notepad-plus-plus.
ah maybe try removing this line from desktop file if that still not works for you then check the actual desktop files used by snaps from here /var/lib/snapd/desktop/applications/
see if they solve your issue.
#!/usr/bin/env xdg-open
from notepad-plus-plus.
-
Removing
#!/usr/bin/env xdg-open
doesn't work -
I've seen the actual desktop files. I'm copying here two of them. One loads the app ok; npp files does not:
2.1. Tusk desktop file
[Desktop Entry]
Name=Tusk
Comment=Tusk is an unofficial, featureful, open source, community-driven, free Evernote app used by people in more than 130 countries.
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/tusk_tusk.desktop /snap/bin/tusk
Terminal=false
Type=Application
Icon=/snap/tusk/19/meta/gui/icon.png
StartupWMClass=Tusk
Categories=Office;
2.2. Npp desktop file
[Desktop Entry]
Name=Notepad++
GenericName=Text Editor
Comment=Simple and free source code editor.
Version=7.6.1
Type=Application
Terminal=false
Icon=/snap/notepad-plus-plus/171/usr/share/pixmaps/notepad-plus-plus.png
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/notepad-plus-plus_notepad-plus-plus.desktop /snap/bin/notepad-plus-plus %U
StartupWMClass=notepad-plus-plus.exe
Categories=Utility;TextEditor
MimeType=text/plain;text/css;text/html;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-java;text/x-makefile;text/x-python;text/x-sh;application/x-wine-extension-ini;application/x-wine-extension-inf;
The difference between them is the directive MimeType. But I've commented it in the last file and nothing.
from notepad-plus-plus.
Related Issues (20)
- Can't open file using notepad++ HOT 4
- Comment/Uncomment is not working... HOT 1
- Clipboard randomly fails in v7.8.1 64 bit HOT 4
- Foreign characters e.g. chinese not displayed correctly HOT 9
- Cannot open files from /data directory HOT 3
- cannot install offline HOT 1
- Clipboard is failing alternately HOT 5
- an issue which is more of a help request HOT 2
- Option for HiDPI display HOT 3
- Wine is recognised as virus HOT 2
- Cannot increase NPP menu font size HOT 2
- Not working since last refresh the 22-10-2021 HOT 2
- Can't display the hidden folder and file in $HOME HOT 1
- update HOT 1
- Raspberry Pi OS HOT 3
- 8.3.2 No longer works on Ubuntu HOT 2
- Mouse sometimes not visible inside application, can't click anything HOT 6
- Access violation error on "Preferences..." and "Style Configurator..." menus HOT 1
- update the app version HOT 1
- what's the point of doing snap which emulates a program under wine when there is an equivalent in qt? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepad-plus-plus.