/srv/irclogs.ubuntu.com/2015/12/14/#ubuntu-touch.txt

=== xiinotulp is now known as plutoniix
MarconMsturmflut: are u there01:27
MarconM?01:27
dholbachgood morning07:29
hcintlHaven't found tutorial how to switch Ubuntu phone to another distro. Is Ubuntu phone closed or open? Have anyone been able to install another distro into Ubuntu phone?07:47
dholbachhcintl: I don't know how many other distros support phones...07:49
sturmfluthcintl: Which other distro would you want to install?07:50
hcintlWould liked to your question after you answer my question. sturmflut07:51
sturmfluthcintl: There are no other GNU/Linux distributions you could install on an Ubuntu phone. You might want to ask Fedora, OpenSUSE, Debian, Arch, Gentoo, etc. when they are going to support phones.07:55
hcintlI want a smartphone without built-in malwares. Seems  most GNU/Linux distros don't have pre-installed malwares... besides few ones like Ubuntu.08:01
hcintlsturmflut:08:01
RMJWhat phone have you got? you can install SailfishOS on Nexus 4 and 5 now I think08:05
RMJOn Ubuntu touch anyone know how the Music app decides the album cover to display?08:07
RMJActually I think I mean the picture in the first page for the Artist08:08
sturmfluthcintl: Please inform yourself about this "Malware" you're accusing us of, and again: which other Linux distribution would you want to install on a phone? A phone is not a PC, you can't just install anything you want.08:30
hcintlhttps://www.youtube.com/watch?v=CP8CNp-vksc sturmflut08:32
sturmfluthcintl: In this case you might want to ask Stallman what Linux distribution he suggests for a phone08:35
=== Mirv__ is now known as Mirv
=== tvoss is now known as tvoss|errands
hcintlI'm glad IF you watched the whole video I linked. And that you agree there are malware(s) into Ubuntu. sturmflut08:41
sturmfluthcintl: I won't agree with anything because a random video on the Internet says so, thanks. Stallmann is wrong and the phone uses different software anyways, what he says does not even apply to the phone. That's what I meant with "please inform yourself". I am sure I can find enough YouTube videos about UFOs, that doesn't mean UFOs exist.08:44
hcintlCan you prove that Ubuntu doesn't have malwares pre-installed? sturmflut08:49
sturmfluthcintl: This is pointless, all discussions about this ended three years ago. If you don't want to use Ubuntu, then please do so, and if you want a phone with something else than Ubuntu, then please talk to the people who are working on it. It's certainly not the job of an "#ubuntu-phone" IRC channel to tell you how to NOT get an Ubuntu phone.08:56
sturmfluthcintl: The KDE guys are working on something, https://dot.kde.org/2015/07/25/plasma-mobile-free-mobile-platform . Maybe that's a possibility.08:57
jibelpitti, bonjour09:02
jibelpitti, could you have a look at bug 1524674? could it be a problem with systemd?09:03
ubot5bug 1524674 in Canonical System Image "Set Time & Date manually doesn't persist between reboots" [High,Confirmed] https://launchpad.net/bugs/152467409:03
pittijibel: phones don't even use systemd (they still use upstart), but maybe something in timedated09:15
pitti"timedatectl set-ntp 1" -> I'm not sure what this actually does under upstart, hang on09:16
pittioh, it just blocks/reenables ntpdate09:16
jibelpitti, do you know where the system gets its time from on boot?09:18
pittijibel: that should be /etc/init/hwclock.conf on boot (HW → system) and /etc/init/hwclock-save.conf on shutdown (saves system clock to hw clock)09:19
pittijibel: but on boot you additionally get ntpdate normally, but I think the reporter disabled that09:19
jibelpitti, right the problem is only when you set the time manually in system-settings09:20
jibelpitti, hwclock.conf calls hwclock with --systz which according to the man page does not read the Hardware Clock nor set the System Clock09:21
pittioh, ok09:22
pittijibel: right, so this only seems to set the time zone then09:22
pittijibel: I figure the kernel already ought to set the system time from the hw time09:22
jibelpitti, the kernel is supposed to sync hw -> sys clock on boot, which it does according to dmesg but in the end the sys clock is just wrong09:22
pittijibel: OOI, how does that show in dmesg? I have this on my laptop: [    0.145396] RTC time:  5:45:49, date: 12/14/1509:23
pitti(from this morning's boot)09:23
jibel[    2.649379] mt-rtc mt-rtc: setting system clock to 2015-12-14 02:02:41 UTC (1450058561)09:23
jibelpitti, ^09:23
jibelit's from a reboot right after settings the clock to 03:00:00UTC+109:24
pittiah, and that's the correct time I figure09:24
jibelyes09:24
pittijibel: could you try disabling /etc/init/hwclick.conf, to check if that somehow interferes?09:25
jibelok09:25
pittijibel: or add a "date" and "hwclock" call before and after the --systz call to compare?09:25
=== tvoss|errands is now known as tvoss
jibeloh, I added an override09:26
jibelpitti, disabling hwclock.conf doesn't make any difference, sys clock is still incorrect.09:29
ondraMyself5 hi, now around09:31
jibelpitti, before the call to hwclock ... the system clock is incorrect, and I don't see the value after09:34
jibelecho after is not excuted09:34
pittijibel: ok, so the kernel already sets the system clock incorrectly, it's not due to the userspace scripts09:36
pittijibel: sorry for the wrong info about the hwclock job, I've learned something new today :)09:37
jibelpitti, me too and the man page is a bit misleading because it starts with "This  is  an alternate to the --hctosys function " which set the System Clock from the Hardware Clock excepted that it doesn't :)09:39
RMJanyone know how the Music app decides the picture to display for the artist? I've got a completely wrong artist picture for one09:48
popeyRMJ, it's actually the thumbnailer which does that.09:54
RMJHi Popey, thx, not exactly sure how that works09:59
popeymagic :)09:59
RMJlol09:59
RMJok, so something went wrong in the magic... :)09:59
RMJI have an album I converted from a record to digital, an 80's hardcore punk band and the picture that shows up for the artist is the drifters!! lol10:01
popeyhah10:02
popeyyes, some magic missing there10:02
popeyis the metadata in the file correct?10:02
popeyid3tag10:02
RMJI'll have to check, the correct album cover comes up when you select the artist, what's the best program to check?10:04
RMJI'll have to come back to you, end of the work day here and I don't want to miss my ferry, thx for the suggestion10:05
JamesTaitGood morning all; happy Monday, and happy Monkey Day! 😃10:07
=== dandrader is now known as dandrader|bbl
=== M-davidar is now known as davidar
=== _salem is now known as salem_
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
rvrboiko: Hey. Do you know what "On" means here, in telephony-service? -> mCachedBody = QString::fromUtf8(C::gettext("On [%1]")).arg(account->displayName());13:41
rvrboiko: On = Active, On = Using... ?13:41
boikorvr: that the call/message (not sure where this is in the code) was made on a given simcard13:42
boikorvr: Using13:42
rvrboiko: Ok13:42
seb128looks like that could use a translator comment13:43
boikoyep13:43
boikosalem_: ^13:43
salem_rvr, that's the sim card label13:43
rvrsalem_: Yeah, I remember to test that, now know the context.13:44
rvrI was translating the string to Spanish13:44
boikosalem_: can you add a translator comment there?13:44
salem_seb128, yes, that really needs a translator comment.13:44
salem_boiko, sure13:44
zzarrI got 8260 points in Octain Benchmark today on my Ubuntu powered Meizu MX4 :)14:15
mhall119oSoMoN: ping, after a recent update on wily, webbrowser-app crashed on launch and then I get all kinds of apparmor denial messages14:21
oSoMoNmhall119, can you please file a bug at https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+filebug with details?14:23
mhall119oSoMoN: might it be that I hit https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1508054 ?14:25
ubot5Ubuntu bug 1508054 in webbrowser-app (Ubuntu) "[desktop] Crashes on startup" [Critical,Fix released]14:25
oSoMoNmhall119, could be, what version of webbrowser-app do you have?14:26
mhall1190.23+15.10.20151016-0ubuntu114:26
mhall119on wily desktop14:26
mhall119yeah, looks like it: This bug was fixed in the package webbrowser-app - 0.23+15.10.20151022.1-0ubuntu114:27
oSoMoNmhall119, indeed, could very well be that issue14:27
mhall119oSoMoN: will that be backported to the overlay PPA for wily?14:28
oSoMoNmhall119, no, wily is not a supported target for the overlay PPA14:28
mhall119oSoMoN: what is the best source for me to get updates to the browser then?14:30
oSoMoNmhall119, xenial :)14:31
corn_fieldoSoMoN, webbrowser app crashes on xenial14:33
corn_fieldoSoMoN, with nouveau drivers14:34
lotus|xenialcorn_field: im on ati and works like a charm here14:34
corn_fieldlotus|xenial, nice, not so much luck with nouveau :(14:35
oSoMoNcorn_field, can you please file a bug with ubuntu-bug ?14:35
corn_fieldoSoMoN, sure14:39
dobeyjgdx: hey. you know much about security/privacy panel in settings?14:56
jgdxdobey, some, not much. What's up?14:57
dobeyjgdx: any idea why it would be blank?14:58
jgdxdobey, what does  .cache/upstart/application-legacy-ubuntu-system-settings-.log say?14:59
dobeyjgdx: the "App Permissions" side anyway14:59
jgdxdobey, maybe ken can help you with that when he comes along. seb128 might also know (iirc)14:59
dobeyoh hrmm14:59
dobeyit's not actually loading the page because apparently there's a missing }14:59
dobeyoh wow, i am that stupid15:00
jnxdHas anyone tried the Ubuntu touch tweak tool?15:40
mhall119well oSoMoN, that ends my experiment of using the ubuntu browser as my primary desktop browser :(15:52
oSoMoNmhall119, yeah, I know this is not a great situation, but triple-landing (to vivid,wily,xenial) is not an option when filing landing requests, and the overlay PPA is not officially supported on desktop anyway15:54
oSoMoNmhall119, I could probably build the latest version for wily in a PPA of mine, if you’d be interested in using it15:54
mterryogra_, what component decides whether the phone is available over mtp (based on locked-screen-or-not)?15:55
ogra_mterry, mtp-server15:56
ogra_(source: mtp)15:56
ogra_it is built in ... (like in adbd)15:57
mterryogra_, thanks -- investigating a possible mistake -- it seems to give mtp access after using the emergency dialer.  Maybe unity8 is telling it it's OK prematurely...15:57
ogra_well, it checks the lock-screen state15:58
ogra_via a dbus call iirc15:58
mterryogra_, right, I suspect it's a u8 error15:58
mterryogra_, just wanted to see exactly what it did15:58
mhall119oSoMoN: I am still interested in using it (and reporting bugs, maybe a fix eventually)15:59
mhall119I could probably just run it from trunk15:59
oSoMoNmhall119, good, I’ll put it on my list to provide an up-to-date build for wily in a PPA, and will ping you once I have it ready16:00
mhall119thank you sir :)16:00
mterryogra_, it's one-way by design?  Like, if we ever unlock once, we expose mtp forever?16:01
mterryogra_, I guess that makes sense.  I think the bug is that u8 is every-so-briefly saying it's unlocked before locking again when transitioning from emergency dialer back to lock screen16:02
ogra_mterry, not sure how mtp handles it, it should persist for the duration of the connection16:02
ogra_at least that was how it was planned ...16:02
mterryogra_, looking at the code, it only ever acts on it being unlocked.  Doesn't do anything if we lock again16:02
mterryi.e. it doesn't shut down the connection in that case16:03
mterryWhich is probably what we want16:03
mterry..16:03
mterryBut I should fix u8 reporting being unlocked16:03
ogra_implementation was either done by cyphermox or by mandel16:06
* ogra_ hasnt touched mtp much ... i tend to stay away from C++ if i can :) 16:06
mterryogra_, :)16:07
mterryogra_, thanks for pointers16:07
ogra_you should only approve the connection once16:07
ogra_locking the phone should not drop it16:07
ogra_but u8 shouldnt automatically send an unlock event for the emergency dialer16:08
mcphailI think I recall someone mentioning the gallery app was going to be remade or replaced. Do we have an ETA for that? I still find the current one unusable (although that may be partially due to media scanner)16:18
sturmflutmcphail: I saw a bug report that the gallery requests each thumbnail multiple times, no idea how much better it will perform if that is fixed16:19
mcphailsturmflut: I would imagine it will be a lot better. The gallery app only seems to show me spinny-things these days16:20
Kowakhello guys i'm trying to port ubunto touch for Motorola Moto E 2014 but i'm stuck in kernel panic anyone can help?17:06
* mcphail wonders how many of the annoying, intermittent UI bugs (browser scroll jumping, dodgy proximity sensor in calls etc) are caused by the dbus-induced micropauses. Would be good to get this fixed...17:27
Abhinav@ondra, did you have idea about these errors: http://pastebin.com/vTCi3MPD on honami?17:40
Abhinavdo you*17:40
ondraAbhinav nope, did not see those17:40
Abhinavondra, could it be environment?17:41
ondraAbhinav Myself5 this looks strange, since this part of code should not be device specific17:43
ondrawhere did you get rest of the tree from?17:43
Abhinav@ondra https://github.com/ubuntu-sony/17:43
Abhinavdevice: leo, board: shinano17:43
ondradid you try to compile mako? just to make sure your tree works17:43
Abhinavalright, will do it right now17:43
lotuspsychjehttp://news.softpedia.com/news/oneplus-one-ubuntu-touch-developer-is-helping-other-projects-to-do-the-same-497578.shtml17:46
Abhinavmako seems to have other errors before reaching that17:46
Abhinavhttp://pastebin.com/JGb6GZwW @ondra17:47
=== dandrader is now known as dandrader|afk
Abhinavi will just add the header to fix the compilation for now17:50
ondraAbhinav why don't use use phablet tree + sony repos, no need to debug broken tree if there is working tree17:53
Abhinav@ondra could do that but those errors do not seem device specific and the leo tree and kernel have same changes as honami so its weird that honami builds but leo doesn't. Should I try a honami build just to be sure?17:57
=== alan_g is now known as alan_g|EOD
ondraAbhinav yeah I'd say so, almost mako should build from same tree without any problems17:59
Abhinav@ondra just to be sure, branch is personal/w-ondra/phablet-5.1.1_r5, right?18:19
ondraAbhinav yep18:23
Abhinavhmm...something is definitely weird. There are some obvious sepolicy errors during honami build. I mean they are easy to fix but how does it compile for you?18:23
Abhinavanyway, i fixed it and i am continuing building @ondra18:24
Abhinavand got the same errors18:24
Abhinavon honami too18:24
Abhinavas the ones on leo18:25
sturmflutmterry: That MTP security bug makes me think that mabye the community could be asked to find security holes like these. sil2100 already announced that future "Landing team" e-mails will be used to tell the community which parts of the phone need more attention, could this be the first task?18:26
ondraAbhinav hmm, so I have definitely building honami18:26
mterrysturmflut, that actually was found by a community member -- the one that found the 1969-locks-me-out-of-my-phone bug  :)18:27
mterrysturmflut, but the idea of asking people to attack the lock screen isn't bad18:27
sturmflutI wish there was a way to protect the bootloader, because at the moment you can still just power the phone into Fastboot mode, boot the ADB-enabled recovery and then you have full access18:29
Kowaknow my ubuntu touch port for moto-e can boot. but soo laggy18:31
corn_fieldKowak, does the wifi work?18:32
Kowakcorn_field, wifi and ril dont works18:35
Kowakseems adbd dont work too18:36
corn_fieldKowak, thanks18:37
VishnudevGuys how to create click pakage of for existing commandline application?20:01
lotuspsychjeinteresting question20:01
Vishnudevis there any online tool or something for that?20:01
mcphailVishnudev: there isn't an easy solution for that20:02
VishnudevWhy so?20:02
mcphailVishnudev: it isn't possible to spawn the terminal app from a click package, as far as I am aware20:03
VishnudevI heard some where that we can easly convert deb package to click20:03
mcphailVishnudev: unless you bundled your own terminal20:03
mcphailVishnudev: what application is it?20:03
VishnudevTerminal python/npm pap?20:03
Vishnudev*app20:04
mcphailVishnudev: if you want a user to be able to ineract with it through the terminal, it will not work. If, however, it creates something like a web interface, it would be possible20:05
VishnudevYes I am trying to do that only. creating an HTML5 interface to existing python cli app20:06
Vishnudevwill that be possible?20:06
mcphailVishnudev: that is not so hard, then. But you may need to bundle a lot of python in the click to make sure it works. And the user experience may be a little "odd"20:07
Vishnudevhmm20:07
mcphailVishnudev: have a look at my "syncthing" app in the store, which runs in the background and has a web interface. Hardly a good option, but it works20:07
VishnudevLet me check that20:08
Vishnudevlink?20:08
dobeyVishnudev: you'd need to package a stripped down version of the terminal app, where it only runs the app you want to package20:08
Vishnudevoh20:09
Vishnudevhow to do that?20:09
Vishnudevdo I need to bundle whole python for it?20:09
dobeyand if it's python/node/etc, you probably will need to also package the interpreter and any libs you need in the package too20:09
dobeyyes20:09
mcphailVishnudev: https://uappexplorer.com/app/syncthing.njmcphail , and have a look at https://uappexplorer.com/app/bg1.njmcphail where I bundle a lot of python20:10
dobeypython isn't a supported sdk target, so there are no guarantees about api compatibility or such20:10
VishnudevThats why I hate click20:10
dobeythat has nothing to do with click20:11
VishnudevWe have to bundle python for using a small python utility :(20:11
dobeythat's python's fault20:12
dobeyinterpreted languages require interpreters20:13
VishnudevI am installing syncthing20:13
mcphailVishnudev: prepare to be underwhelmed :)20:13
VishnudevMichail I dint get what this pap does,though20:14
mcphailVishnudev: the first time you launch it it will close after setting up config. The second time you launch it it will stay in the background and open a web interface at http://127.0.0.1:8384 where the user can interact with it20:15
mcphailVishnudev: similar to the way you say you want your users to interact20:16
VishnudevCool. gsync is,not opening .20:19
Vishnudevbut the URL is working from browser20:20
mcphailVishnudev: it is rather messy, unfortunately20:20
Vishnudevis this app open source?20:20
mcphailVishnudev: of course. It is just syncthing, wrapped in a click package20:20
mcphailVishnudev: do patches or anything20:20
mcphail*no patches20:21
VishnudevActually I am not familiar with syncthing20:21
Vishnudevwhat is it?20:21
mcphailVishnudev: just a service like dropbox, but not using a central server. You host it on your own machines20:22
Vishnudevclick tool or something?20:22
mcphailhttps://syncthing.net/20:22
VishnudevHmm20:22
Vishnudevthank you20:23
Myself5ondra, what OS do you build on?20:24
mcphailVishnudev: I can put up a tarball used to build the click package, if you want?20:24
VishnudevOh its basically running syncthing web ui20:24
mcphailVishnudev: yes - your python app can do the same20:24
Myself5also, did you install any special repos packages despite the ones mentioned in the Ubuntu port guide?20:25
VishnudevNo20:25
mcphailVishnudev: I'm not aware of any click packages which spawn a terminal for interaction, however20:25
Vishnudevcool that will be helpful. can you please mail me if its not that big20:26
Vishnudevvishnudev.kpm@gmail.com20:27
mcphailVishnudev: http://themcphails.uk/stc.tar.xz20:29
mcphailVishnudev: it is a very simple click package structure, but enough to launch a process in the background20:32
VishnudevThank you .,thank you verymuch,20:33
mcphailVishnudev: bundling python is less trivial, but not difficult20:34
* mcphail thinks it would be good if uappexplorer gave the option to directly download the .click20:36
beunoit can't, you need to be authenticated in order to download20:37
mcphailbeuno: shame. It would be useful in situations like this, as it is trivial to convert the click back into a working directory structure20:38
VishnudevWhat about snaps?20:40
mcphailVishnudev: they are similar to clicks. Not ready for phone yet, though20:40
Vishnudevcan we install it in the current ubuntu touch?20:41
mcphaildon't think so20:41
Vishnudevhmm20:41
mcphailVishnudev: on the roadmap, though20:41
mcphailVishnudev: (at least on Ubuntu Core) snaps seem better suited to command-line apps than clicks, as they can be called directly from the terminal20:43
mcphailVishnudev: there are still a lot of issues with that, though, due to the confinement model etc20:44
ljpmcphail: UI issues may very well be caused by blocking dbus calls21:18
mcphailljp: coincidentally, just had another issue with the proximity sensor as you posted that. Harrumph...21:20
mcphailljp: it is like the corrsponding "off" events to "on" events get missed at times21:21
=== brian is now known as Guest26903
mterryjdstrand, got a sec to talk about brute force attacks on the phone lock screen?21:45
jdstrandmterry: is it an actual sec or longer? I ask cause if longer and if you can wait, pinging me in the morning would work better for me21:54
mterryjdstrand, will ping in morning!21:54
jdstrandcool, thanks! :)21:54
* ljp wonders what is using proximity22:05

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!