/srv/irclogs.ubuntu.com/2017/12/10/#ubports.txt

tgBot<dohbee> @Roujin13, If you meant which image to use on your phone, it depends on your goals and device, but you should generally stick to stable.00:27
tgBot<Roujin13> @dohbee, I have a Nexus 5 so I think I'll use.00:29
tgBot<KrisJacewicz> @Rocco, the easiest way is to use my command line installer directly on UT Terminal app, the installer will get u all the dependencies and get u Lazarus up and running:  … https://sourceforge.net/projects/lazarus-for-raspi-and-ut/03:04
tgBot<KrisJacewicz> it is open source so you can see  list of depes inside, also it is interactive and you will see what gets installed. … You can install Lazarus on UT with these commands in Yerminal app: … #download installer: … $ wget https://sourceforge.net/projects/lazarus-for-raspi-and-ut/files/lazfpc4ut.tar.gz … #extract: … $ tar -xf lazfpc4ut.targ.gz … #install Lazarus+FPC: … $ ./lazfpc4ut … #install all deps: … $ sudo ./lazfpc4ut03:08
tgBot<KrisJacewicz> runnig with sudo installs deps. … running qithout sudo imstalls the Lazarus itself and adds app icon to your apps scope, because ot installs into your userspace (so no need for sudo). … Installer also works on raspi.03:10
tgBot<KrisJacewicz> one of the screenshots from the page shows dependency packages though::03:27
tgBot<KrisJacewicz> (Photo, 720x1280) https://irc.ubports.com/uQjPPM9f/file_2802.jpg03:27
tgBot<onajjar> Hello :)  … Can I Make apps for Ubuntu touch from my MacBook?  … Or web apps?08:34
tgBot<Rocco 3> the easiest way is to use my command line installer directly on UT Terminal app, the installer will get u all the dependencies and get u Lazarus up and running:  … https://sourceforge.net/projects/lazarus-for-raspi-and-ut/ … it is open source so you can see  list of depes inside, also it is interactive and you will see what gets installed. … You can install Lazarus on UT with these commands in Yerminal app: … #download installer: … $ wget08:34
tgBothttps://sourceforge.net/projects/lazarus-for-raspi-and-ut/files/lazfpc4ut.tar.gz … #extract: … $ tar -xf lazfpc4ut.targ.gz … #install Lazarus+FPC: … $ ./lazfpc4ut … #install all deps: … $ sudo ./lazfpc4ut … runnig with sudo installs deps. … running qithout sudo imstalls the Lazarus itself and adds app icon to your apps scope, because ot installs into your userspace (so no need for sudo). … Installer also works on raspi. … one of the screen08:34
tgBotpackages though::08:34
tgBot<Rocco 3> Thanks a lot Kris... I'll try.08:37
tgBot<KrisJacewicz> @onajjar, what kind of apps would you like to make?09:17
tgBot<KrisJacewicz> @Rocco 3, let me know how it goes09:17
tgBot<onajjar> At start , web apps I think09:18
tgBot<onajjar> Do I need Ubuntu OS , or can I make them from my MacBook09:18
tgBot<KrisJacewicz> @onajjar, then you should be able to do that quite easily from UT, therr is even app for making web apps on Open Store09:19
tgBot<Rocco 3> Yes Kris...09:19
tgBot<onajjar> @KrisJacewicz, Thank You 🙏🏻09:19
tgBot<KrisJacewicz> @onajjar, maybe try this: … https://uappexplorer.com/app/webapp-creator.jujuyeh09:20
tgBot<Rocco 3> But development into UT device isn't so difficult ? On my ubuntu notebook ?09:21
tgBot<onajjar> UT stand for ?09:22
tgBot<onajjar> @KrisJacewicz, I’ll try it and see :)09:22
tgBot<Rocco 3> Ubuntu touch09:22
tgBot<Rocco 3> I also will develop apps09:23
tgBot<Rocco 3> Of course09:23
tgBot<onajjar> :) me too09:23
tgBot<onajjar> And I have this question too , … After I’ve installed UT on my Oneplus one device , do I need to do anything after that ., I mean in the terminal ? Updates , upgrades ? Any suggestions?09:25
tgBot<onajjar> Any reliable email client ?09:26
tgBot<vanyasem> @onajjar, Dekko09:26
tgBot<vanyasem> @onajjar, do you need something? if so, then install it. we can't guess whether you need something or not09:26
tgBot<vanyasem> @onajjar, yes you can. if you install GNU/Linux on it. I remember running Xubuntu on MacBook Pro09:27
tgBot<vanyasem> screw MacOS.09:27
tgBot<KrisJacewicz> @onajjar, it is possible to do things in terminal BUT it is not required. So no you do not have to.09:28
tgBot<KrisJacewicz> @Rocco 3, elaborate what do you mean09:29
tgBot<Rocco 3> Elaborate...yes09:29
tgBot<KrisJacewicz> @onajjar, i thought that you do not need ubuntu fpr making web apps. But now Im not sure anymore after Ivan suggestrd otherwise...09:32
tgBot<vanyasem> webapps are crap and should not be considered Development09:33
tgBot<KrisJacewicz> @vanyasem, i dont hv anything against osx, it's iOS that bothers me.09:33
tgBot<vanyasem> @vanyasem, that's basically a wrapper around the browser09:33
tgBot<Rocco 3> Yes, webapps ok. But true apps...09:33
tgBot<Flohack> @vanyasem, Thats opinion-based suggestion :)09:33
tgBot<KrisJacewicz> @vanyasem, not sure if it's right to discourage others.09:33
tgBot<onajjar> @vanyasem, But it’s not supported any more ?09:33
tgBot<vanyasem> @vanyasem, the whole store is filled with webapps. please stop with that09:33
tgBot<vanyasem> @onajjar, dekko 2 is supported by @DanChapman09:34
tgBot<vanyasem> @KrisJacewicz, that can't be considered"development"09:34
tgBot<Flohack> @onajjar, Dekko2 is the new version but still in beta. For normal things Dekko is OK09:34
tgBot<vanyasem> @vanyasem, that's "adding a shortcut for a webpage"09:34
tgBot<Rocco 3> @vanyasem, True09:35
tgBot<onajjar> @vanyasem, 👍🏻09:35
tgBot<Flohack> @vanyasem, Thats also opinion-based. Webapps can fill a gap that we cant fill otherwise. In fact I would be glad if there were no Apps at all. Since HTML5 you dont need them, except for companies tracking you better ;)09:35
tgBot<Schyken> @vanyasem, Not if done correctly. Sure, it may be simplistic in comparison to more native-like development, but it is NOT an insignificant or negligible means of accomplishing a similar task, especially considering the use case.09:36
tgBot<BrisPete> @vanyasem, Dekko is fine. It works well. Dekko 2 will replace it in time but being under development it is not ready for use as your maoin email client.09:36
tgBot<KrisJacewicz> @vanyasem, i dont agree. hou still are putting up business logic and algorhthms in javascript. It os possible to build very complexed systems using webapp approach and perhaps much more complex than anything you will ever build. It really os relative and subjective. … Webapps were invented to address specific problems better. Not to hanle all problems better in general.09:36
tgBot<onajjar> For the real development apps , can I develop apps for Ubuntu touch from Mac ?09:37
tgBot<vanyasem> @onajjar, yes, but if you face issues with click, etc, you probably won't get proper support09:37
tgBot<Flohack> @onajjar, there is no native SDK that runs in MacOS. So, you cannot compile them.09:37
tgBot<Flohack> @vanyasem, Why you say yes ;)09:37
tgBot<JBBgameich> @Flohack, I also hate installing an app for every website, but native apps just have way better performance which is their advantage.09:38
tgBot<vanyasem> because I want Osama to suffer with compiling everything.09:38
tgBot<onajjar> :)09:38
tgBot<vanyasem> @vanyasem, and then failing miserably09:38
tgBot<onajjar> Heheheheheheheheheh09:38
tgBot<KrisJacewicz> @vanyasem, no, what u sescribed is only a choice of a person not a definiton of a webapp. … Just like in any other language or in any other dev tool you can make a "shortcut" to wrap something else around.09:38
tgBot<onajjar> Thanks Ivan :)09:38
tgBot<vanyasem> just install Xubuntu to your Mac dual boot09:38
tgBot<vanyasem> that's not too hard09:38
tgBot<vanyasem> why bother with bittenappleOS09:39
tgBot<Schyken> @KrisJacewicz, This is very true. Hell, it's even possible to make something all wrapped around in C, but still be nothing but a host for the web content within 🤷‍♀️09:39
tgBot<KrisJacewicz> @onajjar, yes, you can. … not sure of you will be able to make native qt5 apps for ut without Linux vm, but you certainly can on OSX make native apps that will work on UT as well.09:39
tgBot<KrisJacewicz> there are more than one way to make apps for UT. Even more than two ways, since webapps also were mentionned.09:40
tgBot<vanyasem> everyone is telling his own thing, I believe @onajjar is confused as hell now09:40
tgBot<vanyasem> I am so sorry09:40
tgBot<KrisJacewicz> @Flohack, well architectural chroot on OSX  should be possible to create and compile them natively.09:41
tgBot<onajjar> @vanyasem, It’s ok really ! I’m taking notes now )09:41
tgBot<KrisJacewicz> @JBBgameich, performance is relative. not always an app has performance requirements that require native performance09:42
tgBot<KrisJacewicz> @onajjar Im thinking that if u want to create apps for UT then u probably have or plan to have UT device. So if you have UT devoce and also Mac computer, then u have all u need to create apps for ut natively. U can run app dev tools from your ut. U dont hv to write code on the phone screen though, you can start dev tools from ut onto your mac monitor rwmotely over ssh with x forwarding. I do this with Ubu tu, you can do this with OSX or Windows09:45
tgBot<onajjar> @KrisJacewicz, WOW! What a great advice ! I’ll try this today after work !09:47
tgBot<wilder_Hund> (Photo, 720x1280) https://irc.ubports.com/g5honx1r/file_2804.jpg09:48
tgBot<wilder_Hund> @KrisJacewicz, I'm here now. Is  … "#install all deps: … $ sudo ./lazfpc4ut" required?09:48
tgBot<KrisJacewicz> @onajjar, i know of this x server to use on OSX for x forwarding: … https://www.xquartz.org09:48
tgBot<KrisJacewicz> @wilder_Hund, yes, sudo will install dependencies09:49
tgBot<wilder_Hund> Thx09:49
tgBot<KrisJacewicz> and without sudo installs the lazarusbitswlf09:49
tgBot<onajjar> @KrisJacewicz, Thanks a lot Kris09:49
tgBotkaushal7007 was added by: kaushal700709:50
tgBot<KrisJacewicz> @onajjar, it must be possible to even install qt5/qml dev tools on UT but i have not done it. Not sure if u can compile the same IDE that is used on Ubuntu Desktop but u can always write code in Geany and just compile it with qtcreator.09:50
tgBot<wilder_Hund> rootfs writeable?09:50
tgBot<wilder_Hund> OKay, i see...09:51
tgBot<KrisJacewicz> @wilder_Hund, the installer can make it wratable for u, youbjust need to agree09:51
tgBot<KrisJacewicz> if you font then it will not install dependencies.09:51
tgBot<KrisJacewicz> without dependencies lazarus will start but u wont be able to cimpile proograms.09:51
tgBot<wilder_Hund> All fine, it's writeable09:52
tgBot<wilder_Hund> Install is complete. And now? 😅09:57
tgBot<KrisJacewicz> @wilder_Hund, hou can also install lazarus on hour desktop, and then u can also compilenhour apps for desktop. … You can even install Windows version of Lazarus in wine and compile on desktop natively for Linux and for windows. … You can also install lazarus on OSX and compile hou app for Mac.09:58
tgBot<KrisJacewicz> @wilder_Hund, refresh apps scope09:58
tgBot<KrisJacewicz> but you want to use it over ssh better09:58
tgBot<wilder_Hund> Yeah. Its on. 👍🏻09:59
tgBot<wilder_Hund> Over ssh, which command?09:59
tgBot<KrisJacewicz> ssh it to gour phone from uubuntu desktop with X forwarding, then run: … $ cd ~/.local/lazfpc4ut/fpc3/lazfpc310:00
tgBot<KrisJacewicz> but must ssh with -Y or -X otherwise you wont get x forwarsing10:00
tgBot<wilder_Hund> Okay10:01
tgBot<KrisJacewicz> @KrisJacewicz, $ ~/.local/lazftp4ut/fpc3/lazfpc3 … *without cd10:02
tgBot<wilder_Hund> @KrisJacewicz, Yes, i have detected it 😄10:03
tgBot<KrisJacewicz> does it start on your desktop over ssh?10:03
tgBot<wilder_Hund> Permission denied with ssh -Y10:04
tgBot<wilder_Hund> It seems, that -Y -X isn't supported here. … usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] …            [-D [bind_address😏port] [-E log_file] [-e escape_char] …            [-F configfile] [-I pkcs11] [-i identity_file] …            [-L [bind_address😏port:host:hostport] [-l login_name] [-m mac_spec] …            [-O ctl_cmd] [-o option] [-p port] …            [-Q cipher | cipher-auth | mac | kex | key10:06
tgBot[bind_address😏port:host:hostport] [-S ctl_path] [-W host:port] …            [-w local_tun[:remote_tun]] [user@]hostname [command]10:06
tgBot<KrisJacewicz> well u need to first set it up10:06
tgBot<KrisJacewicz> read this: http://kriscode.blogspot.tw/2017/12/ssh-and-ubuntu-touch.html10:06
tgBot<wilder_Hund> 👍🏻10:07
tgBot<KrisJacewicz> i might add this to the installer at the end it can offer you help setting up ssh with your desktop, but for now this is separate and you need to set it up yourself.10:08
=== Elimin8r is now known as Elimin8er
tgBot<wilder_Hund> @KrisJacewicz, There is an syntax error near unexpected token `(': … #These command are all to be used on the server (UT device)! … #find out what is the remote home directory: … $ export HOMEDIR=$(ssh kris@192.168.0.101 'echo $HOME')10:37
tgBot<AresMinos> Ok, the kernel is here, how about making Ubuntu Touch for iPhone now xD ? https://github.com/apple/darwin-xnu10:38
tgBot<NotKit> @AresMinos honestly, getting it running on iPhone would be a huge development effort (finding bootloader level exploits/implementing kexec, porting Linux kernel, writing drivers and so on) with little gain (if you want something like iPhone, there is for example Xiaomi with unlockable bootloader)10:47
tgBot<AresMinos> @NotKit, Yeah, you're right, but the thought of can it be done is so exciting :D Still, like you said, too much effort, too little gain :'(10:49
tgBot<NotKit> I think there was a project to build Linux userspace for Darwin10:50
tgBot<Stereofont> @onajjar, Go into system updates for a revision. Choose rc channel maybe?10:50
tgBot<Stereofont> @kaushal7007, Hello KB 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! :)10:52
tgBot<onajjar> @Stereofont, You mean release candidate?10:52
tgBot<onajjar> Is it stable ?10:52
tgBot<Stereofont> @onajjar, It is not Stable but it is quite 'stable'10:54
tgBot<KrisJacewicz> @wilder_Hund, sorry inwas away, were u able to  set it up? did u try ssh-pull-id?11:01
tgBot<padraic7a> @KrisJacewicz, 👍11:34
tgBot<neothethird> @AresMinos, There's a lot more you need, than just the kernel. Look on the android side, you have the kernel for every device, but you still can't create a port for many of them, because you just don't have the drivers or any documentation11:35
tgBot<wilder_Hund> A very big "Thank you" @KrisJacewicz , it works!12:17
tgBot<wilder_Hund> (Photo, 1280x960) https://irc.ubports.com/rQwwkaGB/file_2806.jpg12:17
tgBot<tipode_incognito> @wilder_Hund, what is this? ubuntu dev ide for win?12:19
tgBot<Rocco 3> Where installed? PC?12:19
tgBot<wilder_Hund> Lazarus installed on my AquarisE5 UT and it works over ssh on my PC.12:20
tgBot<tipode_incognito> lazarus ide?12:20
tgBot<wilder_Hund> Please see here: … http://kriscode.blogspot.de/2017/12/ssh-and-ubuntu-touch.html12:21
tgBot<tipode_incognito> but apps are running on pascal12:22
tgBot<tipode_incognito> or can we use qt or web12:22
tgBot<tipode_incognito> ¿?12:22
tgBot<wilder_Hund> Please ask the dev @KrisJacewicz12:22
tgBot<KrisJacewicz> happy it worked for u. I will extend installer to also help set the ssh.12:27
tgBot<KrisJacewicz> @tipode_incognito, it is possible to use gtk2, gtk3, qt4 and qt5, i so far only used gtk2 and gtk312:28
tgBot<KrisJacewicz> it is natove but u can use webbrowser widget to embedd webapp content12:28
tgBot<KrisJacewicz> i used chromium with lazarus as a widget12:28
tgBot<KrisJacewicz> @tipode_incognito, the dont run on pascal they are just wrotten in pascal but then compiled to native code12:29
tgBot<wayneoutthere> @vanyasem, Web apps are great convenient tools where a guy like me can make an app-like experience out of a website. Perfect for certain things I do and no developer would ever build an app for this so it is invaluable for me. I dont think the output should be considered an 'app' though but popular ones could be valuable to many. No matter what webapp creator app and its output has helped me much and concept is genius13:17
tgBot<vanyasem> have you read the question Wayne?13:18
tgBot<vanyasem> the question was if it's possible to develop apps on MacOS13:18
tgBot<vanyasem> and someone answered that it is possible to create webapps13:18
tgBot<vanyasem> where i stepped in telling that creating webapps is NOT developement13:18
tgBot<vanyasem> webapps are crap compared to native ones13:19
tgBot<vanyasem> i was misunderstood there13:19
tgBot<vanyasem> they are more convenient than opening a web browser every time13:19
tgBot<vanyasem> and i use some webapps myself13:19
tgBot<vanyasem> does any of that make sense?13:19
tgBot<wilder_Hund> Lazarus goes wild :-))13:20
tgBot<wilder_Hund> (Photo, 1280x960) https://irc.ubports.com/RkmF0YYU/file_2808.jpg13:20
tgBot<vanyasem> @wilder_Hund, oh that's adorable13:21
tgBot<vanyasem> i love it13:21
tgBot<wilder_Hund> UBports meets nature  😄 ❤️13:22
tgBot<wayneoutthere> @vanyasem, This is true yes speed, feel, etc. Its like a self contained web browser experience for that one site. Sorry but definitely when you use the word 'crap' it better come with a good explanation so someone scanning doesn't think you are slamming their work. I saw 'crap' and 'webapp' and it made me boil13:22
tgBot<wayneoutthere> I would rwcommend 'slow' or 'awkward'13:23
tgBot<vanyasem> electron is also crap13:23
tgBot<vanyasem> and i will call it crap because it is13:24
tgBot<vanyasem> it's a pity we don't have alternatives, but crap is crap13:24
tgBot<vanyasem> i am a developer, and so it happened i have very straightforward views on some technology13:24
tgBot<vanyasem> you may or may not agree with me, nothing personal13:24
tgBot<wayneoutthere> A touch of kindness would go far knowing that users and the developers are in the same room. Just a suggestion for community relations13:26
tgBot<vanyasem> i used to attend social communication classes and i failed miserably13:27
tgBot<vanyasem> that's not a joke, that's how that is. i'm sincerely trying to adopt13:28
tgBot<wayneoutthere> No prob. Straight shooters are never understood and i am one too but over time I learned to use more honey than vinegar and people started listening more although it is how some people are designed...13:30
tgBot<wayneoutthere> I see and understand your crap comment and simply word switch would have avoided this annoying dialogue anyway onwards! Go build something for us13:31
tgBot<wayneoutthere> Emoticon!! ;)13:32
tgBot<wayneoutthere> Interesting note that I may have offended IRC people in the way I stereotyped them so I'm not without sin and still need more honey...13:59
bshah*eyeballs wayne*13:59
tgBot<Seannyboy> has anyboy encountered problems flashing an M10 Aquaris (Ubuntu edition)?14:22
tgBot<Seannyboy> or can somebody direct me to a technical FAQ ?14:23
tgBot<KrisJacewicz> @Seannyboy, it is not uncommon for me on Nexus 5 that the installation does not work. I just reboot to fastboot and restart ubports installer. the most number of times i had to repeat so far was 3. And i flashed OS on 2 different nexus 5 phones approx 10 times each14:26
tgBot<cibersheep> @Seannyboy, @LarreaMikel did recently14:27
tgBot<dohbee> ugh the backlog in here :(14:27
tgBot<dohbee> @Seannyboy, there is no ubports image for M10, i think14:28
tgBot<cibersheep> https://forums.ubports.com/topic/767/can-t-flash-my-bq-m10-fhd-with-ubports/314:28
tgBot<cibersheep> This might com handy14:28
tgBot<dohbee> oh no, there is14:29
tgBot<cibersheep> @dohbee, Should be14:29
tgBot<dohbee> "prerelease"14:29
tgBot<cibersheep> @dohbee, All ex official devices from Canonical are suportes + the ports14:29
tgBot<Seannyboy> @cibersheep, cheers :)14:31
tgBot<cibersheep> @Seannyboy, You mught start here though https://ubports.com/page/get-ubuntu-touch14:31
tgBot<cibersheep> XD you're welcome14:32
tgBot<Seannyboy> Ive tried there pages..14:32
tgBot<Seannyboy> Ill try again on another machine14:32
tgBot<dohbee> @vanyasem, you interjected to disrupt valid discussion with your personal opinion on the definition of "development"14:32
tgBot<dohbee> that is called "trolling"14:32
tgBot<UniversalSuperBox> @Seannyboy, Is your tablet running Android or Ubuntu?14:33
tgBot<Seannyboy> It was one of the tablets sold by BQ with Ubuntu touch pre installed14:33
tgBot<dohbee> @Seannyboy, do you have the correct recovery image for it? which tool are you using to flash?14:34
tgBot<UniversalSuperBox> Okay, either the installer or `ubuntu-device-flash` will be able to flash it, then14:35
tgBot<cibersheep> And make sure to choose the image. Notice that there're two versions of it14:35
tgBot<dohbee> the retail devices need a special recovery image to flash with, because the retail recovery doesn't have adb14:35
tgBot<dohbee> i think `magic-device-tool` grabs the correct recovery though; not sure if ubports installer does the same14:36
tgBot<cibersheep> @dohbee, Oh. cool14:36
tgBot<dohbee> @wayneoutthere, Eh, this is also not exactly true. There are plenty of native apps that are way slower than using a web site, because there are an inordinately large number of people in the world who don't know how to program applications which are responsive.14:40
tgBot<dohbee> even on my i7 4790 with 4 cores and 8 threads, 32 GB RAM, Radeon R9 Nano, and SDD/HDD hybrid drive, most of the apps don't work as fast as they should, because a lot of devs these days are afraid of threads and don't know how to program with them, and they write code that blocks the UI and does excessive work14:42
tgBot<dohbee> @onajjar, You can run Ubuntu in VMWare, and run the SDK in it for native app dev, or you can make webapps fairly easily since they're just a few files to register URLs, start the webapp, and the icon and packaging.14:51
tgBot<Stereofont> @Seannyboy, Join Welcome Room15:23
tgBot<wayneoutthere> @dohbee, very fair point! never thought of that...15:24
tgBot<onajjar> @dohbee, Thanks a lot Rodney ! I’ll try it today !15:27
tgBotyf was added by: yf15:44
tgBot<Gravo> @KrisJacewicz, Hi! This is really cool...but I've one question: since I don't want to alter UT filesystem, I use Libertine containers (@TronFortyTwo OnTheRoad app) which provide RW filesystems (so xauth can be installed without problems)...Is it possible to set up X11 forwarding from Libertine containers?15:55
tgBot<wayneoutthere> @yf, Hi $name 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 subscribe to the news feed by clicking this: https://t.me/ubports_news Thanks again for joining us! :)15:59
tgBot<dohbee> @Gravo, libertine is specifically built for running x apps on ubuntu phone16:02
tgBot<Gravo> @dohbee, Ok, so nothing to do with that! Thanks!16:05
tgBot<dohbee> @Gravo, well i don't know what you're trying to exactly, but i'm pretty sure libertine is good for it16:06
tgBot<dohbee> if it involves running an x11 app16:06
tgBot<Flohack> @dohbee, Is Qt doing the same like c# with WPF that there is 1 UI thread per default that serves the message queue?16:10
tgBot<Gravo> @dohbee, That's for sure...I managed to do it! I was only wondering if X11 forwarding was possible, i.e. running the graphical interface over SSH, being the app confined in a Libertine container16:10
tgBot<KrisJacewicz> @Gravo, yes16:15
tgBot<KrisJacewicz> @Gravo, you can do x forwarding from chroot. I don't know if that still works if you choose lxc mode for libertine, but if you use chroot then yos, you can, I have done it.16:16
tgBot<dohbee> @Flohack, The event loop is the main thread, yes. Just like GTK+. But it doesn't really matter when developers don't use threads, and so everything is always on the main thread. :)16:18
tgBot<dohbee> but that's not the only problem i was referring to16:19
tgBot<dohbee> there are plenty of other not so great decisions in lots of software, like how data gets stored, processed, etc…16:19
tgBot<KrisJacewicz> but you will still need xauth onthe UT host system. … When you ssh into UT with x forwarding, you will use the xauth on the phone to export the magic cookie like this: … $ xauth list > /tmp/X … and then in the chroot you need to import it with chroot's xauth: … $ xauth add $(cat /tmp/X) … notice that here I assumed that /tmp/X is mounted from host to the guest. Otherwise you first copy /tmp/X into chroot's /tmp/X before you get in …16:21
tgBotbut that is the basic concept, and as I said, it works, I have used it.16:21
tgBot<dohbee> you don't need xauth at all16:21
tgBot<KrisJacewicz> so apparently you don't need xauth at all, so up to you, ask Rodney how to export the magic cookie, I guess he knows.  … Anyways, xauth is landing in the default UBports image anyways.16:22
tgBot<dohbee> you can install openssh-server inside the libertine container, and ssh into the container directly16:22
tgBot<KrisJacewicz> @dohbee, Agree, but then you need to change its port so that it does not conflic t with the hsot's ssh service.16:23
tgBot<Gravo> @KrisJacewicz, Agree...Also the key should be different!16:24
tgBot<KrisJacewicz> if you don't want 2 ssh servers running, keep the magic cookie method in mind ;)16:24
tgBot<Flohack> @dohbee, Why I am asking is a little bit more complex question: For example in telegram I see lots of small freezes when the datamodels getting updated. So basically we insert data into the datamodel on the worker thread that is spawned by the libtelegram incoming data event (is it a separate thread?) => then there is a signal saying messages_changed for example. That should reload the message list. Now problem is, that happens very unresponsive.16:24
tgBot<Flohack> I would expect e.g. scroll events still being handled while messages are being inserted16:25
tgBot<dohbee> yeah, i'm not sure the telegram app is optimized well for things like that16:25
tgBot<Flohack> Its not, but the question is, can it be optimized? So that it has same fluent response as Android or iOS16:25
tgBot<dohbee> yes, just a matter of fixing the code (disclaimer: i don't know the code, so no idea how complex the fix would be)16:26
tgBot<dohbee> iirc the app itself is mostly all qml, and all the actual code is in a qtquick module, right?16:26
tgBot<Gravo> @KrisJacewicz, Ok, thanks! I'll try it!16:26
tgBot<KrisJacewicz> i noticed that Terminal app ignores .bash_profile … is that by mistake or by some sort of design?16:28
tgBot<Flohack> @dohbee, Yes but unfortunately the MVVM patterns are loose: Some logic is in QML that belongs one layer below. Its not just the view that is written in the QML part, its also viemodel stuff. fortunately not too much16:29
tgBot<dohbee> right, that's one big problem with a lot of qml apps. there is a tendency to put way too much logic inside the qml, and just run the thing with qmlscene16:30
tgBot<dohbee> which decreases performance16:30
tgBot<Flohack> Absolutely. I will try to remove as much as possible things from QML. But better consider a rewrite, its always messy to do this with old, grown code ;)16:36
tgBot<dohbee> rewrites can also be quite messy16:38
tgBotlminjong was added by: lminjong16:51
tgBot<Stereofont> @lminjong, Hello Min Jong 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! :)17:25
tgBotvetto91 was added by: vetto9117:55
tgBot<Stereofont> @vetto91, Hello Vetto 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! :)17:59
tgBot<Hunter616> (Photo, 734x223) https://irc.ubports.com/XBxgndOX/file_2810.jpg18:32
tgBot<Hunter616> I can not install Ubports on canonical UT. From fastboot to recovery mode (see photo) there is this error18:32
tgBot<Hunter616> (Photo, 959x1280) https://irc.ubports.com/xgNBnhS6/file_2812.jpg18:33
tgBot<Stereofont> @Hunter616, Using what desktop system?18:34
tgBot<Hunter616> ubuntu 17.0418:35
tgBot<Stereofont> You need phablet tools it is not in the repository18:35
tgBot<Stereofont> Installer 0.1.8 appimage works with 17.0418:36
tgBot<Stereofont> I suggest you join the Welcome Room18:36
tgBot<Hunter616> appimage as on debian does not work, the problem is recovery mode18:39
tgBot<JBBgameich> Why shouldn't the AppImage work on debian?18:39
tgBot<JBBgameich> It will work everywhere, it's distribution independent18:40
tgBot<Hunter616> (Photo, 718x64) https://irc.ubports.com/BaZflXjl/file_2814.jpg18:40
tgBot<Hunter616> because when restart the phone there is no longer access18:41
tgBot<Stereofont> You can install a :ppa to get phablet tools18:41
tgBot<Stereofont> @Hunter616, You are not trying dual boot??18:42
tgBot<Hunter616> not dual boot, only image canonical18:43
tgBot<Stereofont> @Hunter616, Okay, just checking18:44
tgBot<Stereofont> https://discourse.appimage.org/t/how-ito-make-an-appimage-executable/8018:44
tgBot<Hunter616> I've already tried appimage many times, and crashes to the adb push file command18:48
tgBot<Stereofont> @Hunter616, Can you put 16.04 on an old laptop?18:49
tgBot<neothethird> I just pushed a new release of the installer, the packages for all platforms are building now and should be ready within the next hour. https://github.com/ubports/ubports-installer/releases/tag/0.1.9-beta18:51
tgBot<Hunter616> wait, I'm trying something18:53
tgBot<Stereofont> https://launchpad.net/ubuntu/zesty/+source/phablet-tools18:55
tgBot<Hunter616> (Photo, 729x168) https://irc.ubports.com/OXfAiUuN/file_2816.jpg19:09
tgBot<Hunter616> it's like this for 10 minutes, is it normal?19:09
tgBot<UniversalSuperBox> Since the recovery is there now, try removing the `--bootstrap` option and run it again19:10
tgBot<Hunter616> (Photo, 744x220) https://irc.ubports.com/Ol3000p2/file_2818.jpg19:51
tgBot<Hunter616> I have 2 phones connected, YT91 .... is sony connected in USB tethering, while 75HA ... is MX419:51
tgBot<UniversalSuperBox> I'm not going to say that udf can handle more than one endpoint being plugged in.19:52
tgBot<Hunter616> @UniversalSuperBox, yes yes yes!!! without --bootstrap and hiding Sony, everything work! the phone must be switched on normally, not in recovery mode.20:36
tgBot<UniversalSuperBox> Interesting pieces of software, these flash tools20:36
tgBot<dohbee> @Hunter616, well, to be in recovery mode you need to have already flashed the recovery that you're passing to --recovery-image. otherwise you do need to be in booted system with adb debug enabled on the device, to flash without bootstrap20:39
tgBot<Rocco 3> Kris, installed Lazarus following your link. Connecting via ssh fro my notebook I obtain this error: Permission denied (publickey)21:29
tgBot<Ern_st> Where is the address for the mailing list ?21:34
tgBot<lduboeuf> Rocco 3 this is a ssh problem, you should check this: https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html22:09
tgBot<Rocco 3> @lduboeuf, Thanks Lionel. I'm trying...22:11
tgBot<Rocco 3> How many things one must knows!!!22:12
tgBot<lduboeuf> @Rocco 3, or this :) http://kriscode.blogspot.fr/2017/12/ssh-and-ubuntu-touch.html22:13
tgBot<lduboeuf> @Rocco 3, tooo many22:13
tgBot<Michele> @Rocco 3, 😂 +122:13
tgBot<Rocco 3> Yesssss22:13
tgBot<Seumas> So when I do an apt-get update in Libertine, it states failed to fetch for vivid (main, universe, multiverse) and vivid-updates (same). This is expected, because Canonical removed support for them or something, right? Should I remove these index files?22:27
tgBot<Stereofont> @Seumas, The servers are dead. No longer supported22:33
tgBot<Seumas> So I'll purge them.22:34
tgBot<Seumas> This command isn't quite working:22:46
tgBot<Seumas> libertine-container-manager exec --command "add-apt-repository --remove ppa:vivid/universe" --id vivid22:47
tgBot<Seumas> How should I tweak it?22:47
tgBot<dohbee> It's not a ppa. Change urls in the sources.list to point at old-releases instead of ports22:52
tgBot<UniversalSuperBox> Right. New images will fix that in the system image22:53
tgBot<UniversalSuperBox> We didn't expect vivid on ports to go down22:53
tgBot<Seumas> So for example in /etc/apt/sources.list I see22:56
tgBot<Seumas> http://ports.ubuntu.com/ubuntu-ports/22:57
tgBot<Seumas> Should I change it to:22:57
tgBot<Seumas> http://old-releases.ubuntu.com/ubuntu-old-releases22:57
tgBot<Seumas> ?22:57
tgBot<dohbee> Just the domain I think23:01
tgBot<Seumas> Spell it out for me please bud.23:02
tgBot<Seumas> You mean:23:09
tgBot<Seumas> http://old-releases.ubuntu.com/ubuntu-ports/23:09
tgBot<Seumas> ?23:09
tgBot<dohbee> Yes23:10
tgBot<Seumas> Right thanks23:10
tgBot<dohbee> ah no, it's http://old-releases.ubuntu.com/ubuntu23:12
tgBot<dohbee> hooray for consistency :-/23:12
tgBot<Seumas> Thanks. Also, gotta make the system writable for this. Fun.23:14
tgBot<dohbee> not to change it inside libertine container23:20
tgBot<dohbee> you need to change the sources.list inside the container23:21
tgBot<dohbee> not the root fs23:21
tgBot<Seumas> Right. Where is it within the container? Or rather within the overall file structure?23:22
tgBot<Seumas> I forget.23:30
tgBot<dohbee> same place23:30
tgBot<dohbee> hmm, i guess you can't "exec sudo vi" with libertine23:31
tgBot<Seumas> No man, I forget the location of the container in the file system.23:31
tgBot<dohbee> the container is in ~/.cache/libertine-container/<id>/root-fs/ i think23:32
tgBot<dohbee> something like that23:32
tgBot<Seumas> Cool, ta.23:32
tgBot<peternerlich> I'm quickly going to shout this out here and then go to bed asap: I often observe a problem when unlocking my device, probably it doesn't take the very first PIN digit or so and I get confused, type the last one (again?) and get rejected. Then I have to try again, and if I'm not messing up, I'm in on this second attempt about 100% of the time. … I don't know whether this is old stuff or obvious due to the E4.5s limitations, in this case just 23:32
tgBotThank you.23:32
tgBot<Seumas> I was able to do a sudo nano on the file from the terminal/root SF, rather than via libertine/the container.23:43
tgBot<Seumas> Seems to have worked.23:43
tgBot<UniversalSuperBox> @peternerlich, I find that the lack of haptic feedback messes me up pretty often. Might be a PEBKAC for both of us, unfortunately. :(23:45
tgBot<mateosalta> Ah, cool. I wanted to try the Vivaldi for arm, and was trying the same stuff to update my container23:53
tgBot<Seumas> Glad my question helped other people too :)23:53

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