Git Product home page Git Product logo

Comments (11)

jarun avatar jarun commented on May 14, 2024

Can you try this? https://github.com/jarun/nnn#nnn-blocks-on-opening-files

from nnn.

jarun avatar jarun commented on May 14, 2024

I believe this would solve your problem. So closing the issue. If it's not working, feel free to reopen.

from nnn.

jarun avatar jarun commented on May 14, 2024

Also, just for the sake of reference, could you please leave a note on your OS and DE?

from nnn.

javeq1 avatar javeq1 commented on May 14, 2024

I am already using that because I had the problem of nnn being blocked when opening a file. Now that problem is solved but there is still this strange problem I described you.
I am using Arch Linux with i3wm. I installed nnn using the aur package. Don't know if it is important but I am also using zsh as my shell instead of bash

from nnn.

jarun avatar jarun commented on May 14, 2024

That's strange because there is no special handling of pdf files. Is it only happening in case of evince or other GUI applications too?

from nnn.

jarun avatar jarun commented on May 14, 2024

I have tested on my system with evince, can't reproduce the issue. I ran with xfce4-terminal and terminator.

I'm afraid you'll have to try the following:

  1. check out the latest code from master
  2. check ps output to figure out which process is the parent of the evince process

from nnn.

javeq1 avatar javeq1 commented on May 14, 2024

I installed latest version using nnn-git from the aur and I still have the problem.
Using ps I found out that:

  1. evince parent is "xdg-open";
  2. "xdg-open" parent is nnn.

I am using terminator as a terminal, but I have the same problem with xfce4-terminal.
I also noticed that if I quit nnn without closing the terminal than evince is not killed, even if after that I close the terminal

from nnn.

jarun avatar jarun commented on May 14, 2024

from nnn.

jarun avatar jarun commented on May 14, 2024

I am working on this tonight. 👍

from nnn.

jarun avatar jarun commented on May 14, 2024

Can you please confirm if the patch on master fixes your issue?

from nnn.

javeq1 avatar javeq1 commented on May 14, 2024

I confirm that it's solved! Thank you!

from nnn.

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.