[00:05] RAOF: at the end of the day, if i don't agree with your power policy i can always for (;;) ; [00:06] desrt: But that won't spin up > 45W worth of GPU :P [00:06] also: unless you use proper access control at the kernel level, i can always ship my own nvidia driver blob and hit up the device node for myself [00:07] Well, you can try. :) [00:08] I think we *do* have proper access control, actually. === duflu_ is now known as duflu [05:59] god morning [06:45] Good morning [06:51] * olli waves at pitti [06:54] hey olli [07:31] morning [07:37] bonjour didrocks [07:38] didrocks: btw, if/when you plan to work on the enabled(preset) or similar things, you know src/test/test-install.c? with those unit tests this is much easier and faster to reproduce/iterate/fix [07:41] pitti: oh nice, I'll work with that. Thanks to the pointer :) [07:41] didrocks: and it's rather important to have tests for this behaviour, too :) [07:42] pitti: It would be good to have some other feedbacks anyway [07:42] yeah :) [08:00] pitti: so, for alternatives, I was thinking about using systemd alias rather than handling ourselves the symlinks [08:00] that removes a little bit of internal systemd knowledge that we put in postinst [08:01] didrocks: not sure what you mean? [08:02] pitti: here is an example for lightdm: http://bazaar.launchpad.net/~didrocks/lightdm/systemd-alias/revision/2099 [08:02] didrocks: oh, for the display-manager; I thought for wants/ :) [08:03] ah no, for the thing I was thinking yesterday evening :) [08:03] so, how to treat alternatives, basically [08:03] didrocks: oh, I like that! [08:03] the benefits is that it's compatible with existing ones, so we don't need to migrate everything in one shot :) [08:04] if you +1, I'll propose patches to debian (and maybe upload right away in ubuntu?) [08:04] didrocks: but please note that e. g. systemctl reload won't work under upstart/sysv [08:05] pitti: that's the thing I need to test, will it error out? [08:05] (need to start a vm to test) [08:05] fairly sure [08:05] let me have a try [08:05] if so 2>/dev/null || true [08:06] didrocks: is-enabled/enable etc. also work without systemd, but this one might not -- so it at least needs to be guarded [08:06] didrocks: [ -d /run/systemd/system ] [08:07] pitti: you prefer to guard that only call? like [ -d /run/systemd/system ] && systemctl daemon-reload [08:08] yeah, it's failing [08:11] didrocks: I'm not 100% sure about is-enabled; if that works without systemd, use it; otherwise we need to check the file system directly as previously [08:11] pitti: it does, just tested [08:15] pitti: ok, so that would look like this in the end: http://bazaar.launchpad.net/~didrocks/lightdm/systemd-alias/view/head:/debian/lightdm.postinst#L72 [08:17] didrocks: why do you need the daemon-reload at this point? you didn't change anything yet? [08:18] pitti: we just dropped a new .service file from the package installation, no? [08:18] didrocks: oh, for this one [08:18] and on upgrade, we added the alias [08:18] yeah [08:19] I was hoping that we would have some option like --force-unless-mask [08:19] didrocks: so please run this by Josselin Mouette [08:19] but seems a little bit overkill :) [08:19] ok, doing [08:20] didrocks: I worked with him on the sprint on that general scheme, and has a great understanding of that [08:20] didrocks: and we should hten have the same approach in gdm [08:20] right :) [08:20] didrocks: so to be clear, this is no functional change, just simpler/fewer file system assumptions, right? [08:20] (on the way -- possibly -- to reducing symlinks in etc) [08:21] pitti: exactly, it's the same mechanism as of today and the results in term of symlinks are the same [08:22] purrfect [08:22] but we don't rely on internals [08:22] so, hoping that if we can convince on clearer /etc… :) [08:22] even if not, using the official is-enabled/enable API is better anyway [08:23] yeah [08:38] * willcooke -> sick. Ping if you need anything, but I'll be mostly not here [08:39] urgh, good luck willcooke :/ [08:39] :) [09:02] yo [09:02] hey Laney [09:03] morning desktoppers [09:03] morning LocutusOfBorg1 [09:03] what's up [09:37] hey Laney === vrruiz_ is now known as rvr [09:58] didrocks: FYI, offline for ~ 2 h to reinstall my laptop; just got a replacement for the dying hard drive [09:59] oh ok! ttyl [10:05] "I can reproduce this", such sweet words when said by an upstream ;-) [10:20] Laney: heh, which ones in that case? :) [10:21] libv4l [10:22] ok ;) [10:22] it's a crash in some asm inside libjpeg [10:22] yeah ... [10:24] http://techcrunch.com/2014/11/19/mozilla-partners-with-yahoo-which-will-become-the-default-search-engine-in-firefox-next-month/ [10:37] so we will use microsoft? :P [10:39] mlankhorst, short answer - no ;) [10:40] long answer? [10:40] (which I presume is the more interesting one) [10:40] larsu, the same :) [10:41] haha :) [10:42] short answer: no. Long answer: nein [10:45] lol [10:45] * didrocks remembers the buzz when we talked about switching to Yahoo on the netbook edition in 2010 [10:45] and all those hard words against us [10:46] I think Mozilla won't have the same treatment "because" [10:47] well, they are at least clever enough to do everything at once ... their advertisement tiles one month, the default search engine next [10:48] we always waited til one issue settled to fire up the next :) [10:48] indeed :) [10:49] didrocks: they're just changing providers, whereas it looked like we wanted to extract more money and are greedy [10:52] larsu: well, they are doing that as their deal is closing, so they want to extract some money, which is understandable :) [10:56] didrocks: of course, but it doesn't seem like that to the public [10:56] at least that's the impression i get [10:56] or they just like mozilla better :P [10:58] nah, the public just freaks more out over scientist shirts than over apps ... the fashion moved on ;) [10:59] that freak-out was justified though [10:59] oh come on ... he wore a present his GF made for him on his big day ... [11:00] you mean its better that he and his girlfriend feel good than all the people he works with? [11:01] how about this: "my girlfriend once gave me a 'the people that make ubuntu are idiots' tshirt and I wore it to UDS - I don't know why the people there were offended" [11:02] well, seeing how petty the web got over the last ten years i slowly start not feeling bad that i'm a german anymore [11:02] he never claimed he didnt know why people are offended [11:02] and he aplologized ... [11:03] what i find horrible is that thw world got so humorless that he had to [11:08] it's really true (and sad) that now, everything is a base of controverse [11:08] ogra_: ya, they certainly overreacted - just saying the sentiment was justified [11:08] didrocks: that's not true [11:08] soon, we'll have everyone suited the same, with the same hair cut, in a very white room [11:08] overreaction might be *the* word describing this decade :) [11:09] larsu: I'm not talking about that particular case, but seeing the number of meaningless "buzz" we are seeing… [11:09] buzz on $random polemics [11:09] and i'm scared where that might go ... socially ... [11:09] ogra_: completely agree [11:10] the president has his tie knot never done right -> first world problem [11:11] (and this really happened for months in France) [11:13] didrocks: obviously this is a different problem and I totally agree there [11:13] the press was talking about whether the 1st lady is allowed to have a tatoo in Germany for a while [11:13] ridiculous. [11:14] well, that just the press being the press ... [11:14] *that's [11:15] the press wasn't like that before… [11:15] or not that much [11:15] and it's because the society asks for this [11:16] its a two edged thing ... it is to generate more money due to more sensationalism ... the society gets more numb ... you need more sensationalism ... etc etc === ara is now known as Guest1529 === m_conley_away is now known as m_conley [17:18] didrocks: maybe no one cares about switching to yahoo because everyone who does care already switched to chrome ;) [17:18] achiang: ahah, I'm sure this is not untrue :) [17:20] btw, i understand there is still some bug in unity/compiz 14.04.1 where resuming on multi-monitor setup results in lost window placements... [17:20] is that stuck in the sru queue somewhere? [17:23] hum, I didn't hear about it, bregma? ^ [17:23] or Trevinho? ^ [17:24] achiang: never heard of that... [17:24] achiang: get a crash also? [17:24] I have similar [17:24] no crash, it's just unity/compiz losing its mind [17:24] weird... and i *only*suspend... :o [17:24] achiang, I haven't heard of a problem on simple resume [17:24] if I turn one of my monitors off then it gets disabled as far as the system is concerned [17:24] bregma: it's one of my worst papercuts :( [17:24] this messes up the window placement [17:25] i.e. they all get put on one monitor [17:25] oh, unless it's the timing-related problem where a monitor does not come back online right away and Compiz thinks it's been removed [17:25] ah, well... that's because one monitor gets turned off, and thus it's what we have to do.. [17:25] it might be the case where you unplugged it [17:25] Trevinho, it shouldn't move the windows to a different workspace [17:26] in my case, chrome on laptop display (maximized) before suspend, will resume maximized on external monitor [17:26] mh ChrisTownsend did some work on that [17:26] which is what it does for me when I lose my monitor (damn that loose connection) [17:26] i also have workspaces turned on [17:26] and this is over vga, not anything fancy like displayport or hdmi [17:27] either way, there's no queued fix for that at the moemnt [17:27] how can i collect debug information? [17:27] to file a bug? [17:29] "ubuntu-bug compiz" should do the trick [17:29] ok [17:30] also, is there a way to restart a unity session from the command line? [17:30] i have another hard to reproduce on demand (but happens about 2x a week) where resume from suspend results in compiz and parts of unity (like unity-panel-service) going crazy [17:31] and no new windows can be opened [17:31] the only way i can recover is to reboot the entire machine [17:31] would be nice to just restart unity if possible [17:35] achiang, 'setsid unity >/dev/null 2>&1 &' should work [17:36] bregma: awesome, thanks [17:36] bregma: i can do that from VT1, and it'll restart on VT7? [17:36] you'd want to set DISPLAY=:0.0 [17:38] ideally you could just type 'restart unity7' from the command-line, but doing it from a VT means needing to set your DBUS_SESSION and UPSTART_SESSION_ID and that can get complicated [17:38] achiang: doing that from VT1 you'd also need dbus... [17:39] hm [17:39] ouch bregma preceded me :P [17:39] i mean, my goal in this scenario is to preserve my session, like all my open editor windows, etc. [17:39] achiang: but, if you've a terminal open in your session, once yuou load it you can restart from there [17:39] I guess I should write a quick script just for this purpose, except it would be tricky on a multi-seat system [17:40] Trevinho: ah, so if i have a terminal open in the session, i can just type that "setsid" command without worrying about anything else? [17:41] achiang: if you have a terminal, and you get a compiz crash... then you can go to vt1, launch "unity", and then go to vt7.... There launch "unity" again from the terminal [17:41] in this way it will load all the proper dbus and upstart env vars [17:41] (and many others :)) [17:42] eval "$(tr '\000' '\012' that should work [17:42] * bregma wishes he could get more obscure in public [17:42] Trevinho: what if unity is still mostly running, but can't do interesting things like open new windows? [17:42] bregma: ok, run that from an open terminal in existing unity session, or run from VT1? [17:43] achiang: mh, that's a weird case [17:43] achiang, either one should work [17:43] Trevinho: well, i hit it about 1.5x per week [17:43] bregma: thx [17:45] seems exacerbated by running spotify desktop client + hipchat desktop client [17:45] * bregma wonders if rewriting that command in Perl could obfiuscate it more === alan_g is now known as alan_g|EOD [18:02] * Laney goes away [18:02] ttyl! [18:05] see you guys [18:21] can someone help me with ssh? im having a hell of a time [18:21] im trying to delete my keys from my server, but it isn't letting me log into the thing now [18:24] humbletoad: this channel is for development, user support is on #ubuntu === m_conley is now known as m_conley_away