Git Product home page Git Product logo

Comments (4)

avlec avatar avlec commented on July 20, 2024

This is the behaviour that is described in the man page.

Any changes to the internal filelist (such as deleting a file or it being pruned for being unloadable) will be saved to file when feh exits. You can add files to filelists by specifying them on the command line when also specifying the list.

from feh.

derf avatar derf commented on July 20, 2024

Indeed, though this issue makes me question whether this is sensible behaviour. I can understand that users would expect a filelist to remain unchanged unless they perform explicit actions to alter it.

I'll flag this as a bug for now and see how I can improve this.

from feh.

avlec avatar avlec commented on July 20, 2024

One option that comes to mind that preserves existing behaviour is to chmod the file to remove write access. However, I am not sure that would be an acceptable solution

from feh.

kiteloopdesign avatar kiteloopdesign commented on July 20, 2024

derf, avlec, thanks for the answers

IMHO, it's not a sensible behaviour for any tool to alter a file in this way. Even more being the case of a filelist, which is just a means of providing the images to feh. This is, a user may expect an image browser/editor to make changes to the images, but not to a filelist.

Not sure why you provide this behaviour that avlec quoted on his reply, but, if you want to maintain it, I would suggest to break out the -f in two different options. That or I would require a new "--allowlistedit" flag

from feh.

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.