[17:31] * mpt wonders what the design for bug 668846 should look like [17:31] bug 668846 in software-center (Ubuntu) "No obvious error when Software Centre can't install due to Synaptic being open" [Low,Confirmed] https://launchpad.net/bugs/668846 [17:34] “Software Updater can’t continue until Synaptic exits.” ( Cancel ) ( Wait ) [17:35] ...can’t install or remove software until… [17:35] “Ubuntu Software Center can’t install or remove software until apt-get exits.” [17:37] that could work ... probably only after a delay, though, so it doesn't come up because of an incidental check for updates [17:37] and auto-close if the problem solves itself [17:37] * mpt starts sketching [17:45] synaptic is crazy thought in between finishing applying changes and reloading cache it intermittedly releases lock & acquires it again. If one happens to run apt-get update at that time the two deadlock =) [17:45] * xnox used to use to much CLI and GUI together. [17:46] mpt: are the earlier "Web login" comments, about wifi hot-spots that ask you for email-address and such? [17:46] * xnox has technical way to implement it. I was thinking to publish it as an app. [17:48] xnox, yes [17:48] xnox, https://wiki.ubuntu.com/Networking#captive-portal [17:51] mpt: is anybody coding that? [17:52] e.g. in the installer we already are doing connectivity check against a known document http://start.ubuntu.com/connectivity-check.html [17:52] which should have md5sum 4589f42e1546aa47ca181e5d949d310b [17:52] xnox, I did that design only yesterday, so I doubt anyone's started yet. :-) It's part of , but the work items are vague about who would implement it. [17:53] Ooooo. [17:54] xnox, so that installer code could become part of the network-manager implementation? [17:54] yeah. [17:54] (Probably needs porting from Python to C or something, right?) [17:55] Lorem ipsum, ha [17:55] Somebody wasn't trying to save bytes there [17:55] To save the world's bandwidth, we should run a collision contest to find a shorter string that has the same md5sum! [17:58] =)))))))))) juju deploy md5sumcolider [17:58] that's awesome idea, apart from other people might be checking other checksums, or byte by byte. [17:58] [ "`wget -q http://start.ubuntu.com/connectivity-check.html -O - | md5sum`" = "4589f42e1546aa47ca181e5d949d310b -" ] && notify-send "Full internet connection" || notify-send "Offline or captive portal" [17:59] mpt: ^ that's a one liner implementation for the check. Obviously it needs to be run / triggered on becoming online. [18:00] mpt: python / c / any language can grab a file of internets & check it's checksum ;-) [18:03] "Get me one file of your finest internets. Neat." [18:03] ... and i shall check if you gave me a rotten one ;-) [18:06] mpt: the most silly thing about captive portals, is that some of them don't require one to login at all - just open it & look at advertisement. E.g. Virgin WiFi on the underground, after the first login, simply auto-redirects you to a ad. [18:06] So one can try opening any page in the background to see if it's enough to establish connection ;-) [18:07] xnox, yes. In that case this dialog would open and then close itself after 30 seconds ... which is probably too long [18:08] mpt: it's reasonable to try this hack without pooping anything up, and if it fails then poop up the OpenZone dialog. [18:09] xnox, as in make two HTTP requests and discard the first? [18:09] That could work. [18:09] yeah. [18:10] we may need to store state (some of these dialogs show remaining paid for time) but that can be future work. [18:11] Now that I think about it, there are also some portals that let you browse a few sites, but you have to log in to get the Web in general [18:11] What if those few sites are actually what you want? [18:12] the dialog would just stay open, unclosable [18:12] Maybe we want a "Cancel" button as well as the "Disconnect" button [18:13] The problem being that they'd do the same thing 99% of the time [18:13] the point is that we should hide it, but keep a launcher icon in the launcher or the menu item in the network indicator to get back to the portal. [18:13] (not just quit and discard) [18:14] we don't know if anyone wants to go back to them or not, but if they do, they should be able to, as long as they are still connected to that network.