/srv/irclogs.ubuntu.com/2017/04/19/#ubuntu-desktop.txt

=== maclin1 is now known as maclin
=== ahoneybun is now known as Guest36814
=== maclin1 is now known as maclin
dufluTrevinho: How are you feeling now?07:44
willcookenight all07:59
willcookeerr07:59
willcookemorning all07:59
seb128hey willcooke, how is australia? ;-)08:01
willcooke:DD08:01
Laneymorning08:01
* willcooke wishes he was still asleep 08:02
dufluMorning willcooke, Laney, seb128.... Australia is fine, until North Korea gets an ICBM08:03
willcookeduflu, you should be able to deploy the "giant tennis racket" defences08:04
dufluIf that's a popular culture reference you should know I am neither cultured nor popular08:05
* duflu shrugs08:05
willcookeI imagine that North Korea's missiles could be repelled by with an ACME style system08:06
dufluOoh08:06
dufluACME-style, not ACME Style System (copyright some fashionista)08:06
TheMusoThe concern with tennis racket defences is whether the Au eastern and western states end up playing tennis with sed ICBM. :p08:07
willcookehttp://weknowmemes.com/wp-content/uploads/2013/03/kim-jong-un-acme-meme.jpg08:07
willcookeetc08:07
davmor2Morning all08:08
dufluMorning davmor208:09
willcookeVery exciting to see traffic on the desktop mailing list again :)08:09
dufluAnd a strange observation: I think #ubuntu-touch is now more populated than ever08:10
TheMusolol08:10
TheMusoInteresting indeed.08:11
Laneywelp08:50
Laneythat's pagerduty satisfied again08:50
Laneya harsh master08:50
chrisccoulsongood morning desktop team08:59
willcookehey chrisccoulson08:59
chrisccoulsonhi willcooke :)09:00
Trevinhoduflu: oh, very well now thanks for asking09:22
Trevinhoduflu: the infection was fixed in couple of days of antibiotics09:23
Trevinhobtw, hi europe :-)09:23
seb128hey Trevinho09:45
Trevinhohey seb12809:46
seb128had a good day?09:46
chrisccoulsondoes gnome-shell have a way to alt-tab between windows only on the current workspace?10:10
ogra_i think there is an extension :)10:12
chrisccoulsonmulti-monitor/workspaces is quite sucky compared to unity tbh. In the activities view, the workspace switcher only shows previews for the primary monitor10:13
chrisccoulsonunity showed previews for both monitors10:14
chrisccoulsonAnd I do most of my work on my external panel, which has to be the secondary screen in gnome shell10:15
chrisccoulsonI can't make my external panel the primary screen, as it's positioned physically to the right of my laptop panel which means I can't reveal the dock on it (i'm using the dashtodock extension) and the activities button is hard to hit (unity had a barrier between screens for this reason)10:16
chrisccoulsonAnd the out-of-the-box setting of only having workspaces on the primary monitor isn't great10:18
chrisccoulsonI'm glad that can be turned off10:19
chrisccoulsonSorry, I'll quit moaning now ;)10:19
seb128chrisccoulson, that's good feedback don't be sorry :-)10:34
chrisccoulsonseb128, I don't know if the theme was discussed yet? Please tell me we're going to fix Ambiance to work nicely? ;)10:34
seb128it was discussed during the meeting yesterday10:36
seb128it's a known problem and needs to be sorted out10:36
seb128unsure who&when though10:36
ogra_chrisccoulson, the workspace grid extension might help10:48
ogra_(to get the workspaces elsewhere and also not in one vertical column)10:49
chrisccoulsonogra_, thanks, I might give that a try10:55
jbichagood morning11:18
willcookehey jbicha11:30
flocculantwillcooke: re all the changes - you planning to have some meeting with flavours - for bits that affect them (of the top of my head from Xubuntu pov, lightdm and indicators do (but no dev so don't ask me more ...))11:34
flocculantobviously waiting for the chaff to settle out :)11:35
jbichaflocculant: it's on our to-do list to discuss lightdm on the ubuntu-desktop list11:38
flocculantjbicha: ack seen all that :)11:39
willcookeflocculant, yeah for sure.  Like you say, once things are settled and we know what's changing.  We certainly dont want to make things hard for you guys.11:39
willcookeflocculant, but feel free to ping in here with any questions any time11:39
willcookethe answer might be "dunno" but dont let that stop you :)_11:39
flocculantwillcooke: yea will do - I'm not shy :p11:39
willcooke:)11:39
flocculant2 of our dev's are in channel too - though timezones for one and work for the other ;)11:40
flocculantI did relay pad url etc to us11:40
jbichawillcooke: I'm surprised you brought up Nylas; the more email clients people suggest, the stronger the no-email-client argument becomes if there isn't concensus on which email client to include11:41
flocculantwillcooke: I'm not sure how other flavours would be affected of course and no idea of they're idling - just thought I'd mention flavours :)11:41
* acheronUK 'idles'11:45
jbichawillcooke: do you use Nylas?11:52
willcookejbicha, I use web mail.  But it seems to be one of the more active clients right now.11:52
jbichaI just installed it but I don't feel like setting up a Nylas account just so I can run the app11:53
willcookefair criticism11:55
=== bregma__ is now known as bregma
jdstrandseb128: hey, are you using any sort of tagging for gnome/wayland issues? I've collected a few and wanted to make sure they showed up on your radar12:53
jbichaI suggest just using the tag 'wayland'12:58
* jdstrand nods13:01
seb128jdstrand, hey, no sorry I've not been switching focus on playing with new things yet, busy with 17.04 and planning still, you seem quite eager to start on the next cycle though :-) ... I was going to suggest asking jbicha but he just replied ;-)13:01
jdstrandseb128: well, I'm assigned some snappy work wrt wayland, so yes, I'm using it :)13:01
willcookejdstrand, are you working on Wayland interfaces already?  That was something I want to get kicked off and was just ponder who could work on that13:02
Trevinhowillcooke:  I can have a look to those too, if needed.13:02
willcookejdstrand, as in.. if you are, do you need some help?13:02
jdstrandwillcooke: I am working on waland and basic gnome3, yes. not portals13:03
jdstrand(like how we have x11 and unity7, I'd like wayland and gnome)13:03
jdstrandgoing to put plasma in there too13:03
jdstrandTrevinho: I can ping you on the PR13:04
willcookejdstrand, yeah, I was thinking the same re: unity7 etc.  So, you want some help?13:04
jdstrandwillcooke: the thing I could use help with is XDG_RUNTIME_DIR and this forum topic: https://forum.snapcraft.io/t/wayland-dconf-and-xdg-runtime-dir/18613:05
jdstrandbasically, for dconf, it was decided to set XDG_RUNTIME_DIR to /run/user/<uid>/snap.$SNAP_NAME13:05
willcookeTrevinho, thanks for offering, you want to pitch in on that then? ^13:05
Trevinhowillcooke: I can... I'm currently workking in the snap preload to remove some of the desktop-qt* stuff... So that there's path redirection instead of using env variables for everything... And that should be eventually be part of the desktop parts.13:07
jdstrandthat works for dconf because it was coded that way, but allison[m] decided that wasn't the best course after all, and looking at wayland, I agree. wayland puts a socket in /run/user/<uid> so snaps can't find it. even with desktop part shenanigans to find it, then the client code puts another socket in /run/user/<uid>/snap.$SNAP_NAME13:07
Trevinhoso, this is different, but related13:07
jdstrandso then wayland the server can't find it13:08
jdstrandso really, XDG_RUNTIME_DIR needs to be /run/user/<uid> and we should use per-snap bind mounts13:08
jdstrandsimilar to what flatpak does13:08
Trevinhojdstrand: using snapcraft-preload, couldn't be a better solution?13:08
Trevinhojdstrand: so, that we redirect what we need to the proper path in that case13:09
Trevinhoor.... Well, not sure... as I guess we won't have access to that anyway... But, if we grant access to /run/user/<uid>/wayland-soket only, then we can just allow accessing to that13:10
jdstrandTrevinho: well, maybe. I mean we already do a per-snap /tmp, we could do a per-snap XDG_RUNTIME_DIR. the thing with the preload plugin is it will mean every desktop snap to be used on gnome/wayland needs to use it13:10
jdstrandI figured that preload was a 'only if you need it' type of thing13:10
jdstrandactually, that won't work anyway13:11
jdstrandwell, it depends13:11
jdstrandthere is finding the wayland socket in /run/user/uid13:11
Trevinhojdstrand: well... as desktop-<part> are "optional", but withouth them things won't work....13:11
jdstrandbut there is also putting the client side in the same dir as the server socket13:11
TrevinhoI was thinking to use the preload by default in desktop parts soon... But need to finish some stuff on them13:11
jdstrandotherwise wayland can't find it13:12
Trevinhoanyway... Sure, this is just partially related.13:12
jdstrandthat's a lot of conditional logic13:12
jdstrandcause some sockets should go in SNAP_DATA, but these must be in XDG_RUNTIME_DIR13:13
jdstrandalso, recent versions of preload broke a python snap of mine (I haven't looked into it-- I'm fetching a particular git commit now)13:14
jdstrandso I'm somewhat concerned about that13:14
jdstrandlet me add my wayland findings to that forum post, then the conversation can be brought up there13:14
Trevinhojdstrand: oh, what broke your script? Let me know, as I could be the cause too :-)13:15
Trevinhojdstrand: and I've a rewrite in c++ in progress of it... And some other changes.13:15
jdstrandTrevinho: all of a sudden things were racy and the tool would sometimes segfault. https://code.launchpad.net/~myapps-reviewers/review-tools/+git/review-tools13:16
jdstrandTrevinho: this is the workaround: https://git.launchpad.net/review-tools/commit/?id=5446aecf89902f70e62acd72197313c303066b6513:17
Trevinhojdstrand: did you try to go back in revision?13:17
Trevinhoah i see13:17
jdstrandTrevinho: (don't worry about the build-packages part, that is a separate thing)13:17
jdstrandTrevinho: if you build with master, then install the snap and then do 'snap-review ./review-tools*.snap' (or any other snap) you can see what I mean13:18
Trevinhook, I'll check that tomorrow13:18
Trevinhojdstrand: any way to reproduce?13:18
Trevinhook13:18
jdstranddo it over and over again. it usually segfaults. it sometimes doesn't13:18
jdstrandTrevinho: if you are building on amd64, make sure the build-packages is uncommented like in that commit13:19
Trevinhojdstrand: fun that probably one of the commits causing issues, is the one that allows it to run X11 apps...13:19
Trevinhoouch, debugging under snap isn't the funniest things to setup :-)13:20
jdstrandTrevinho: for context, it is using preload for python3-magic and finding various magic files13:20
Trevinhoack13:21
Trevinhojdstrand: related and urelated... But do you have any clue, why if I "access" or "stat" a .dotted file/folder in my home that is indeed not readable under snap, these don't return -1?13:28
Trevinhojdstrand: it's something I'm doing in still in preload, at a certain point my app tries to access to ~/.ssh (that for some missing features points to my /home/user/.ssh) and... at that point if I access that path, it won't return -1. Although it's not readable, of course13:29
Trevinhoin fact in the very same scenario, C++'s std::ifstream (pathname).good () returns false.13:30
seb128Trevinho, the preload thing is a hack and feels wrong to me, big -1 on using that for desktop part imho13:30
jdstrandTrevinho: yes. let me get the bug number13:31
Trevinhoseb128: it's really the only way we have to ensure we access to the proper paths...13:31
Trevinhoseb128: env vars don't cover all the things13:31
jdstrandTrevinho: https://bugs.launchpad.net/apparmor/+bug/165543513:31
ubot5Ubuntu bug 1655435 in AppArmor "stat() unconditionally allowed via apparmor_inode_getattr()" [Undecided,Triaged]13:31
Trevinhoseb128: and if we're not going to proper bind mounts, ever... there's no other ways to cover many cases13:31
seb128Trevinho, you can make code rellocatable as well13:31
Trevinhoseb128: what you mean?13:32
seb128Trevinho, it's a big hammer, might be needed in some cases but shouldn't be default imho13:32
seb128Trevinho, code can be made to look at proper env variable or such if needed13:32
Trevinhoseb128: well, the way preloads work is that... If the path the apps tries to point exists, and it's readable... then it uses it. Otherwise it looks under $SNAP... This is not wrong imho13:33
Trevinhoseb128: sure, but so many tools won't do that13:33
Trevinhoseb128: so... basically it's conservative in the way it does...13:33
seb128still it's hacking and creates lot of un-necessary syscalls13:33
seb128hackish13:34
Trevinhothis is true...13:34
Trevinhobut... That's where we are13:34
Trevinhoseb128: the hack of using a /snap/<name>/current prefix for building is even worse imho...13:34
seb128it's not an hack13:35
seb128it has no side effect13:35
Trevinhoseb128: as for example, it doesn't work in sub-libs...13:35
Trevinhoseb128: and it doesn't work in non-ubuntu env13:35
seb128why not?13:35
Trevinhoas /snap is not there in non-ubuntu13:35
seb128right, I pointed that on the list several time13:35
Trevinhoit might be in /var/snapd/...13:35
seb128we should have a /run stable entry point13:35
seb128so we could use that one as prefix13:36
seb128that symlink to the real dir13:36
Trevinhoseb128: anyway the main issue of it, is that... if you include a lib that has plugins... you need to rebuild all with that prefix. And it's not nice.13:36
seb128building on hacks is not nice either...13:36
pittixnox: "gnome-terminal -x mutt" :)13:37
Trevinhoseb128: there was some discussion in https://github.com/nextcloud/client_theming/pull/77#issuecomment-284541717 too13:37
Trevinhoseb128: well, it depends.. If in future we'll going to have proper bind mounts, then it would make the transition easier..13:38
Trevinhoin general I noticed more reliability on preload than using the desktop launchers... Considering that it has not the problem of the first-slow-startup13:39
Trevinhoanyway... I can just add dependent parts that uses it optionally... It's not that I want to push it, but in general I find it to be more reliable than other things13:39
TrevinhoWell, since when I made it working with X :-)13:39
TrevinhoAnyway, time to go for me...13:40
TrevinhoSee you tomorow.13:40
jdstrandwillcooke, seb128, Trevinho: fyi, https://forum.snapcraft.io/t/wayland-dconf-and-xdg-runtime-dir/186/413:43
jdstrandbye Trevinho :)13:43
seb128Trevinho, night13:44
xnoxpitti, what is mutt?13:45
ogra_xnox, evolution without toolkit ;)13:46
pittixnox: vim's best friend :)13:48
pitti(actually it says the other way round, but I consider a friendship relation as symmetric)13:49
jdstrandwillcooke, Trevinho, seb128, allison[m]: ah, https://forum.snapcraft.io/t/wayland-dconf-and-xdg-runtime-dir/186/514:16
seb128jbicha, kenvandine, I changed the "approved" column on the MIR_List wiki to "-" for things that were in main before, like as "not applicable"14:45
seb128those just need to be moved back14:45
kenvandineseb128, thx14:46
jbichaseb128: cool, I asked earlier in #ubuntu-hardened about that but didn't get a response yet how those would be handled14:46
seb128k14:48
seb128in the past we just re-promoted things14:48
seb128but doesn't hurt to ask14:48
seb128jbicha, some of the packages names in that table start with a "-", does it mean something or just formatting inconsistency?14:49
seb128like "- gnome-settings-daemon "14:49
kenvandineno14:49
kenvandinei think that's is nesting it under something else that depends on it14:50
seb128vs "gnome-control-center "14:50
kenvandineat least i suspect14:50
seb128oh14:50
jbichait's undocumented nesting14:50
kenvandinelike mozjs is under gjs14:50
seb128g-s-d depends on g-c-c?14:50
seb128the other way around sorry14:50
kenvandineyeah14:50
seb128k14:50
seb128thanks :-)14:50
seb128that makes sense14:50
seb128there is probably more of that to add then14:51
jbichagnome-shell depends on everything else in group 1 though14:51
kenvandinejbicha, what exactly is Old MIR?14:51
seb128like gnome-characters uses js stuff14:51
kenvandinejust it had a MIR that was never approved?14:51
kenvandineoh, at least a couple were14:51
jbichakenvandine: it was previously in main with an approved MIR14:51
kenvandineso then approved should be a "-"14:52
jbichasome stuff has always been in Ubuntu so it never had a MIR14:52
kenvandineyeah14:52
jbichakenvandine: yes14:53
alexarnaudHello all :) !14:54
* kenvandine edits14:54
alexarnaudhttps://code.launchpad.net/~ksamak/compiz/ezoom_focus_tracking/+merge/32164314:55
alexarnaudandyrock: Do you wait something more for the this MR ?14:55
andyrockandyrock: I need to take another look but not sure I can't right now14:56
alexarnaudandyrock: OK, when you think you could take a look to that? We wait the merge of this to paid ksamak and we are going to improve focus tracking often so we wouldn't increase the size of the MR each month.14:57
alexarnaud:)14:58
andyrockalexarnaud: I'll try to review today/tomorro15:06
andyrock*it15:06
andyrockI guess Trevinho can take a look too15:07
alexarnaudGreat,15:07
andyrockbut merging will require time15:07
alexarnaudandyrock: I know that, we have take time to develop and test this code also. I'm using this code everyday to use my computer.15:08
alexarnaudIt will make Ubuntu more accessible for low-vision persons.15:08
andyrockI know but we also need to make sure that this does not conflict with unity15:09
willcookekenvandine, installing Ubuntu GNOME here, I just saw Brasero whizz past.  That's one for the "should we / shouldn't we" list. :)15:10
willcookecc: seb128 jbicha ^15:11
jbichawillcooke: what version are you installing?15:12
willcookejbicha, installing ubuntu-gnome-desktop on a 17.04 machine15:12
kenvandinewillcooke, we should be looking at zesty15:12
kenvandinecould be quite a delta15:12
willcookeis it dropped from there already?15:12
kenvandinehaven't checked yet15:13
jbichain 17.04 I split Brasero's Nautilus extension out of Brasero and only the Nautilus extension is installed by default in new installs15:13
willcookeahh15:13
willcookeyeah, looking more closely its not installed15:13
willcookesorry15:13
jbichait has some nice integration but you don't have to deal with brasero's outdated and poorly maintained main UI15:14
jbichayou can right click on an ISO to use it to burn a CD/DVD15:14
willcookeooh, nice15:14
seb128kenvandine, 17.04 is zesty no?15:15
kenvandineoh whoops :)15:15
kenvandineconfused with 16.05 :)15:15
seb128also I don't think we want to start from Ubuntu GNOME15:15
kenvandine0415:15
seb128we probably want to start by switching the desktop and keeping our apps selection15:15
kenvandineyeah, i'm installing zesty in a VM now15:15
kenvandineand will start by installing gnome-shell15:15
seb128then we can review the diffs and see what we want to bring in15:16
kenvandineand build from there15:16
seb128good plan15:16
seb128did you read the meeting log yesterday?15:16
seb128La_ney set up a ppa15:16
kenvandineseb128, i was quieting listening :)15:16
jbichaI have a wishlist bug for that to be integrated into Nautilus directly https://bugzilla.gnome.org/77249515:16
ubot5Gnome bug 772495 in File and Folder Operations "Add support for writing disk image to CD/DVD, etc." [Enhancement,New]15:16
ogra_seb128, do you think someone from the desktop team might be able to give a statement on https://forum.snapcraft.io/t/integrate-snapd-xdg-open-into-snapd-repository/100/55 ? (robert did already but i dont think he researched what is there already and has not seen the hack around logind to work around it in the new proposal)15:22
seb128ogra_, robert_ancell already commented, maybe asking him to update according to the new content?16:01
ogra_seb128, well, any comment would be fine so snapd doesnt hack around logind/polkit16:03
ogra_i simple am not heard by the decision maker16:03
seb128I don't understand what those have to do with url handling16:03
ogra_(and i think morphis gave up too)16:03
seb128well it's typical discussion16:03
seb128everybody agrees but Gustavo doesn't and he's not going to move16:04
seb128so people just give up and go do something else16:04
ogra_seb128, snaps run inside the core snap ... to hand out the url request to xdg-open on the running desktop we have a dbus service sitting in the session currently that the snap can hand the url to16:04
seb128yeah, I'm pretty well aware of how the current implementation works16:05
seb128and it's the logical thing to do16:05
ogra_what gistavo wants is to not use dbus, instead fish the session address out of logind via some env inspection of processes in proc and then force call xdg-open directly16:05
seb128the service should just be shipped with snapd to avoid the depends issue16:05
seb128that seems hackish and likely to bite back16:05
ogra_what i'm trying to do is to convince him to keep the (rather sane in that light) current implementation16:06
seb128+116:06
ogra_but i'm unheard or turned down ... so i'd like to have someone comment that he considers more compenent than me ;)16:06
ogra_and yes, robert commented but pretty high up in the thread16:06
ogra_it evolved since16:07
seb128we can do that I guess16:08
ogra_thanks :)16:08
seb128yw16:08
willcookenight all17:41
=== JanC_ is now known as JanC
chrisccoulsonHeh, I found something I like in gnome shell that isn't in unity18:25
chrisccoulsonnight mode is pretty cool18:25
ryanleesipeschrisccoulson: right?22:37

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