Giter Club home page Giter Club logo

Comments (4)

Canop avatar Canop commented on May 21, 2024 1

This makes sense.

I won't do it immediately as there's a non zero probability the crossterm experiment will make the script useless but I keep the issue around for later.

from broot.

Canop avatar Canop commented on May 21, 2024

A problem with using /usr/share: you typically need to be super user to write there.

As the goal is just to have a piece of configuration, a 10 lines shell function which could have been directly in the .bashrc (or equivalent) file, this looks overly constraining for the user.

from broot.

Canop avatar Canop commented on May 21, 2024

When broot detects the script isn't here, it proposes to install it.

It could propose another option: to relaunch with appropriate rights and with an argument giving the path in which to install the launcher.

Such an option could be used by installers too.

from broot.

weilbith avatar weilbith commented on May 21, 2024

If I got this correctly, your problem right now is that you want to use /usr/share/ which is protected. So if this is the case, why don't simply use the next list entry in $XDG_DATA_DIRS? Usually this should be then $XDG_DATA_HOME of the user? If you still want to make it precise, ask the user in a dialog if he is fine with that, or if he wants to rerun it with root permissions. What do you think?

from broot.

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.