Giter Site home page Giter Site logo

fd dependency checks about ulauncher-file-search HOT 18 OPEN

brpaz avatar brpaz commented on August 26, 2024 4
fd dependency checks

from ulauncher-file-search.

Comments (18)

thob avatar thob commented on August 26, 2024

to chime in here. I'm on MX Linux 19 (Debian). I set alias alias fd=fdfind in bashrc. fd works fine in the cli but not with ulauncher.

from ulauncher-file-search.

cspipaon avatar cspipaon commented on August 26, 2024

Same issue here on Pop!_OS 19.10. I tried setting alias fd=fdfind in bashrc as well without any result in Ulauncher.

from ulauncher-file-search.

liuhaowen478 avatar liuhaowen478 commented on August 26, 2024

For @thob and @cspipaon, what you need is more than aliasing.
Try sudo ln -s /usr/bin/fdfind /usr/bin/fd .

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

hmm, I had it working on Ubuntu 18.04. Then it stopped all of a sudden. I got fd and it works on the CLI but for some reason stopped working in Ulauncher

from ulauncher-file-search.

lunacd avatar lunacd commented on August 26, 2024

It would be helpful it you elaborate on "stopped working."

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

it doesn't find anything, shows 'loading'

from ulauncher-file-search.

lunacd avatar lunacd commented on August 26, 2024

If it worked before and it stopped working, it is most probably because of my patch. But this is indeed weird. You are using Ubuntu so I'm assuming you had both fd and fdfind working in CLI?

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

fd yes, fdfind I don't have

from ulauncher-file-search.

lunacd avatar lunacd commented on August 26, 2024

Well I cannot reproduce this issue. On my machine (Ubuntu 20.04), it worked with either fd or fdfind or both. Can you fire up your python3 and try:

import subprocess
subprocess.check_call(['fd'])

(That is how my patch checks for fd)

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

this works

from ulauncher-file-search.

lunacd avatar lunacd commented on August 26, 2024

This is getting weird and I'm running out of hypothesis. Could you remove and reinstall the plugin?

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

I did that before

from ulauncher-file-search.

lunacd avatar lunacd commented on August 26, 2024

I'm not familiar with python so I really don't see how can something work interactively but not in a script. As a last resort, can you just create a link fdfind to fd and try again?

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

you mean sudo ln -s /usr/bin/fdfind /usr/bin/fd

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

I get ln: failed to create symbolic link '/usr/bin/fd': File exists

from ulauncher-file-search.

lunacd avatar lunacd commented on August 26, 2024

Oh you would flip it, you are creating the missing fdfind.

from ulauncher-file-search.

thob avatar thob commented on August 26, 2024

hmm, I don't have fdfind

from ulauncher-file-search.

lunacd avatar lunacd commented on August 26, 2024

Yes and you are creating it. Read the man page for ln. The second parameter is the link you are creating. That is what I meant by "flip it".

from ulauncher-file-search.

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.