[00:00] just rejoining [00:09] (Sticker, 512x512) https://irc.ubports.com/5d2x1gVh/file_4133 [00:10] (Document) https://irc.ubports.com/w05GwaTm/file_4134.mp4 [05:57] @Flohack, I found him,but he don't speak english,he is in the chinese ubports group === lotuspsychje_ is now known as lotuspsychje [06:06] Nice work. You found the person who ported ubports to those devices? [06:07] Now... What do we do? I guess we need you to be a bridge? :) [06:08] Im going to sleep... Don't lose this champion! [06:33] @shen feng, in Telegram or other IM? [06:34] @NotKit, in telegram [06:34] @NotKit, in TG [06:34] (Sticker, 360x512) https://irc.ubports.com/QdZwT66l/file_4135 [06:34] @kuailexs, 😀 [08:55] is it possible to change the global GRID_UNIT_PX without needing a reboot? [08:56] @Javacookies, try restarting unity8 [08:57] @shen feng, Ok no problem, but good that we have him. Can you ask him if he is aware of latest halium porting guide? [09:03] @vanyasem, that worked! thanks … but I wonder how it is done when connected to a monitor, it doesn't need the restart of Unity8 [09:30] It's too long since I touched Unity8 for me to remember how it responds. But, in general, Mir clients can reconfigure the display. In particular the 'mirout' example provides a command-line to do it. [10:03] @Flohack, Yes, I know, but Halium-based workspaces have not progressed [10:16] @kuailexs, But we can prepare everything with the Halium reference rootfs and actually ubuntu touch has already modified scripts and initrd to boot with halium. So he should follow the porting guide, and also add the device to the Halium github, tracking hardware status. Like here myself: https://github.com/Halium/projectmanagement/issues/41 [10:25] ok, i keep trying [10:37] validovic was added by: validovic [10:38] Hello, I need to port my phone, is android phone Gionee P5W, can I port it? [10:53] @validovic, Porting to a new phone needs a significant effort based on skills, knowledge and access to phone specific driver code. … From experience with similar questions being asked in the past I think that if you already had the skills and knowledge you'd ask the question differently. While we can all learn skills and knowledge you are looking many months of hard and frustrating work. (And that's if the manufacturer makes the drivers [10:53] available - which is often not the case.) [11:06] I can learn if you help me where I need start. [11:11] @validovic, The first thing you need to get working on your phone is https://halium.org. There's documentation there on how to get started. I have no personal knowledge of that project. … Although the current UPports phone images are not Hallium based that is changing and they will be by the time you are ready for the next step. [11:14] Thank you so much Mr.@alan_griffiths :D I start with it now [11:27] GagareenTelegram was added by: GagareenTelegram [11:28] @GagareenTelegram, welcome Александр [11:28] @alan_griffiths, @alan_griffiths what's your opinion how many developers and man hours required to make unity 8 production ready? [11:29] Or another way if canonical would have continued with development do you think at least by 20.04 they would have complete convergence? [11:31] Convergence is working [11:32] What is your definition of complete? [11:32] @technicalbird, If they had continued with the level of investment they had desktop would be working for 18.04 as well as the phone is. There would still be some issues with convergence because apps and toolkits would still need work to support multiple modes. [11:34] What I like about the convergence is the same user experience (code base) on both desktop and Mobile! [11:35] @alan_griffiths, If they were so close to achieve the convergence why did they drop it? ( I hope this you can answer in public). [11:36] It wasn't making money... This is public [11:36] @technicalbird, It has been answered in public: it was expensive but not profitable. [11:37] How can they expect beta software to be profitable? [11:37] First make it usable and then think of profit.. isn't that the thumb rule? [11:40] Maybe it was costing more then expected!? [11:42] Hey is it possible to take an picture from CLI on UT ? Like fswebcam (not working) or are there any python module to make this ? Thanks :) [11:47] @DiogoConstantino, That's the "sunk cost" fallacy. Money already spent is gone. The cost to complete was (and is) relatively low. … But where's the market that would recover even that cost? (If Canonical were very wrong, don't you think another business else would have picked up the code and run with it?) [11:47] Someone should... [11:48] easy to say when it's not your money 😉 [11:54] I put some of mine... I buyed almost all the "oficial" devices, I donated to Canonical (specifically to convergence) [11:54] I did my part on the way that makes sense for someone like me [11:54] I actually got more than one unit of those oficial devices [11:55] 2 BQ E4.5, 1 BQ E5, 1 BQ M10, 1 Meizu MX Pro5 [11:56] Right, which is great! But remember most of that goes to the vendors and what percentage canonical got probably wasn't enough across the board for it to be sustainable long term. [11:56] I also donated to Canonical [11:56] we can donate (remember the Ubuntu download screen) [11:56] To Canonical or Ubuntu? they are different [11:57] It is a beautiful vision, and credit to you and Mark Shuttleworth for investing in it. But the "they will come" market failed to materialize. [11:57] @DanChapman my point is that you could select for what you were giving the money and I made sure that part of it was going for convergence [11:57] and I did it severall times [11:58] and I would have done more [11:59] I actually already donated severall hundred do ubports too [12:01] hopefully we can reach our goals together [12:05] Again I think that's great, 😊 but i think relying on donations doesn't really make it viable for another business looking for profit to just pick it up and run with it. I think it continuing as a community effort backed by the foundation gives it the best chance tbh. [12:06] Business will have to bet on different models for sure [12:06] still many avenues haven't been attempted [12:08] (Sticker, 507x512) https://irc.ubports.com/ZeNeG71J/file_4136 [12:22] @GagareenTelegram, Hello Aleksander and welcome! I'm part of the UBports welcoming team. … To help you get started, please take a look right away at our newcomers welcome page (https://ubports.com/page/telegram-welcome) and thanks again for joining us! :) [12:40] @DanChapman, +1 … In addition, having a foundation backed community project doesn't prevent a (hypothetical) business making a profit using this work. [12:41] I think it would be awesome [12:41] A (hypothetical) business using UbuntuTouch would need to cover their support obligations. E.g. they would need to employ (or contract) developers to work on the code. And it should be a no-brainer for them to contribute back to the project rather than maintain a fork. (There's also an obvious pool from which they might recruit said developers.) … However, it is hard to convice investors of the value of such a proposal. And for good reason [12:41] such a business "own"? The hardware they sell, perhaps, but not the GPL code that differentiates it from, say, an Android version of the same product. [12:43] What about Red Hat, what do they own? [12:43] trademark [12:43] and toons of expertise [12:44] "And it should be a no-brainer for them to contribute back to the project rather than maintain a fork. " and what would stop them from rebranding the whole thing into POP!Touch? [12:44] nothing [12:45] My point is that there are successful companies built around open source. [12:45] plenty [12:45] (Document) https://irc.ubports.com/Z65C1GAt/file_4137.mp4 [12:45] lol [12:45] nice spotted [12:54] @alan_griffiths, wow. nice. it sounds like maybe you read book 'why smart people make dumb money decisions and how to stop it" that was a really intereasting read for me... [12:55] @alan_griffiths, there are also reasons why this happened and in this way canonical could have done better [12:55] how can I start browser from console to attach it to gdb? [12:56] @DiogoConstantino, this is where this group and its members could be interesting. [12:57] @DanChapman, Even worse, I can imagina Canonical got nothing from the UT phone sales, or even had to pay for it 😆 [12:59] I can't imagine having profit on any of the sales, but I think not getting a small share would have been weird [13:00] what i see so far for potential business is an entity like canonical focused on selling and maintaining safe technology to hipsters. the Rebel Non Google Hackster thing. or focusing on ethics. organic. fair trade. tech [13:08] @NotKit, ubuntu-app-launch "browser-name-i-dont-remember-now" [13:08] But you can use the logviewer app more easily [13:10] is it in repos? [13:12] In the OpenStore [13:13] @NotKit, IIRC last time i did it on a device i just launched the binary directly using a desktop file hint i.e `./my-app-binary --desktop_file_hint=myapp.desktop` then attached gdb to it. [13:15] OpenStore doesn't seem to be very functional either... [13:32] webbrowser-app —desktop_file_hint=/usr/share/applications/webbrowser-app.desktop [13:34] ERROR: Failed to load hybris linker for Android SDK version 25 [13:38] Hey any admins here that work on the phone development [13:38] ? [13:40] @NotKit, 😳 looks like a "fun" one to figure out. [13:40] @DanChapman, yes, especially since it comes not from main browser process, but chrome-sandbox it seems [13:41] @Ethereals probably be easier to just ask your question and hopefully there is someone here who can answer 😊 [13:42] @NotKit, try exporting `OXIDE_NO_SANDBOX=1` [13:42] Well its not really a question but an idea on how to bring ubports to the next level on the mobile industry [13:42] Ah ok well that might be better suited to the forum [13:43] doesn't crash, but can't render a page either: https://bpaste.net/show/d744b9551912 [13:43] idk how familiar you all are with crypto but im sure youve heard about the ICO craze. well what if we do a initial phone offfering. where people would send btc or eth to pretty much start this company up [13:44] @NotKit, Oh is that low on memory warning correct? [13:45] doubt it [13:45] around 1,9 GB is available [13:45] lol [13:47] I guess gles2 error is more troublesome though [13:47] Indeed! i just found it odd it spat that out on launch [13:49] well, but even before: LaunchProcess: failed to execvp: … /usr/lib/arm-linux-gnueabihf/oxide-qt/oxide-renderer [13:55] Hmm maybe apparmor preventing that? Is the webbrowser unconfined? i can't remember [13:56] If it's not unconfined maybe try using the desktop file of an unconfined app for the desktop file hint [13:57] KunalBhat was added by: KunalBhat [13:57] Hello [13:58] Think [13:58] Could I get a little help here ? [13:58] ninja: Entering directory `.' … ninja: error: '/home/kunal_bhat/helium/out/host/linux-x86/framework/signapk.jar', needed by '/home/kunal_bhat/helium/out/target/product/z3c/obj/APPS/TimeService_intermediates/package.apk', missing and no known rule to make it … build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed … make: *** [ninja_wrapper] Error 1 … make: Leaving directory '/home/kunal_bhat/helium' … #### make failed to buil [13:58] seconds) #### [13:59] I get this error when trying to build the Halium systemimage [13:59] could someone tell me where I'm going wrong ? Thanks [14:00] Hey @KunalBhat You would be better off asking in the @halium group [14:00] Thank you :) [14:06] apparmor seem to refuse access to /dev/pmsg0 [14:06] which is needed for OpenGL [14:09] can I put apparmor in complain mode? [14:11] Noname was added by: Noname [14:13] hey guys, any body speak germany? Hey leute, jemand da, Spricht deutsch ? [14:18] ln -s ../usr.bin.webbrowser-app /etc/apparmor.d/force-complain [14:18] browser works now, even with sandbox [14:21] @Noname, join UBPorts DEUTSCH [14:21] @Noname, Hi Noname! Ja klar, fühl dich willkommen in @UBports_Deutsch 😁 [14:21] well, I guess now I at least know what to look for, but I still miss rotation [14:22] Danke dir, Peter !!👍 [14:23] how can I whitelist access to /dev/pmsg0? [14:24] @DiogoConstantino hit me up so we can go over the social media stuff for ubucon [14:30] @Ethereals, crypto == cryptography. ICO craze == math problems that aren't necessarily crypto, and a massive bubble [14:35] @NotKit, Change the apparmor profile. But why is this an issue here and wasn't before? [14:35] an interesting question [14:36] sandbox was failing due to blocked access to /usr/lib/arm-linux-gnueabihf/libhybris/linker/n.so [14:37] @KunalBhat, You need to disable/remove ALL .jar targets from the Android.mk files [14:37] TimeService_intermediates indicates somewhere is a package built named TimeService [14:37] I managed to disable Time Servive [14:37] Now I'm trying to find ant radio [14:37] @dohbee, any information about how to do that? [14:38] ninja: error: 'external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml', needed by '/home/kunal_bhat/helium/out/target/product/z3c/system/etc/permissions/com.dsi.ant.antradio_library.xml', missing and no known rule to make it [14:38] this is what I'm getting now [14:40] @NotKit, Hmm. Maybe adding a new profile for your device here: https://github.com/ubports/apparmor-easyprof-ubuntu/tree/xenial/data/hardware/graphics.d [14:43] doesn't ** mean any dir in theory? [14:45] it means any characters up to the .so, yes [14:57] @alan_griffiths, I think the attempt canonical made shows that this specific model does not work very well. (I mean it might have worked if there was a great affordable flagship device shipped by bq with a more complete ubuntu touch with a working convergence show case) [14:58] I think there is potential in the stack that could be used for a comercial offering [15:00] Instead of trying to repeat the model of google/android.. one could succeed by building your own devices and shipping them with UT.. or hijack kickstarter campaigns that build stuff with displays and connectivity. But I think that also either requires a lot of funding in advance with questionable returns or does not generate enough funds to finance a group of developers.. [15:00] I see a better chance in offering the UT stack to comercial 3rd parties.. [15:01] Any bigger company that plans to sip some sort of device with an end user facing display and some form of connectivity. I.e. digital signage devices.. kitchern equipment .. home automation systems .. car infotainment systems.. [15:02] nowadays people expect an app store.. convenient user interfaces .... [15:02] some companies find themselves in a situation that they either pave the way for google apple amazon .. or they build something on their own.. [15:02] both options are not attracitve [15:03] the problem is still paying for the developers/designers/architects/infrastructure [15:03] if you sell UT as a stack and the engineering services around it .. i.e. years of support for updates.. [15:04] and UT is still this in-limbo abandoned thing that is widely unknown (by the people who have taken it up as a community effort) [15:04] yes .. thats why you cannot expect anyone else to pick it up .. just because it exists.. [15:05] sure, but you have to already be paying developers and supporting it, to show that you can actually provide that, or be hoping that companies will pay you up front for it, so you can then hire everyone to do the work [15:06] sure [15:06] and it's not something VCs want to give you money for [15:06] which leaves one in a very poor spot [15:07] maybe if you say you're putting UT on blockchain, then you can get some VC though [15:08] UbuCoin [15:13] hum I would rather think of an old-school starting point with some sort of garage level demostrator and a sales pitch.. [15:35] @vanyasem seems it's AppArmor to blame for some of our problems [15:36] need to find out what's wrong with the rules, but neutralizing it makes way more app work so far [15:37] @NotKit, Seems like you shouldn't be blaming apparmor, but rather that we need better docs on what needs to be added for device-specific apparmor bits [15:38] well, sorry about this, I didn't mean bad things AppArmor, just that things fail due to AppArmor :) [15:41] well, like i mentioned earlier. much of what makes up UT is still unknown. and most all the supported devices were already supported, or work almost exactly the same as already supported devices, so some things just worked without knowing why :) [15:43] *insert my code works, I've no idea why .. my code doesn't work, I've no idea why sticker here* [15:43] :P [15:44] still no idea how to trigger rotation [15:48] yeah i have no idea how the very low level bits of rotation work [15:58] @BlueKenny, with `phablet-tools` package, there is a `phablet-screenshot` command to do that. try `phablet-screenshot test.jpg` ( your UT must be connected to your computer of course ) [16:01] aside from the obvious accelerometer, of course [16:01] @NotKit, does dmesg show an accelerometer device? [16:04] no, but test_sensors output orientation sensor [16:04] well, and === Sensor 0 == … Name: ACCELEROMETER too [16:05] @NotKit, what starts to work [16:05] @lduboeuf, Hey, thanks for the answer, but I was thinking of a tool to take a picture (camera) and on the phone ;) [16:06] could you share steps for that also? im up to test [16:07] I think I've theory @NotKit... let's discuss this in halium group [16:07] @BlueKenny, Not really. The camera is not necessarily a v4l device, because of how devices work in android [16:08] hey guys I would know since when did unity8 stop to open scope lens on dash? [16:08] @Ismaelbonato, What do you mean? the dash isn't open? (lenses were a unity7 thing, and don't exist in unity8) [16:09] @vanyasem, browser, webapps, QML-based apps like Clock - I disabled apparmor as in https://wiki.ubuntu.com/Touch/DeprecatedPorting#AppArmor (click: adjust the desktop file for the click package in ~/.local/share/applications/.desktop to not use aa-exec and/or adjust /usr/share/upstart/sessions/application-click.conf to not use 'apparmor switch') but it's a hack, not fix [16:09] @NotKit, have you tested openstore btw? [16:10] i get that it's a hack, but that will help to test the OS a lot [16:10] it's kinda hard to even transfer debug info when browser doesn't work [16:10] i have to ssh (scp) all the time ^^ [16:12] @vanyasem, yes, it starts, but doesn't really work [16:12] same experience [16:12] unfortunately [16:12] @dohbee, I mean https://www.google.com.br/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&ved=0ahUKEwjar6PZnJnZAhVBDZAKHb7sD98QtwIITDAE&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dlpl6SO_zKls&usg=AOvVaw01hac2HIrjozGj32BdUAgI [16:13] https://www.youtube.com/watch?v=lpl6SO_zKls [16:16] is scopes gone forever on both desktop and phone? [16:17] @Ismaelbonato, no. it is not there by default on PC, because app drawer replaces the apps scope [16:17] and that's a different build of unity8 than is on the phone [16:17] (but yes, ideally scopes as we know them today would be gone forever) [16:18] @NotKit, what do i replace aa-exec-click with? [16:18] I just commented it out [16:20] @dohbee, Hmm :/ and how ist the camera taking pictures ? I mean if I can extract that piece of code to use it as cli tool? [16:20] @NotKit, do i need to reboot after that? [16:20] yes [16:20] frustrating [16:20] @dohbee, is there any plan to merge all unity 8 phone stuff to pc version? [16:21] @BlueKenny, Using the QML API on Qt which has a stack of things which eventually goes through libhybris to talk to the Android HAL which talks to the camera hardware to take the picture [16:21] @dohbee, True but I'm just thinking in terms of fundraising [16:22] @Ismaelbonato, That video is very old. There are plans to have ubports unity8 working on both PC and phones, and what exact code that will mean is not yet entirely clear, i think [16:22] lots of stuff that was done in that video is not applicable to the goals of ubports [16:22] @NotKit does audio work for you btw? [16:23] no, I need updated pulseaudio module from Sailfish [16:23] and something is wrong with properties outside of container [16:23] @Ethereals, Well, I think ubports is doing ok with patreon and liberapay. [16:23] @NotKit, i commented out apparmor switch ${APP_ID} and it's still broken [16:24] if you want to start some company to try and get funding via bitcoin, and use that to help develop ubports, all the power to you, but I wouldn't hold my breath on that playing out well [16:24] can you start Clock app for example? [16:24] @NotKit, yes, i cab [16:24] it looks so nice [16:24] i can't launch browser though [16:24] what about, say, eBay webapp? [16:25] @NotKit, there's no such webapp installed [16:25] @dohbee, Yea, it was a thought. I would love to have Ubuntu touch in full development to pretty much be the computer phone we all need [16:25] i use an older version of the rootfs, as the new one is broken on CAF [16:25] @dohbee, where can I see ubports goals? [16:25] @vanyasem, dispatching @mariogrip btw [16:26] i don't know [16:26] what I did for browser before is … ln -s ../usr.bin.webbrowser-app /etc/apparmor.d/force-complain [16:26] what i mean though is that the goals canonical had at that point were obviously not the same as the goals ubports has today [16:27] @NotKit, eh? [16:28] it forces "complain" mode instead of "enforced" [16:28] you can try to start browser from console with: [16:28] webbrowser-app —desktop_file_hint=/usr/share/applications/webbrowser-app.desktop [16:29] @NotKit openstore works [16:29] like, you can download apps? [16:29] i can install apps and they appear in the menu [16:30] that's interesting [16:30] (Photo, 960x1280) https://irc.ubports.com/H0XB10SR/file_4138.jpg [16:30] (Photo, 960x1280) https://irc.ubports.com/koeQgTHZ/file_4139.jpg [16:30] (Photo, 960x1280) https://irc.ubports.com/g76590Qs/file_4140.jpg [16:30] holy crap i can play minesweeper [16:30] on 16.04 [16:31] unity8 just crashed lol [16:31] haha [16:31] @dohbee, Is there any future plans on ubports website? [16:31] @vanyasem, and the phone rebooted [16:33] @Ismaelbonato, no, there is no specific roadmap as such [16:34] https://forum.yunit.io/viewtopic.php?f=11&t=23&p=103&hilit=goals#p103 [16:36] @NotKit installed ebay from the openstore [16:36] it works [16:36] so just not the browser? [16:36] we need to make a plan! we cannot develop without a roadmap and visual design. [16:37] (Photo, 960x1280) https://irc.ubports.com/2rIC6pT0/file_4142.jpg [16:37] browser itself still crashes [16:38] ohh shiet it's actually usable to some extent [16:38] The plan is to get first 16.04 working and the make a plan [16:38] @libremax, we're working on that literally right this secont [16:38] @Ismaelbonato, sure we can [16:38] I se that [16:39] @libremax, Lol no more question! [16:39] haahhahahaah [16:39] @NotKit anything else you got for me? ^^ [16:40] does "Browser" app work? [16:41] @NotKit, https://paste.ubuntu.com/26547047/ [16:41] no [16:41] :( [16:41] ubuntu pastebin now has an "expiration" option, that's neat [16:42] @NotKit, try this then [16:42] @vanyasem, Probably Canonical needs to save on their data plan 😆 [16:42] you can always use pastebin.ru :P [16:43] Ubuntu working properly with anbox support on the oneplus 5 would be so sweet [16:44] @PhoenixLandPirate, the port is already there [16:44] compile it, flash it, and enjoy [16:44] Uh [16:45] https://paste.ubuntu.com/26547057/ [16:45] nyet [16:47] updated oxide would be sweet [16:47] dmesg | grep apparmor | grep hybris [16:47] @NotKit, https://paste.ubuntu.com/26547068/ [16:48] do i need to reboot after symlinking? [16:48] yes, or /etc/init.d/apparmor restart [16:49] I guess to fix this properly we need to check why webbrowser-app//oxide_helper isn't allowed to access libhybris/linker/*.so [16:49] sudo service apparmor restart [16:50] or just start, since it's not really a service [16:50] @NotKit, is apparmor denying it, or is dlopen failing for some other reason? [16:50] apparmor, see https://paste.ubuntu.com/26547068/ [16:53] same error [16:53] after linking the browser and rebooting [16:53] apparmor is still denying it [16:53] ugh, apparmor.net seems to be gone :( [16:53] @vanyasem, why the ?? [16:54] u got it working? @NotKit [16:54] yes, phablet@ubuntu-phablet:~$ ls -la /etc/apparmor.d/force-complain/ … usr.bin.webbrowser-app -> ../usr.bin.webbrowser-app [16:54] weird [16:55] @NotKit, ```$ ls -la /etc/apparmor.d/force-complain/ … webbrowser-app -> /usr/bin/webbrowser-app``` [16:55] and it's still broken [16:55] wrong [16:55] uh? [16:55] not /usr/bin/webbrowser-app, "../usr.bin.webbrowser-app" [16:55] oh i thought that a typo [16:55] lol [16:56] there is /etc/apparmor.d/usr.bin.webbrowser-app [16:56] @NotKit, `usr.bin.webbrowser-app -> ../usr.bin.webbrowser-app` [16:56] my mistake [16:57] is it wirght now [16:57] well the ../ would be wrong [16:57] if it's in the same directory [16:57] @dohbee, i ls'ed it, everything is ok [16:57] no, `ls ../foo bar` will link to foo in the parent directory [16:58] err [16:58] amd that is in the parent directory [16:58] `ln -s ../foo bar` even [16:58] @vanyasem, so what's the issue [16:58] @NotKit browser works [16:58] oh, it wasn't clear that force-complain was a sub-directory [16:59] (Photo, 960x1280) https://irc.ubports.com/4rhFOiNc/file_4143.jpg [16:59] nevermind me, sorry [17:03] Since. 18.12. the uaddblock isn't updating anymore and today i had youtube advertisment [17:03] Is it maintained ? [17:04] (Sticker, 512x451) https://irc.ubports.com/Fjow0EG9/file_4144 [17:10] pornhub app works on 16.04 [17:10] (Photo, 960x1280) https://irc.ubports.com/ipP0rOGT/file_4146.jpg [17:10] Our hero [17:10] that's nice. can't read new in browser but porn, sure [17:11] @rogieroudshoorn, you can have a cam girl on pornhub read the news to you [17:12] excellent workaround sir [17:12] or cam guy, or horse, if those are your preferences instead [17:12] @rogieroudshoorn, browser is also working now [17:13] @vanyasem, see this [17:13] ah nice, wasn't when i checked on my bq today [17:14] It's an apparmor hack. ;) [17:15] it's "working" [17:16] if you like losing some security/privacy [17:20] Nel was added by: Nel [17:21] hell, I have a tablet bq aquariums m10 ubuntu edition, I can install directly ubuntu with ubports installer? [17:21] yes [17:22] @anpok, what did you think of my system76, hiptster, Safe Tech Organice Fair Trade Co idea above? [17:22] I do not have to flash? [17:22] @Nel, installing is flashing. [17:23] you don't have to lose your data (but you should probably back up first anyway, just to be safe) [17:24] @Ismaelbonato, this is music to my ears! [17:24] OK thanks [17:24] https://forums.ubports.com/assets/uploads/files/1514483396319-photo_2017-10-22_22-17-49.jpg [17:25] I think unity 7 dash is awesome somthing like that on unity 8 would be awesome [17:25] @Ismaelbonato, we need to finish 16.04 first [17:25] @\ [17:25] @wayneoutthere, because your hair is pointy? [17:26] Are things getting busy in the super group? Losing track? Afraid of missing the *most important updates*??? Don't worry! With just one click here you'll be subscribed to the UBports Telegram News Channel: https://t.me/ubports_news [17:26] @Ismaelbonato, please $diety no [17:59] trying to build the webbrowser-app. Seems I need libapparmor to build it - anyone know where to get it? [18:02] (Photo, 1280x122) https://irc.ubports.com/rCuDm4HF/file_4148.jpg [18:02] i love webalate diffs [18:02] they are so not impossible to read at all === alan_g is now known as alan_g|EOW [18:16] @dohbee, ? [18:17] @vanyasem, I totally aggree. [18:18] though for me it is because I have no knowledge of Russian 😜 [18:23] @vanyasem, I could need a hand importing approx 34 unity8 projects to our weblate lol [18:27] how can I help ubuntu touch on 16.04? [18:28] or is it better to help with unity 8 bugs on github first? [18:44] Can someone recommend a solution to run a .sh script on startup, with sudo permissions, on Vivid stable OTA-3? Hopefully it can take the password prompted for log-in and pass it through to the script to act as the password for it's sudo calls, too. [18:45] echo PASSWORD | sudo -S [18:45] Context: to auto-mount the SD card for Libertine apps, rather than my having to hit up the Terminal every time. [18:45] If I used that code, where would I place this script to make it run at startup? [18:46] it would read the password from the stdin pipe [18:46] @Jimmie Johnsson, it's in the archive in ubuntu. look at debian/control for what packages you need installed to build it [18:47] @TartanSpartan, Your SD card is I guess an ext4 fs or something, instead of FAT32? [18:49] @Ismaelbonato, unity 7 dash is horrible. i definitely would not want it on my phone. it is not how scopes should work [18:49] if what you want is a "home screen" with custom widgets and such, the dash and scopes is a really horrible way to do that [18:50] @Ismaelbonato, test it? file bugs? is there something in particular you want to fix or improve? [18:55] @Ismaelbonato, I would ask you to talk to @neothethird Jan but... his username is currently shut off. The papparazzi are bothering him [18:55] @wayneoutthere, Thats the build your own device path.. hardware seems hard .. and seems to require far more mones [18:55] @anpok, naw. all OEM [18:56] @wayneoutthere, huh? [18:56] I cannot mention you here @neothethird oh [18:56] now I can [18:56] maybe telegram servers were blocking my activities [18:57] @wayneoutthere, you just did [18:57] busted! no secrets in here [19:00] @wayneoutthere, kkkkkkkkkkk [19:01] No Rodney, standard FAT32. [19:02] @TartanSpartan, it should be auto-mounted already then. or you mean you need to bind mount it into libertine or something? [19:02] @wayneoutthere, i didn't block anything [19:02] @wayneoutthere, if you're on ubuntu touch, then that's a bug that appears on slow connections [19:02] Yes that's it. Otherwise the desktop apps can't see the card. [19:02] @vanyasem, i am affected as well [19:03] @TartanSpartan, i think there is a way to tell libertine to bind mount a location, with libertine-container-manager [19:04] so you should use that instead of trying to implement some weird hack that requires storing your password/pin in plain text in a script [19:07] Well, remember what I said about password management. Can't it pipe the password I input during the system login to the script? [19:08] If so, no need to save the password. [19:09] @dohbee thanks. I'll have a browse around and see if I can get it all to build [19:09] Is the web-browser built on top of oxide? [19:10] @TartanSpartan, that is extremely non-trivial to do, so no, not really [19:10] @Jimmie Johnsson, yes [19:13] https://github.com/ubports/unity8/issues [19:14] where are the bugs? [19:14] hahahaahah [19:14] @Ismaelbonato, https://github.com/ubports/ubuntu-touch/issues amongst that lot [19:15] oh thanks [19:15] that is a very limited set of issues on the phone [19:15] there are a LOT of components which make up the full stack on the phone [19:16] and https://bugs.launchpad.net/ubuntu/+source/unity8 just no-ones gone through and cross linked any relevent issues to github [19:16] i don't think all of them have even been imported to github under ubports umbrella yet [19:17] @Ismaelbonato, is there something in particular you're looking for? [19:19] something simple to do in order to know its structure [19:21] AFAIR I've seen ask ubuntu questions where people set up that password piping to auto-start scripts, yes on desktop Ubuntu rather than UT (but that matters not one would think) and I think the result veered more towards trivial. So it might be viable. [19:22] But, I'll look at your libertine-manager-app idea first. [19:23] Or if you like, implementation rather than result, yeah that reads better. [19:24] @TartanSpartan, that sounds like horrible advice. people are way too interested in implementing insecure hacks to do things they think they want i guess, rather than doing things the right way :( [19:27] Fwd from Tecnoblog: Hackers conseguiram rodar Linux no Nintendo Switch – https://tecnoblog.net/234060/nintendo-switch-desbloqueio-linux/ [19:28] @dohbee, I agree it's not my style [19:28] But I ask again, is that insecure though? Doesn't password-at-startup (not a script, but my dash'd abbreviation) in itsef pass the password to several (or many?) scripts? So,why would allowing it to hit one more script, which I've written mind you (so I know it's utterly benign) be insecure or problematic? [19:28] *itself [19:29] @TartanSpartan, where are you getting the password from? why is it trivial for you to MITM the password to pass to sudo to start something as root? [19:30] no, login doesn't "pass the password to many scripts" [19:31] if it were to do so, that in itself would be a massive security hole [19:32] Ok, fair, I'm not a Linux system admin (yet) but I thought that was what my verbose, GNOME, HDD Xenial startup output was suggesting. [19:33] I'm not stating outright that this is a trivial idea, but I do recall reading that desktop/laptop users had gotten it running without much (if indeed any) trouble. [19:34] well, maybe someone wrote a PAM thing which lets you pipe the password to a script, but that would be an incredibly horrible thing to actually use [19:35] @vanyasem, may if you start adbd by terminal you can connect device by adb shell [19:35] @Walid, oh, didn't know that. noted [19:35] https://stackoverflow.com/questions/12973777/how-to-run-a-shell-script-at-startup [19:35] @Walid, wouldn't ssh still be better? [19:35] The top answer (213 net upvotes) seems concise and elegant. [19:36] @TartanSpartan, that is not the same as you were asking. that is more along with what i said [19:36] @dohbee, no, you can adb pull in seconds [19:36] @TartanSpartan, it's also basically "create a system init job" [19:36] @vanyasem, and scp requires some next-level fuckery with setting up a link to the device, etc,etc [19:36] it's not piping the login password to a script [19:37] Is that because the script doesn't require root privileges? I'm not sure if it states that either way actually. [19:37] @vanyasem, you can ssh-over-adb which gives you much better terminal handling, in my experience; that's what the `phablet-shell` script from `phablet-tools` package did [19:37] but it's probably not in arch [19:38] @TartanSpartan, if it's run by system init, then it's already running as root [19:38] so you want to be careful about what you're doing there anyway [19:39] and that's what `rc.local` is already for, as well [19:39] Right. I thought, in essence, what I was describing was the same as what you're saying... because after all, that system init call won't hit unless the password is correct. Or am I wrong? [19:41] but specifically for your situation, you a) don't actually need root iirc, and b) i'm pretty sure `libertine-container-manager` has a way to add bind mounts to containers, so they will just work always [19:41] you are wrong [19:42] init scripts have nothing to do with who is logged in or not [19:42] So the card would be mounted before the user logs in? [19:42] they are running before the login manager [19:42] I see. [19:42] no [19:42] ubuntu phone is special [19:43] the user is always logged in, because it's using auto-login [19:43] Ah. [19:43] Thank you for explaining this. We learn more every day with the UBP Supergroup! [19:43] well, the user is always logged in, once the init process reaches the step where the auto-login occurs [19:44] and then the screen is immediately locked [19:44] so you never actually see the login manager itself on the phone. you're always looking at the lock screen which is in unity8 (except on first boot, where you get the setup wizard) [19:45] Right. [19:46] So, going by this Stack Exchange post. Would the top answer do what I require? [19:46] And yes I've still to try with libertine-manager-app first. [19:46] i don't know if the GUI app has a way to do what you want [19:46] i'm pretty sure the CLI tool does though [19:47] well, it's not exactly how you should do it here, but yes, the general idea would work for what you want to accomplish [19:47] also i still don't think you actually need root [19:48] so just adding something to ~/.profile or ~/.bashrc might be better [19:49] oh i guess you do [19:49] `mount: only root can use "--bind" option` :( [19:49] My script: [19:49] #!/bin/bash … sudo mount -B /media/phablet/15D3-9E3C/ ~/.local/share/libertine-container/user-data/vivid/mount/ … exit 0 [19:50] (hope that's a handy reference for any of our brothers and sisters who's been wondering how to set up a simple SD card mount for Libertine apps! :) ) [19:51] *who've [19:52] (also note your SD card will have a different alphanumeric string or name) [19:54] `libertine-container-manager configure -i vivid -b add -p /media/phablet/15D3-9E3C` [19:54] i think [19:55] Interesting. I switch between cards infrequently, will that create issues? [19:55] assuming the newer version of libertine is actually on the 15.04 images [19:55] i don't recall when it stopped getting uploaded to there [19:56] yes, you'll need to get them to mount to the same location on the host [19:56] but you have issues with your current script in that situation too [19:56] I just run a different script pertaining to whichever card as necessary. [19:57] i don't recall how to force a consistent mount point with udisks, though [19:57] No worries. [19:58] well you could just bind mount /media/phablet instead of /media/phablet/ [19:58] in which case you'd then have access to all of them [19:59] eyeballing the oxide code. In the 15.04 build I've tried, only the web browser can play audio through bluetooth. Thought I'd try and have a go at understanding why that is and if something could be done to bridge that [19:59] Ah, a catch-all, clever. [19:59] regardless of which card you inserted [19:59] Anyone already had a go at it or got some pointers? [19:59] And would also work for USB OTG mounted media. Beautiful. [20:00] @Jimmie Johnsson, i've never got bluetooth audio streaming working on any ubuntu phone, but what you said doesn't make any sense to me. maybe a bug in pulseaudio or some config on your device perhaps [20:01] i do know others have used bluetooth audio with other apps [20:01] @TartanSpartan, yep [20:02] I've streamed audio from podcasts and youtube through the web browser but it dose'nt work with for example the cute spotify app or the podbird one. Have'nt tried the built in music app though. Perhaps I should give that one a go. [20:05] weird [20:05] should work for all of them. [20:06] Yeah the music app works fine. I have some memory of someone saying it only worked in the web browser. Guess I could look into the music app and see whats the diff between how that one plays music and how an app like cutespotify does it [20:08] Hmmm. It works today :) But Im sure it did not work when I tried it a while back ago. Well then thats one bug I guess I dont have to try and fix hehe [20:11] yeah, all audio should be going through pulseaudio, so even firefox in libertine should work for that i think [20:11] libertine-container-manager: error: unrecognized arguments: -b add -p /media/phablet/ [20:12] Yeah it seems to be working. Thought it might be a nice little bug to try and wrap my head around , guess I'll have to try and find something else useful to do instead :) Well thats good that its working [20:13] @TartanSpartan, for the `configure` command? i guess it might not work on 15.04 :( [20:13] Si si. [20:13] might not work on 16.04 either, depending on what version is in the images [20:13] Tagging @DanChapman for his insight. [20:14] i don't think `/etc/init.d` is on writable partition either. but you could add your `mount --bind /media/phablet /home/phablet/.local/share/...` command to `/etc/init.d/rc.local` i would think [20:15] no need for sudo or the exit 0 either [20:16] And if I do that, should I keep your idea of just mounting media instead of a specific card, for dynamic functionality? [20:19] @wayneoutthere, everything that has the chance of putting more open source devs on the payroll to contribute to UT is worthwhile [20:19] The only writable parts of `/etc/init` are the `ssh.override` and `whoopsie.override` files [20:19] @TartanSpartan, yes [20:20] I have no qualms about making the image temporarily writable for this change. [20:20] All writable portions of the filesystem are in `/etc/system-image/writable-paths` [20:25] Where should I write the line in rc.local? Not the do_start program, right? [20:26] Program... function... terminology meh. [20:27] @TartanSpartan, Ah, I guess you should put it in `/etc/rc.local` instead [20:28] which should also be a bit more obvious [20:28] you might want to check if the mount is already mounted, too, though [20:29] The card is, but the media dir in general isn't. [20:31] Done, I'll reboot and test. [20:42] Dumbass question: does the system treat a reboot by GUI identically to one by sudo reboot? [20:49] Do you know how to reset unity 8 configs? [20:50] to show welcome screen again [20:58] Rodney, hmmm [20:58] sudo service rc.local start … mount: mount point ~/.local/share/libertine-container/user-data/vivid/mount/ does not exist [21:00] This is using: [21:00] mount -B /media/phablet/ ~/.local/share/libertine-container/user-data/vivid/mount/ in /etc/rc.local [21:08] @TartanSpartan, yes-ish, but not exactly [21:09] You need to replace the ~ there with `/home/phablet` [21:09] obviously that path does not exist under /root [21:09] Ah yes of course, need the full dir reference. [21:11] That works now, but: [21:12] (Photo, 1280x800) https://irc.ubports.com/zhwQPO0Z/file_4150.jpg [21:13] what are the permissions on the mount point? [21:13] How would I determine those? [21:13] ah, the permissions in /media/phablet may be weird perhaps? [21:14] @TartanSpartan, `ls -lah /media/phablet` ? [21:15] but not sure how it would have worked before if the permissions are weird [21:15] or `ls -lah ~/.local/share/libertine-container/user-data/vivid/mount/` [21:15] drwxr-xr-x 8 phablet phablet 8.0K Jan 1 1970 Disposable [21:15] well what's inside that? [21:16] Just the card itself. [21:19] I try to cd into blah/vivid/mount/Disposable/ but permission denied. [21:22] can you `cd /media/phablet/Disposable` in the host? [21:28] Unsure what you mean by host, but yes I can get there via CLI. [21:30] host being not inside libertine [21:36] maartenvandruten was added by: maartenvandruten [21:39] @maartenvandruten, Welcome Dandy! Ask questions, join in. Glad to have you in our community. https://ubports.com/page/telegram-welcome for lots of newcomer information 🚪 [21:41] Thank you! Its nice to see that the community has become so big! More than 1200 members! [21:42] Yes indeed. So are you an audio guru? [21:44] What to say...yes i like high quality audio play back, i am working now on a open hardware loudspeaker system [21:44] So audiophile, rather than sound engineer? [21:44] I want to release my design under the OSHW license [21:44] @maartenvandruten, Like Sonos? Or serious quality ? ;) [21:45] Yes, you could say that [21:45] Koss [21:46] Serious quality, JRiver still sounda better than ROON, but Daphile is also sounding very good i experienced [21:46] Two makes a group @malditobastardo 😁 [23:19] @anpok, cool. that's also what I think. [23:21] @maartenvandruten, you might like... the UBports Audio group! We like audio stuff. And UBports. … https://t.me/joinchat/Baj4lg6rpSWKVmXRSzKc4w