Re: [Ubuntu-phone] Ubuntu at MWC in Barcelona

2017-02-24 Thread John Lenton
On 24 February 2017 at 17:28, Matthias Apitz wrote: > snap require 64-bit umm... no? Snaps are supported on at least amd64, arm64, armhf, i386, ppc64el, and s390x. Some of those are not 64 bits. -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net

Re: [Ubuntu-phone] how to popup a message box on screen

2015-12-14 Thread John Lenton
On 9 December 2015 at 10:10, Matthias Apitz wrote: > > I do monitor already the battery with some crontab job. I would like to > make a signal to the device owner (my wife) when the problem of fast > battery drain occurs, i.e. when for example the drainage in a given > interval is unusual high; I

Re: [Ubuntu-phone] Today scope week number

2015-12-02 Thread John Lenton
The first week of the year is the week that contains the first Thursday of the year, but the week itself starts on the Monday of that week. In fact, check this out: for i in 20141228 20141229 20141230 20141231 20150101 20150102; do date "+%G %V %a %F" -d $i; done 2014 52 Sun 2014-12-28 2015 01 Mon

Re: [Ubuntu-phone] If Gmail can, why other apps can't?

2015-09-12 Thread John Lenton
actually, google does now offer push service. Somebody needs to do that work (and host an intermediary server). On 12 September 2015 at 00:44, Rodney Dawes wrote: > No, Google doesn't provide push notifications for Ubuntu (yet anyway). > It's being checked in accounts-polld. > > Push notification

Re: [Ubuntu-phone] power consumption

2015-04-07 Thread John Lenton
On 7 April 2015 at 09:11, Matthias Apitz wrote: > The mentioned tool, I can not use because I run FreeBSD on my laptop; > is the source available? it should be portable to FreeBSD as it only > greps through the ASCII file of the syslog... That comment points you to Colin King's “white” ppa, which

Re: [Ubuntu-phone] using a different build for devel images

2015-03-19 Thread John Lenton
nd i just remember the race detector only works on amd64. Probably not that useful for push. On 19 March 2015 at 16:33, John Lenton wrote: > yep. but i can turn on debug logs looking at developer mode, and do > the releases thing for the race detector. > > On 19 March 2

Re: [Ubuntu-phone] using a different build for devel images

2015-03-19 Thread John Lenton
the particular > version of Ubuntu it's building for. > > On Thu, 2015-03-19 at 16:00 +, John Lenton wrote: >> it's a runtime option ... for the compiler ;) >> >> On 19 March 2015 at 15:10, Rodney Dawes wrote: >> > On Thu, 2015-03-19 at 13:21 +

Re: [Ubuntu-phone] using a different build for devel images

2015-03-19 Thread John Lenton
it's a runtime option ... for the compiler ;) On 19 March 2015 at 15:10, Rodney Dawes wrote: > On Thu, 2015-03-19 at 13:21 +0000, John Lenton wrote: >> On 19 March 2015 at 13:16, Ted Gould wrote: >> > >> > I have this job that I wrote for system-settings to tur

Re: [Ubuntu-phone] using a different build for devel images

2015-03-19 Thread John Lenton
On 19 March 2015 at 13:16, Ted Gould wrote: > > I have this job that I wrote for system-settings to turn on logging when > you're in developer mode. Seb didn't want it in system settings, and I > haven't figured out another place for it to go. I still like it, but it > needs a home. > > https://co

Re: [Ubuntu-phone] using a different build for devel images

2015-03-19 Thread John Lenton
On 19 March 2015 at 12:09, Oliver Grawert wrote: > since pay-ui is a click package you should be able to move it into the > custom tarball and have a specific custom tarball in a specific channel > for your debug version ... > > so you can see there is "a" way, but it will require some work (getti

[Ubuntu-phone] using a different build for devel images

2015-03-19 Thread John Lenton
I'd like to have the push client on devel images use go's race detector. This has performance implications, so it would be disabled for non-devel. Is there an easy way of doing that? Additionally, I'd like to have debug logs in devel, and just info logs out of that. Is there a way of doing that to

Re: [Ubuntu-phone] Taking photos automatically

2015-03-10 Thread John Lenton
http://pastebin.ubuntu.com/10577234/ gcc -Wall -o q ./q.c -lcamera && ./q hth On 10 March 2015 at 19:52, Roman Zonov wrote: > Or hardcore variant. > > Write the simplest QML Camera app, without any controls. Write a script, > which opens your app. And, with phablet-screenshot, take a photo. > >

Re: [Ubuntu-phone] Video LED turns off while focusing the camera

2015-02-13 Thread John Lenton
On 13 February 2015 at 02:44, Zygmunt Krynicki wrote: > Hey. > > I found a bug on the bq RTM image r17. > > Steps to reproduce > > 1 turn on camera application > 2 switch to video recording mode > 3 swipe from the bottom and turn on LED light > 4 tap to focus > 5 light turns off unexpectedly > > C

Re: [Ubuntu-phone] Usage of Online Accounts by windowless processes (account-polld, sync-monitor, scopes...)

2014-12-02 Thread John Lenton
It's up to the individual applications to notify the user (for push, they have ways of knowing push isn't getting through; for polld, it uses the same creds as the app itself). On 2 December 2014 at 13:44, Alberto Mardegan wrote: > On 12/02/2014 03:14 PM, John Lenton wrote: >>

Re: [Ubuntu-phone] Usage of Online Accounts by windowless processes (account-polld, sync-monitor, scopes...)

2014-12-02 Thread John Lenton
both account-polld and ubuntu-push-client talk to OA, but we already don't show UI on failures AFAIK. On 2 December 2014 at 12:01, Alberto Mardegan wrote: > Hi all! > This mail is only relevant for people working on system services using > Online Accounts (OA); if you are an application develop

[Ubuntu-phone] unintelligible text in qt creator wizard

2014-10-20 Thread John Lenton
anybody know why we have ~1pt text in the qt creator widget, and what it says? this is what i mean: http://people.canonical.com/~john/shot.png -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone Mor

Re: [Ubuntu-phone] GMail notifications and account-polld

2014-10-20 Thread John Lenton
On 20 October 2014 10:09, Niklas Wenzel wrote: > > The major issue was related to the line I linked to above. When an account > failed, it never tried to authenticate again. so it would seem. We can fix that then :) As I commented on the MP, I'd rather these separate issues were addressed in sep

Re: [Ubuntu-phone] GMail notifications and account-polld

2014-10-20 Thread John Lenton
this is the glibc bug in debian fwiw: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722075 On 20 October 2014 10:03, John Lenton wrote: > On 20 October 2014 09:54, John Lenton wrote: >> >>> While working on the fix, I found the following issue which is actually an >>

Re: [Ubuntu-phone] GMail notifications and account-polld

2014-10-20 Thread John Lenton
On 20 October 2014 09:54, John Lenton wrote: > >> While working on the fix, I found the following issue which is actually an >> upstream bug in the go language: >> https://bugs.launchpad.net/ubuntu/+source/account-polld/+bug/1383298 > > that looks like a dns failure t

Re: [Ubuntu-phone] GMail notifications and account-polld

2014-10-20 Thread John Lenton
On 20 October 2014 09:38, Niklas Wenzel wrote: > Hi, > > I wanted to give you a short update on my progress. > > I think I fixed the bugs which prevented notifications from being shown for > me. Could someone please review my merge proposal? > https://code.launchpad.net/~nikwen/account-polld/error

Re: [Ubuntu-phone] GMail notifications and account-polld

2014-10-20 Thread John Lenton
ng these things? > I'll keep working on it and will submit the patch with a better commit > message later. The only problem is that account-polld runs in five minute > intervals so debugging is quite time-consuming... > > Thanks again. :) > > Niklas > > Am So, 19. Okt

Re: [Ubuntu-phone] GMail notifications and account-polld

2014-10-19 Thread John Lenton
Care to share what you see going wrong, and what you think will fix it? I'm interested in what you found. The easiest way to build it on the phone is to get the build dependencies through apt, for which yes you need a writeable image. Once you've got that, the easiest (but not quickest) way of bui

Re: [Ubuntu-phone] Push Daemon, Account Notifications and Scopes, Location service

2014-09-17 Thread John Lenton
On 16 September 2014 22:12, Ted Gould wrote: > > Ah, I see. So you're patching Unity Notifications to be aware of the setting > so that all notifications can be filtered by it. that's the intention, as soon as somebody tells me what setting it is I need to look at. -- Mailing list: https://laun

Re: [Ubuntu-phone] Push Daemon, Account Notifications and Scopes, Location service

2014-09-16 Thread John Lenton
On 16 September 2014 19:05, Pat McGowan wrote: > There is a system setting to control this behavior when the phone is locked, > under security and privacy>lock phone could you, or somebody, tell me the gsettings schema and key for this? I can't seem to figure it out. Thanks! -- Mailing list: h

Re: [Ubuntu-phone] Push Daemon, Account Notifications and Scopes, Location service

2014-09-16 Thread John Lenton
(But we will) On 16 Sep 2014 19:29, "Roberto Alsina" wrote: > On Tue, Sep 16, 2014 at 3:05 PM, Pat McGowan > wrote: > >> There is a system setting to control this behavior when the phone is >> locked, under security and privacy>lock phone >> >> > We are not yet using this setting. > > >> On Tue,

Re: [Ubuntu-phone] Testing Translations

2014-09-09 Thread John Lenton
Do you have the appropriate locales installed? On 10 Sep 2014 00:52, "Robert Schroll" wrote: > On Tue, Sep 9, 2014 at 7:35 PM, John Lenton > wrote: > >> $ LC_ALL=es_AR.UTF-8 LANGUAGE=es qmlscene i18n.qml >> qml: Language: es_AR.UTF-8 >> qml: Dummy domain

Re: [Ubuntu-phone] Testing Translations

2014-09-09 Thread John Lenton
$ LC_ALL=es_AR.UTF-8 LANGUAGE=es qmlscene i18n.qml qml: Language: es_AR.UTF-8 qml: Dummy domain set qml: tr: Done qml: dtr: Listo qml: Correct domain set qml: tr: Listo qml: dtr: Listo I don't know jack, but I'd guess different bits of the translation stack look at different bits of the l

Re: [Ubuntu-phone] Ubuntu One SSO Password and App purchases

2014-09-01 Thread John Lenton
On 1 September 2014 20:14, Martin Albisetti wrote: > > In the case of purchasing applications, it's because we want to avoid > kids buying things on their parents phones. If it only required what's > on the phone, it would defeat the purpose. don't make the auth be behind-the-scenes, make the 2fa

Re: [Ubuntu-phone] Ubuntu One SSO Password and App purchases

2014-09-01 Thread John Lenton
I know you said leave 2fa out, but there's no reason we can't make the phone a 2fa device, and do 2fa with it semi-transparently to the user. Is there? On 1 September 2014 19:39, Martin Albisetti wrote: > So, iCloud was hacked somehow. I haven't seen any details as to how, > but reading about peo

Re: [Ubuntu-phone] Friends has vanished!

2014-07-22 Thread John Lenton
On 22 July 2014 11:13, Rasmus Eneman wrote: > Will the webapps ever support notifications? Yes. -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

Re: [Ubuntu-phone] Background services: a problem that we need to face

2014-06-25 Thread John Lenton
On 25 June 2014 12:49, Jamie Strandboge wrote: > > With this example, who writes and is in control of the remote service (eg, IRC > bouncer)? typically when you have a chat client, the chat server interoperates with the push server. In the case of IRC, the people running the IRC server could do e

Re: [Ubuntu-phone] Calling for Click signing

2014-06-18 Thread John Lenton
On 18 June 2014 14:27, Ondrej Kubik wrote: > Idea is to protect from using side load to update existing application with > intruder's version to gain access to application private data or phone's > resources. sorry for being dense, but what's the scenario where you are able to sideload while also

Re: [Ubuntu-phone] Server Scopes and Push notifications update Jun 12, 2014

2014-06-13 Thread John Lenton
On 13 June 2014 13:50, Alejandro J. Cura wrote: > Still, this looks like giving much too flexibility on what to show and > how to annoy the user (sound, haptic feedback!) to apps we don't > trust. > Do we have clear use cases for this added flexibility? the helper receives the push message and, b

Re: [Ubuntu-phone] [Development] Trouble porting to new device HTC Ace

2014-04-22 Thread John Lenton
On Mon, Apr 21, 2014 at 10:35 PM, Adam Pigg wrote: > Ive set up the build environment i think Could you share exactly what you've done so far? (I've got a Desire HD myself, and wouldn't mind trying this myself). -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lis

Re: [Ubuntu-phone] Push Notifications Beta, please help test.

2014-04-08 Thread John Lenton
On Mon, Apr 7, 2014 at 10:07 PM, Robert Park wrote: > On Mon, Apr 7, 2014 at 7:07 AM, Lucio Torre wrote: >> tail -f /home/phablet/.cache/upstart/ubuntu-push-client.log > > 2014/04/07 21:02:48.426549 INFO Connectivity check passed. > 2014/04/07 21:02:48.431982 DEBUG Connection check says: true > 2

Re: [Ubuntu-phone] Push Notifications Beta, please help test.

2014-04-08 Thread John Lenton
On Tue, Apr 8, 2014 at 10:05 AM, Michal Karnicki wrote: > > Does this mean there's a routine 'ping' each minute to keep the connection > alive? yes. The ping length is configurable (the server tells the client what ping time to use), and we're running tests wrt power drain for different ping time

Re: [Ubuntu-phone] Help needed to configure power management for Nexus 4

2014-01-27 Thread John Lenton
As I understand it, no, there isn't. That kind of thing is explicitly forbidden. You will notice that if you switch to a different app your app is also stopped. For the kind of long-lived connection you describe, the "right" way would be to send any notifications through the push notifications ser

Re: [Ubuntu-phone] Catching CPU run-aways on Touch

2013-09-04 Thread John Lenton
On Wed, Sep 4, 2013 at 12:25 PM, Thomas Voß wrote: > > True, but to determine the CPU percentage, we would need to have the > CPU usage of all processes for a certain amount of time available. > That is, essentially parsing all of proc iiuc. I'm hopefully wrong, > but if not, could we resort to an

[Ubuntu-phone] Push notifications

2013-08-05 Thread John Lenton
I'm kicking off end-to-end work on the different push notifications bits. Because I expect there'll be quite a bit of discussion as we move forwards, coordinating the different teams &c, I've created an ad-hoc mailing list on launchpad. Those of you affected and/or interested, please join me in lp: