Comments (7)
β¦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.
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.
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.
python-gpgme
also pulls in several other libs btw.
from bunsen-pipemenus.
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.
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.
Fixed in bunsen-pipemenus (8.6.3-1)
python-gpg is installed in a terminal window.
from bunsen-pipemenus.
Related Issues (20)
- Package not found: Google chrome stable HOT 2
- "Recent Files" pipemenu nil value error and "Clear Recent Files" not working. HOT 9
- Edit to bl-tint2-pipemenu HOT 1
- bl-tint2-pipemenu when running default tint2 does not find config file to edit HOT 5
- ssh-pipemenu doesnt list the remote servers HOT 3
- Menu capitalization HOT 1
- Change some dependencies to recommends? HOT 8
- bl-multimedia-pipemenu: change labelling of smplayer as "Gnome mplayer" HOT 12
- bl-multimedia-pipemenu remove "volti" entry, do not add "volumeicon"? HOT 2
- pipemenu's "Install" screen doesn't close HOT 8
- Scripts called from bunsen-utilities: test before adding menu item? HOT 1
- Remove package yad and packages bunsen-pipemenus and bunsen-untilities are removed too. HOT 2
- bl-kb-pipemenu can be speeded up HOT 1
- bl-compositor: needs to deal with '-h/--help' parameters HOT 20
- bl-recent-files-pipemenu: command truncated in some cases HOT 1
- bl-x-www-browser-pipemenu: select default browser should exit with a message... HOT 2
- bl-x-www-browser-pipemenu: there is no package called "firefox" in Debian Jessie HOT 2
- Having issues with bunsen pipemenus
- bl-recent-files-pipemenu: adapt script and package to use Lua 5.3 in Stretch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bunsen-pipemenus.