Git Product home page Git Product logo

Comments (4)

mmtrt avatar mmtrt commented on May 31, 2024

You can try bind mounting tmp to home/tmp inorder to get this working as the snap does not have access rights to / path so then work with your files from $HOME/tmp.

mkdir $HOME/tmp
sudo mount -obind /tmp $HOME/tmp

from notepad-plus-plus.

erikdemarco avatar erikdemarco commented on May 31, 2024

Hello nice idea. but unfortunately it still doesnt work.

Filezilla send this filepath to notepad++:
'/tmp/file.txt'
not
'$HOME/tmp/file.txt'

so notepad++ still gives this error:
'/tmp/file.txt' cannot be opened. folder '/tmp' does't exist

any other method? or is there any way to install this outside snap environtment?

from notepad-plus-plus.

mmtrt avatar mmtrt commented on May 31, 2024

Other method I would suggest is install npp in system install wine. It would require install wine as per distro method.

from notepad-plus-plus.

ThorsenRune avatar ThorsenRune commented on May 31, 2024

I'm using filezilla to work with my files and set notepad++ as my default editor. When I want to edit file it shows :

z:\tmp\folder\file.txt cannot be opened. folder 'z:\tmp\folder' does't exist

All other text editor doesnt have this error.

Steps I tried:
-) enable 'read/write files on removable storage devices' from permission (it won't save the permission, just roll back to disabled)
-) try installing in classic mode (doesn't work)
sudo snap install notepad-plus-plus --classic
-) force enable permission via terminal: (doesn't work)
sudo snap connect snap-app:removable-media

maybe this is because you don't have 'file-system' plug? Because file that i want to access is in tmp folder

Same problem, lost my morning on this issue. It's a pity because NPP is great. However I found that :
sudo mount --bind /data/$USER /home/$USER/snap/notepad-plus-plus/common/$USER
will do the job, gives long filepaths however

from notepad-plus-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.