Giter VIP home page Giter VIP logo

Comments (7)

 avatar commented on September 23, 2024

…or just do a

notify-send 'Dropbox' 'Installation finished'

at the end of the script. It can't take too long after all.

from bunsen-pipemenus.

capn-damo avatar capn-damo commented on September 23, 2024

There is already a notification when the install is complete.

The point is that there is nothing displayed while the installation of the dependencies is going on. What is a reasonable time to wait before thinking the script has failed? 3 or 4 secs may be OK, but 30+ secs on an old machine with a slow connection is not acceptable IMO.

from bunsen-pipemenus.

johnraff avatar johnraff commented on September 23, 2024

OK there are already functions safeInstall() and terminalCheck() available in the common file - it might be easy to put something together. I'll have a look.

It can't take too long after all.

That's what I thought to be honest - it's one small package, and I never noticed any appreciable delay, but if damo did then some other users will probably feel uncomfortable too.

from bunsen-pipemenus.

capn-damo avatar capn-damo commented on September 23, 2024

python-gpgme also pulls in several other libs btw.

from bunsen-pipemenus.

johnraff avatar johnraff commented on September 23, 2024

Guess it depends on the state of your system beforehand. When I tried it I don't remember other stuff coming with it. Was it a lot of bytes?

For a while I was wondering if the install section of the script should be rewritten to run in a terminal like the other install pipemenus, but the zenity and notify-send stuff is so built in it feels like a shame to undo all that work. (By Philip I guess.)

Anyway @capn-damo your suggestion looks good. I might try exporting the safeInstall function to the terminal though.

from bunsen-pipemenus.

johnraff avatar johnraff commented on September 23, 2024

Getting stuck because I haven't been able to find any way to test the return value of a command run in a terminal launched as a child of a script.

Any suggestions? The script will need to know if the installation of python-gpgme succeeded before continuing.

Otherwise it might have to be back to gksu, and just put up a "please wait" note or something.

from bunsen-pipemenus.

johnraff avatar johnraff commented on September 23, 2024

Fixed in bunsen-pipemenus (8.6.3-1)
python-gpg is installed in a terminal window.

from bunsen-pipemenus.

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.