=== bjf is now known as bjf-afk [00:26] * rickspencer3 braces for $sudo apt-get dist-upgrade tonight [00:27] rickspencer3, have you not gone lucid yet? [00:28] robert_ancell, not yet [00:28] but tonight [00:29] rickspencer3: Should be fun [00:30] I hope your computer doesn't have an accelerometer [00:31] Xorg decided my accelerometer was a joystick so when I'd bump my desk or press on the keyboard it'd cause it to move a little which would move my mouse to the center of the screen [00:31] was good times [00:31] hehe [00:31] I will be upgrading my desktop first, so should be ok [00:32] Once I figured it out it was pretty awesome, actually [00:32] I picked my laptop up and moved it around to open a terminal and turn it off :) [00:33] hehe [00:36] Amaranth: what was the button click? [00:36] * Keybuk has images of Amaranth slamming his laptop onto the floor to click on things [00:36] Keybuk: Probably dropping the laptop but I just used the mouse for that :P [00:36] you know what this means? [00:36] X HAS HOT-PLUGGABLE ACCELEROMETERS! [00:37] * Keybuk images the possibilities [00:37] ...err...possibility [00:37] ...err... [00:37] heh [00:41] damnit [00:41] I just realised why this kernel build is taking forever [00:41] forgot to comment out the additional flavours [00:42] building 5 kernels is always fun [00:44] I had to turn my heating off :p [00:44] Keybuk, is that kernel build going to make the desktop come up faster? [00:44] hehe [00:44] rickspencer3: it includes a patch to the i915 KMS driver [00:44] we're down to 11.82s [00:44] rickspencer3: I saw [00:45] chip chip chip [00:45] rickspencer3: I love the fact that a quick bug fix to the X package got it within budget [00:45] rickspencer3: based on previous experience I think my compiz packaging changes will drop that down to 11 [00:45] I don't think tjaalton even realised it was a performance problem [00:45] though that being said [00:45] xkbcomp caching isn't working [00:45] so X may get even faster again [00:45] If X gets under budget we could use some of that time :) [00:45] Amaranth, thank you :) [00:46] rickspencer3: but seb128 doesn't seem to want me to do it the way I am [00:46] hmm [00:46] so I'll have to have ugly package names like compiz-plugins-universe [00:47] usually turns out seb128 is right ;) [00:47] Well I want to add about 70 new binary packages (one for each plugin) instead of just splitting things into "stuff we use" and "stuff we don't use" [00:47] hmm [00:48] s'lot [00:48] 70 binary packages feels bad ;) [00:48] without knowing anything ;) [00:48] we have a lot of plugins :) [00:48] actually it'd be 54 new binary packages [00:48] yeah. but maybe packages is not the right mechanism to split them up on a one-by-one base [00:48] since I wouldn't split the compiz-fusion-plugins-extra package [00:48] what would we gain by such a split? [00:49] well the main goal is to not install plugins we don't use [00:49] e.g. how does that reflect on user experience? [00:49] but I figured why I was in there I could make it possible for users to only install the plugins they actually use as well [00:49] why not? disk usage (unlikely) startup time due to unneeded loading? [00:49] (why not ship not used plugins) [00:49] asac, compiz only loads the plugins in use? [00:49] i dont know [00:49] ;) [00:50] well not installing compiz-fusion-plugins-extra cut 0.5 seconds off login time [00:50] i want to understand the motiviation. maybe it loads everything on startup and just disregards what is not used (this would indicate that not installing it might help in time consumptioN) [00:50] what happens if you link all the plugins into compiz itself? [00:50] so instead of loading 1,461,395 .so files [00:50] compiz stats at least the .so and the .xml file and libcompizconfig (and thus compiz via the ccp plugin) loads the information for _every_ installed plugin [00:50] it just has them all built in? [00:50] Keybuk: I was thinking about that, actually [00:51] link at least some of them directly to compiz and hack it so when it tries to load those plugins it just dlopens itself [00:51] no [00:51] no dlopen [00:52] link them directly to compiz with an array of structures [00:52] we already dlopen and I don't want to hack that much :P [00:52] which have function pointers [00:52] that's my whole point you numpty [00:52] dlopen() is slow [00:52] the relocations caused by dlopen() are slow [00:52] I was talking to get rid of the IO [00:52] dlopen is slow for already loaded stuff even? [00:52] there is no I/O [00:52] asac: yes, because you still relocate [00:52] hrm [00:52] * Keybuk sees nothing but CPU [00:52] hmm. thought some scope might just fail quick saying "already loaded" [00:52] I see a little IO on mine [00:52] and I would bet money that at least some of that is the overhead of dlopen()ing everything [00:53] rather than just having them builtin with an array of structures [00:53] instead of doing all the actual linking etc. [00:53] oh, that reminds me, we're screwing up huge with compiz right now [00:53] also adding so many packages kicks our already slow packaging index a bit further [00:53] the first time compiz is loaded the ccp plugin loads the XML files and writes out protobuf versions which it can then use instead [00:53] they load a lot faster [00:54] but I'm pretty sure we don't generate those for the .deb so when you guys bootchart the first boot after install... [00:54] where does it load that to atm? user home? [00:54] protobuf that is [00:55] asac: yeah, ~/.cache/compizconfig/ [00:56] much less CPU time to parse protobuf vs XML (especially since it uses XPath) [00:56] so can that be pregenerated in a system location? [00:56] would that be useful? or does that need to be regenned because of user settings anyway? [00:57] although in the bootcharts by the time you see it spawn compiz-decorator all plugins and settings are initialized and most of the CPU usage is after that [00:57] asac: It only needs to change when the xml file changes [00:57] those are system xml files? [00:57] right [00:57] e.g. could be done by a trigger or update-compiz-stuff in postinst? [00:57] the user settings are in gconf [00:57] it could, yes [00:58] ok. but changing those user settings would also require a full cache regen? [00:58] in .cache... ? [00:58] but then compiz would build-dep on libcompizconfig [00:58] no, changing user settings has nothing to do with the xml or protobuf files [00:58] ok [00:58] how much time would you think will those protobuf files save? [00:58] is that worth the effort? [00:58] dunno [00:58] ;) [00:59] I'd need to do a clean install of lucid then two boots [00:59] what state do they remember? [00:59] the protobuf files hold exactly the same information as the xml files [00:59] so you still need to open .so's to decide whether you want that loaded or not? [00:59] so plugin dependencies, options, descriptions of the plugins and the options [00:59] plugins [01:00] bleh, I bet that's why removing compiz-fusion-plugins-extra saved so much time [01:01] asac: no, compiz should just be loading the core.xml file and the plugins and xml files for plugins specified on the command line then ccp tells it what the active_plugins setting is and it loads those plugins and xml files [01:02] but compiz can also tell you what plugins are enabled and I'm pretty sure it checks that on startup by stat'ing everything in /usr/lib/compiz... [01:02] s/enabled/installed/ [01:03] hmm [01:03] stating or dlopening? [01:04] Amaranth: ? [01:04] just stat, iirc [01:04] that should be quite quick. if its just a timestamp compare [01:04] at least i dont have a zilions of files there ;) [01:04] so the xml files parsing would be saved by doing the caching? [01:06] ok, it doesn't stat all the plugins unless you ask it to via dbus so that isn't a problem [01:06] so the main thing is going to be core reading the XML files (required) and not having the protobuf cache for libcompizconfig [01:07] right. and the protobuf saves us from doing more parsing? [01:08] but at least on my latest bootchart almost all the CPU usage is _after_ compiz-decorator is started which means at that point compiz has initialized all the plugins and loaded all of their settings from gconf [01:08] so the only way to know if there is any win at all is to try it [01:08] yeah. probably [01:08] so I need a clean lucid install and bootcharts for the first boot and the second boot [01:09] I have no idea how people are producing bootcharts for their mini 10v systems though [01:09] If the first boot already has bootchart and that is being used this could be a win [01:09] if not, we've already got the protobuf files [01:10] but that does seem to prove dlopen isn't hurting at all unlike what Keybuk was saying [01:11] I produce lots of bootcharts for mini10vs [01:11] what charts would you like? [01:11] Keybuk: When you do the daily bootcharts is that automated? [01:11] yes [01:11] If so, is that the very first boot into the installed system? [01:12] second boot [01:12] Ok, so now I'm lost [01:12] what would you like to know? [01:12] What the heck compiz is doing using so much CPU _after_ it has loaded all of the plugins and their configuration :) [01:13] I suspect printf() will be your friend [01:13] If you look on your bootchart all the compiz CPU usage is after compiz-decorator starts but that doesn't start until compiz is "finished" loading [01:14] some deferred work in the main loop perhaps? [01:14] an idle timer function? [01:14] I don't think we even have those [01:14] http://people.canonical.com/~scott/tmp/max-lucid-20091209-1.png [01:14] wow that's a very long chart [01:14] that's a "first boot" chart of alpha 1 [01:14] http://people.canonical.com/~scott/tmp/max-lucid-20091209-2.png [01:14] that's the "second boot" chart [01:15] (the second boot charts are the ones that get published on daily-bootcharts) [01:15] Amaranth: mine are longer than most people's ... I don't like to brag [01:15] heh, what is up with udevd there? [01:15] nothing [01:16] bootchart normally condenses things a bit [01:16] ok on your charts compiz is showing a lot of CPU usage before compiz-decorator loads too [01:16] hides a lot of the detail [01:16] but most of it is still after [01:16] when I generate them myself, I tell it not to do that, so I get all of the processes and detail [01:16] they're less easy to read, but have more information [01:17] Amaranth: so what I'd do is start sticking printfs throughout compiz [01:17] this is going to suck :P [01:17] grab the kernel uptime clock and put that at the front [01:17] (or just write to the kmsg device) [01:17] then you'll have numbers that tell you how far into the boot it was doing what [01:19] oh, it looks like robert-ancell already did all of this [01:19] there is a nice 090_profiling patch in compiz that just needs a build flag to enable [01:20] a nice patch which I broke with my changes, whee [01:30] don't you just hate that [01:30] gcc has stuff to add profiling hooks to functions too [01:30] that's quite handy [01:30] you build your source with extra flags [01:30] and LD_PRELOAD in a hook library when you run it [01:31] your hook gets called for every function call [01:31] so you can instrument it [01:32] neat [01:33] if I'm reading this correctly even with a warm cache and already logged in compiz takes 2.14 seconds to load :/ [01:34] takes 0.01 seconds to load and parse the core.xml file, not as bad as I thought [01:35] 0.06 seconds to load our "required" plugins (ccp, move, resize, decoration, place) [01:35] oh, and crap [01:36] it loads the settings for each plugin as it loads the plugin (duh) so we've only loaded those 5 plugins when compiz-decorator starts [01:37] I'll have to check this on boot but it looks like loading most of the plugins is "free" [01:37] except of course for the ones we absolutely want to have (wall, animation, commands, etc) [01:37] brb, rebooting === eeejay_away is now known as eeejay [01:44] hmm, according to this compiz starts in about 0.6 seconds on boot [01:45] but 0.77 the second boot (with ureadahead that time) [01:45] hrm [01:45] on your bootchart? [01:46] no, with this profiling patch [01:46] I think you're getting too preoccupied with when compiz hits the main loop [01:46] it goes from startup to the first time eventLoop is idle [01:46] if it hits the main loop quickly, that's nice [01:46] it's still churning away [01:46] so whatever is eating all the CPU must be happening afterwards [01:46] and apparently compiz does have idle timers because all plugin loading happens in the eventLoop [01:47] so the first time it is idle that should mean it is done loading [01:47] it hits the first idle after it has loaded all of the plugins and their settings, anyway [01:48] so any further processing is within the plugins and the (most likely) unavoidable overhead of using compiz [01:51] at this point I'm thinking using metacity by default in lucid is going to be far less painful then trying to optimize the animation plugin [01:54] why is there any animation? [01:54] nothing is happening on screen [01:54] just a big window in front of everything with a bit of a throbber [01:54] Keybuk: the animation plugin does something with basically every X event [01:55] can we turn that plugin off until we're ready? :p [01:55] compiz sort of "flashes" when you enable/disable a plugin [01:55] so make the plugin start "off" [01:55] and don't hook into X until it's turned "on" [01:55] hmm, actually it doesn't seem to flash anymore [01:56] heck we could delay enabling every plugin except ccp, move, resize, place, and decoration if you want to go down that route [01:56] oh, and session [01:56] why do we even need those? [01:57] we have no windows to move, resize, place or decorate [01:57] just one big plymouth/xsplash window which was already in the right place anyway [01:57] well we need ccp, session, and decoration so we can put everything back where it was before (if you saved a session) === eeejay is now known as eeejay_away [01:57] the others are just the ones we force you to have enabled and the way we do that prevents us from doing any tricks with delayed loading [01:57] it doesn't need to get put back until after everything else is loaded surely? === eeejay_away is now known as eeejay [01:58] Do you want xsplash to go away _then_ have all of your windows gain a decoration and jump to the proper position? [01:59] no [01:59] just do it last [01:59] in one step [01:59] otherwise for the rest I guess I just need compiz to hook into the same thing xsplash does to know when to go away [02:00] of course now we're cheating and dumping all the CPU load right at the time the user is going to start trying to use the system... [02:01] no, just before [02:01] but I guess we do that with other things too [02:01] basically [02:01] right, it'll start happening while xsplash is doing the fade [02:01] if you're saying that CPU load is all compiz responding to things that are happening that the user can't see anyway [02:01] why not disable all that [02:02] and then, just before xsplash goes away, do it all in one great big lump [02:02] then take xsplash away [02:02] no [02:02] do it before xsplash fades [02:02] uh, how? [02:02] co-operate between the two [02:02] I'd like to point out compiz doesn't do dbus [02:02] xsplash tells compiz it's going to fade, and waits for compiz to say "I'm done" [02:02] that kind of thing [02:02] really? [02:02] * Keybuk spies a compiz dbus plugin [02:02] well, we have a dbus plugin but then we'd have to load a plugin :P [02:02] Yeah, I sort of wrote that plugin :P [02:03] you said loading plugins was free :p [02:03] and were blaming what the plugins did when nobody could see [02:03] all I'm pointing out is that there's a solution for any problem :D [02:03] well looking at the profiling the delta between loading that plugin and loading the next is 0.01 or so [02:03] sure but a solution that requires 10 hours of work is going to take a month for me to finish [02:04] that's cool [02:04] we have more than four [02:04] for now, adding sleep (10) into compiz startup would be a good way to find out if that was the problem? :p [02:04] if we make compiz start, init, then just sleep [02:05] see what happens [02:05] yeah, I could put that right before eventLoop, would be a great way of seeing if all of this is happening in the eventLoop anyway [02:06] if you throw me a deb (PPA is good) then I'll happily test it out on the mini [02:06] hrm, I really need another computer to run this stuff on [02:06] having to keep rebooting the one I'm on IRC with is lame [02:08] * Amaranth debates wiping out the computer people play games on [02:14] Keybuk: btw, that idea of linking plugins directly to compiz is starting to sound better and better [02:15] I've thought up a way to do it without getting too crazy and would still allow loading plugins the normal way [02:15] oh? :) [02:16] usual way is that each plugin has some kind of struct-o-function-pointers [02:16] which is what you find with dlopen() anyway [02:16] And we do, right [02:16] to build them in, you just have a script make a C file that turns those into an array [02:16] then for (plugin **p = builtin_plugins; p && *p; p++) [02:16] *p->init() [02:16] type thing [02:17] yep, will look at that this weekend [02:17] this is [02:17] exactly [02:17] how the kernel works ;) [02:17] if you =y, you get the same code (mostly) [02:18] then an auto-generated C file that has pointers to them all [02:18] of course if I also want to make compiz stop loading the XML for the plugins this could get somewhat more complicated [02:18] but XPath is apparently not as slow as I thought [02:18] Either way compiz in lucid is going to look nothing like upstream though :/ [02:19] but they do want to be able to compile plugins into core upstream as well so I suppose I could just port the stuff to the C++ code and submit it there once I'm done === eeejay is now known as eeejay_away === eeejay_away is now known as eeejay === eeejay is now known as eeejay_away === eeejay_away is now known as eeejay === eeejay is now known as eeejay_away === robbiew is now known as robbiew_ [05:21] hi. can u use the same image ud install from a cd, on a usb pendrive? [05:23] Omen_20, yes, use System>Administration>Startup Disk Creator [05:23] See also https://help.ubuntu.com/community/Installation/FromUSBStick [05:24] oh ok. so this makes an iso image usable from a pendrive? [05:24] yes [05:25] sweet. thanks! I hoped there was an easy way. CDs were starting to feel wasteful and now that im on break and have a TB drive I want to try out tons of stuff. [05:25] Omen_20, np, have fun! [05:26] :D [06:49] Good morning [06:53] Guten Morgen pitti [06:53] bonjour didrocks [07:29] morning pitti [07:32] hey glatzor [07:49] hello bryce, do you know how I could access the icon of a window from gtk? [07:49] bryce, the WM_ICON_NAME property doesn't seem to be handled very well by metacity [07:49] it is just the same as WM_NAME [07:54] Keybuk: what was a performance problem? [07:54] heya [08:36] good morning everyone [08:39] hello desktopers [08:41] hello seb128 [08:41] hey chrisccoulson [08:41] did you manage to sleep at all? ;-) [08:42] you seem to always be there :-p [08:42] seb128 - i slept for 3 hours :) [08:42] urg [08:43] you must be glad that tomorrow is saturday ;-) [08:43] i shall be brewing my coffee extra strong this morning [08:43] yeah, i'm glad that tomorrow is saturday ;) [08:43] salut seb128 [08:43] morning chrisccoulson [08:43] hey didrocks [08:43] hum, coffee, looks like a good idea indeed [08:44] hey didrocks [08:48] bonjour seb128, hey chrisccoulson [08:48] * pitti back from pm-utils debugging [08:48] good morning pitti [08:49] hey pitti [08:49] how are you? [08:51] pitti, btw not sure if you read log from night in the morning or not [08:52] pitti, the work item count for lucid is somewhat wrong [08:53] http://piware.de/workitems/desktop/lucid/report.html ? [08:53] seems fine to me [08:53] (no, I didn't see that bit) [08:54] pitti, somewhat around 1am hour time [08:54] if you have log [08:54] I do [08:54] basically some specs have alpha3 or beta1 wis [08:54] and those are on no count [08:54] right [08:55] that's a current limitation in the parser [08:58] hum, it should perhaps list anything in the "work item.*:" format as for lucid now? [08:58] right now we have tens of items not on the charts [08:59] so the trend and counts are somewhat biased [08:59] right [09:01] ok, let me look into that [09:02] thanks [09:06] pitti, btw while I'm a it review from the indicator package in new is welcome [09:06] I sponsored it for kenvandine yesterday [09:06] but I didn't want to source NEW since I uploaded [09:06] ok [09:07] thanks [09:08] * seb128 stops bothering pitti now [09:24] ah [09:25] it seems my phone was playing up when i went away for breakfast [09:25] hehe [09:25] * seb128 start looking at strace and http://people.canonical.com/~seb128/nautilus again now [09:26] excellent, that will probably keep you occupied for some time ;) [09:26] I wonder if we could reduce the number of stats on alternative paths [09:26] like /usr/local/... [09:26] and if that would make a difference [09:26] I guess stat calls are cheap usually [09:28] yeah, i'm not too sure [09:29] how come it needs to stat() user folders such as downloads and public when it starts? [09:29] if it's not displaying a window [09:29] anyway, time for me to grab another coffee:) [09:29] could comment [09:29] ups, "good comment" [09:33] grep stat nautilus.strace | grep ENO | wc -l -> 707 [09:33] 652 of those being for icons [09:34] I'm wondering if we could check for /usr/local/icons earlier and avoid stating each subdir [09:34] or /usr/local/share/icons rather [09:37] seb128 - so, it checks for subdirectories of /usr/local/share/icons before making sure that the parent directory exists? [09:38] 1420 14:24:08.630795 stat64("/usr/local/share/icons/hicolor/16x16/apps", 0xbfb17340) = -1 ENOENT (No such [09:38] file or directory) [09:38] 1420 14:24:08.631034 stat64("/usr/share/nautilus/icons/hicolor/16x16/apps", 0xbfb17340) = -1 ENOENT (No su [09:38] ch file or directory) [09:38] 1420 14:24:08.631357 stat64("/usr/local/share/icons/hicolor/16x16/categories", 0xbfb17340) = -1 ENOENT (No [09:38] such file or directory) [09:38] etc [09:38] etc [09:38] it does that for each dir from the index [09:40] vuntz - do you know what is happening about implementing a new shutdown API in consolekit, to unbreak the current situation in gnome-session with policykit-1? (i think i've asked you about this before). Do you know if anyone has offered to do the work in either consolekit or gnome-session yet? [09:40] seb128 - there seems like an opportunity for some optimisations there :) [09:41] yes [09:41] those stats are cheap though [09:41] like 1ms or less [09:41] but if we could spare some hundred calls... [09:41] 1ms each, or for all of them? [09:42] look at the lines I copied [09:42] it's like 0.3ms each [09:42] ah yes [09:43] I will start by looking at backgrounds and what you pointed about standard dirs [09:56] chrisccoulson: mccann is supposed to do the work in consolekit, and I'm supposed to do the work in gnome-session [09:56] chrisccoulson: but if you want to help, that would certainly be welcome! [09:57] chrisccoulson: https://bugs.freedesktop.org/show_bug.cgi?id=24493 [09:57] Freedesktop bug 24493 in Daemon "a better shutdown api" [Normal,New] [09:57] vuntz - yeah, i was thinking of helping:) [10:00] seb128: http://piware.de/workitems/desktop/lucid/report.html [10:00] seems more realistic now [10:00] * pitti fixes the y steps [10:00] pitti, you rock [10:01] I updpated the howto, I'll mail an announcement [10:01] since the semantics now slightly changed [10:01] asac: ^ this should address your concern from a week ago, too [10:01] pitti, thanks! [10:32] seb128, for system call performance you might be interested by systemtap [10:32] ie benching open, read, ... [10:33] baptistemm, did you ever use it? [10:34] just a little bit, it requires to have debuild package for kernel, it might difficult a first sight but it is rather powerful [10:34] this is d-trace for linux [10:40] ok [10:41] waouh, alex rocks as usual ;-) [10:41] http://git.gnome.org/cgit/nautilus/commit/?id=55f1438bf898c819504dae540a7540ec30508f1e [10:41] that fixes the .gtk-bookmarks being opened and rewrite 5 times on start [10:41] it's read only once now [10:49] How can I avoid being asked for my password everytime I push or pull something to lp? [10:50] use a ssh agent, gnome-keyring for example? [11:02] seb128, reading up on http://live.gnome.org/GnomeKeyring makes me not want to touch this at all atm [11:04] MacSlow, why not? [11:05] seb128, uncharted lands... for me at least and I don't want to mess up and lock myself out [11:05] ? [11:05] gnome-keyring is running on your box in any case [11:05] seb128, besides... I would really like to know when (what) I did to have this in place [11:05] I'm surprised the agent doesn't kick in when you use ssh, it should [11:06] it works out of the box usually [11:06] seb128, on my laptop I don't ahve those issues [11:06] env | grep SSH? [11:06] seb128: just so you know, there may still be a "gdm doesn't start" bug [11:06] I'll fix that today if there is :p [11:06] SSH_AGENT_PID=3800 [11:06] SSH_AUTH_SOCK=/tmp/ssh-nQMTFj3753/agent.3753 [11:06] Keybuk, ok [11:07] Keybuk, good to see that today's upgrade bring some speedup to boot ;-) [11:07] does it? :p [11:07] I would have thought it'd be slightly slower [11:08] today's upgrade reduced boot from about 1 second apparently [11:08] oh right [11:08] maybe all that mucking around with gdm and plymouth did actually work out [11:08] well guess-time seems to think the linux time went down 2 seconds [11:10] * Keybuk was mucking around with kernels as well [11:10] certainly one apw uploads the next kernel, it'll go down a second or so [11:10] xorg time when 0.5 seconds down too [11:10] ah that's good to know [11:10] when -> went [11:10] I thought xorg might get faster [11:10] (no vt mucking around now) [11:10] seb128: did that already include dropping of usplash? [11:10] there's actually a bug in the xorg packages [11:10] tjaalton: you might want to look into it [11:11] the xkbcomp caching patches aren't working [11:11] pitti, could be, let me look [11:11] (nothing ends up in /var/lib/xkb :p) [11:11] Keybuk, and after 1 day of looking at nautilus I managed to get one improvement :-p [11:11] seb128: ooh? [11:12] it opens .gtk-bookmark 1 time now [11:12] before it was opening it 11 times [11:12] and renaming it 5 times [11:12] Keybuk: yes, I knew it's disabled. bryce fixed the pacth to apply, but it still doesn't build [11:12] thanks to alex for the actual fix in git, I've just been spotting the issue [11:13] tjaalton: oh, right, would be nice to get that working ;) [11:13] that's another .25-.5s :) [11:15] pitti, right, no usplash [11:15] no plymonth either apparently [11:16] plymouth> no MIR yet, still in universe [11:21] pitti: there so is an MIR [11:21] bug #495184 [11:21] Error: Could not parse data returned by Launchpad: The read operation timed out (https://launchpad.net/bugs/495184) [11:22] Keybuk: ah, wasn't there yet on my review yesterday [11:22] pfft. *yesterday* :p [11:27] MacSlow, it seems that you have an another agent than gnome-keyring [11:28] pitti: hi... i found this in the sudo changelog... "Rename pwstars to pwfeedback" , is that for the helper too? [11:28] MacSlow, ps ax | grep 3800 [11:28] mac_v: grepping for "pwfeed" doesn't give anything in our sudo version [11:28] perhaps it's in a later version, or only cvs head [11:28] seb128, got a hint from pedro_ ... all I was missing was to call ssh-add [11:29] pitti: aw :( , nvm then :) [11:29] seb128, still no clue why this was needed on my desktop but not on my laptop [11:29] MacSlow, you shouldn't need that [11:29] MacSlow, well you have an agent taking over gnome-keyring... [11:31] pitti: maybe our version is very old. i found the changelog entry in git , it seems to be done somewhere in feb [11:31] anyway , thanks for looking into it :) === MacSlow is now known as MacSlow|lunch [12:50] hi everyone [12:56] hi huats [12:57] hey chrisccoulson [12:57] huats - how are you? [12:57] chrisccoulson, I am fine [12:57] I am about to see the end of my long lasting work marathon :) [12:58] you ? [13:01] huats - yeah, i'm not too bad. i'm just preparing to finish work for the week :) [13:08] chrisccoulson, :) [13:09] chrisccoulson, I have been quite away lately, is the baby arrived ? [13:09] huats - yes, she arrived during the week of UDS :) [13:09] :) [13:09] is everything ok ? [13:10] yeah, she's doing ok. although, she's going through a bit of a growth spurt the last couple of days and is feeding a lot more than she is sleeping ;) [13:11] :) === MacSlow|lunch is now known as MacSlow [13:16] pitti - how is it determined whether to show the "Safely Remove Device" option in Nautilus for a particular device? [13:16] i noticed last night that it is shown for my internal card reader [13:17] I want a second option [13:17] "Dangerously Remove Device" [13:17] and clicking it unfortunately leaves the card reader powered down until I reboot (or open the case and reconnect it to the internal USB port) [13:18] Keybuk - that would be a fourth option (in addition to Unmount, Eject and Safely Remove Device) [13:18] l( [13:18] ;) [13:18] i see all 3 options for my card reader [13:18] chrisccoulson: I was more channelling mpt; if something can be done Safely then there should be a Dangerously [13:18] if Safely is the only option, why say Safely? :p [13:18] that is a fair point [13:19] the Mini 10v has an odd problem like that [13:19] if you power down a USB device, you lose the port [13:19] chrisccoulson: the problem with internally-wired USB card readers was the very reason why this option is exposed in the UI in the first place, and isn't the default when you click the eject symbol [13:20] chrisccoulson: the problem is that it's hard to determine whether an USB controller is system-internal or external [13:20] you have to power the netbook off and on again properly to get the port back [13:20] pitti: it's not hard [13:20] some devices want to be unpowered to stop whining about "dangerous to remove me" [13:20] you just quirk them [13:20] "this device on this board => don't power off" [13:21] Keybuk: we looked at the udev and dmidecode data, and nothing on the dell thing where it was reported tells you that it's on-board :( [13:21] pitti: right, but the combination of the dmi of the board and the device tells you [13:21] right, you'd need per-vendor/product lists [13:21] yes [13:21] that'd be part of the hardware certification process [13:21] which is a bit crazy to maintain [13:21] it's basically what we have to do for sound cards anyway [13:21] "this codec, from this vendor, on this device id, on this sound card device/vendor, on this board => these quirks" [13:22] there's a generic approach to this going into the kernel [13:22] devicetree [13:22] I think kay figured a way how to extract it from some device descriptors, so that when the OEM does its job properly it'd just work [13:22] Kay tends to think per-device [13:22] this is for system quirks [13:22] idea being that you end up with a big database of quirks that everyone shares [13:22] quirks are cross-device, that's kinda the point [13:23] in my case, i just purchased a card reader and shoe-horned it in to my already cramped case. i don't know how a quirks database would handle that [13:23] chrisccoulson: if it were a property of the physical card reader, the device you bought would be quirked [13:26] so, it seems the problem is more complicated than i first thought :) [13:26] anyway, home time for me now [13:26] yeah [13:26] the problem is because another device, with an identical chip, probably works fine [13:26] and all we see is the chip from a driver POV [13:27] yeah, the same chip is probably used in a different external card reader somewhere [13:27] so, i don't know how cases like that would be handled [13:27] that's where devicetree is supposed to help [13:28] it lets you combine matches across multiple devices [13:28] "this chip, with three ports numbered X, Y and Z, with this other chip on the same PCI device => this actual device" [13:28] then you add properties to the actual devices which udev can pick up [13:28] that sounds promising anyway:) [13:29] right, bbl [14:01] which package should I file a wishlist bug on if I want to propose using a device-specific icon for a particular USB device? [14:01] (my iphone looks like a camera in computer:// ;) [14:05] i guess it's nautilus [14:10] Ng: known bug, I think [14:10] * pitti looks [14:11] bah, ISP fail. [14:12] Ng, no need to open a bug [14:12] Ng, we don't build the gvfs afc code yet [14:12] because required libs are waiting on mir in lucid [14:12] iphones are very specific devices [14:12] Ng: is it a gphoto mount ? [14:12] Has anyone else been having problems with the mouse in 9.10? [14:14] asac: do you happen to know why nm-applet constantly updates gconf with the "timestamp" value of wifis? [14:14] what's that used for? [14:15] we should have those yummy Fedora nautilus patches [14:15] that actually let you access all the data on your iphone [14:15] Keybuk: they are all upstream, I hope [14:15] it does that every minute or so, which prevents hard drives from ever going to powersave mode [14:16] pitti: not sure. what timestamp are you referring to? [14:16] pitti: NM keeps track of "last connected time" [14:17] so it can decide which net to prefer in case there are more than one known in sight [14:17] ah, that [14:17] is that an issue? [14:17] nevermind, it's not actually rewritten each minute [14:17] how often do you see those updates? [14:17] I just mis-looked [14:17] kk [14:18] mclasen: yes, it's not wrong to give it a camera icon, I'm just being picky because I'd like it to be a icon representing an iphone ;) [14:18] pitti: seb128: ok, thanks :) === robbiew_ is now known as robbiew [15:12] mclasen: you've not worked with Fedora much, have you? :p [15:12] they're infamous for carrying patches in Fedora for software they're upstream for! [15:35] heh [15:38] Ng: hrmm, it really should be specifying "phone-apple-iphone(-{3g, 3gs})" which should fall back to "phone" [15:39] dobey, the issue is that iphones are cameras and phones too [15:39] ie several devices to list for gvfs [15:39] seb128: device icons should be shown as what the device *is*. they are phones that just happen to have cameras or that can play mp3s [15:39] seb128, I found your bug in lazr that was keeping bughugger from working bug #495326 [15:39] Launchpad bug 495326 in lazr.restfulclient "AttributeError: 'NoneType' object has no attribute 'self_link'" [High,Confirmed] https://launchpad.net/bugs/495326 [15:40] rickspencer3, I got the subscription email, thank you [15:40] I didn't try the change yet though [15:40] will do that a bit later [15:40] seb128, why not wait until the bug is fixed? [15:40] a phone is a phone, even if it can microwave a sausage. [15:40] should be an update next week [15:40] ok [15:40] I want a phone that can microwave sausages [15:41] I wanted to try bughugger [15:41] did you guys see this: [15:41] http://www.dell.com/content/topics/segtopic.aspx/ubuntu?c=us&cs=19&l=en&s=dhs&~ck=anavml [15:41] but that's probably not for today now [15:41] seb128, it's a one line change if you just want to implement it yourself [15:41] Ng: with a slight adjustment of power, i'm sure the iphone can do it [15:41] Ng: you want http://www.youtube.com/watch?v=udlxr8t1nZM thhen [15:41] Ng: (sorry, German sound) [15:41] hehe [15:41] rickspencer3, nice! [15:42] Ng: or http://www.youtube.com/watch?v=sgt2dJU2TNk [15:43] ok, I've to be away for a bit [15:43] bbl [15:43] note that Dell website is a bit odd ... you can get better Ubuntu options if you go to the small business section of the site [15:51] Keybuk: at least we are upstream... [15:51] rickspencer3: you had to get quickly into the shotofjaq tweet ;) [15:52] czajkowski, you know me well [15:53] rickspencer3: to be fair you don't tweet it that often [15:53] but when I do, I tweet about Quickly [15:55] you tweet quality! [15:57] rickspencer3, kenvandine: since I need to leave in 35 mins, any chance that either of you could lurk in the release meeting today? I'll cover the desktop part, but just in case there are followup questions/things later on? [15:58] mclasen: only because if you're not upstream, you nih it [15:58] pitti, ack [15:58] sure [15:58] mclasen: (I'm mostly only teasing really :p) [15:58] * rickspencer3 joins [15:58] but ABRT! [15:58] * rickspencer3 join #ubuntu-meeting [15:59] seb128, pitti, kenvandine, anybody: [15:59] I want to get a python library packaged and in a ppa today [15:59] rickspencer3, ok [15:59] is there a definitive guide that will walk me through this that one of you can recommend to me? [16:00] python-mkdebian [16:00] :) [16:00] aah the quitessential linux smart ass answer [16:00] ;) [16:00] hehe [16:00] or use my quickly branch that does it :) [16:01] kenvandine, that didn't work either [16:01] Keybuk: I know, I know... [16:01] rickspencer3, oh? [16:01] what happened? [16:01] hey rickspencer3 :) [16:01] kenvandine, I'd be happy to trouble shoot it with you, but I was hoping not to bother you guys with this today, and just learn how to fish [16:02] you need a pretty simple setup.py and run python-mkdebian [16:03] that will get you like 90% [16:03] not sure of a definitive guide :) [16:03] there's always the python policy [16:03] but I'd just take a look at an existing small python library package [16:03] pitti, seb128: I've almost finished the session thing (both une and gdm default session choice). Do I update the cra... hem, the impacted packages to the desktop team ppa this week-end? :) [16:04] didrocks: nice! sure, or just upload.. [16:04] pitti: ok, I'll first check I can upload all packages depending on the change (should be ok) [16:05] d'oh! no devscripts installed on this machine [16:05] * rickspencer3 face palm [16:06] hum... this reminds me that I didn't add a WI for devscripts dependency on Quickly (investigate and remove the postfix install) [16:07] oh no, there is one :) [16:26] I'm off for the weekend, cu on Monday! [16:28] pitti: have a good week-end! [16:31] hello everyone [16:45] hi chrisccoulson [16:45] hi rickspencer3 - how are you? [16:46] doing well [16:46] been working a lot o bughugger, and by extension my new pet project [16:46] how is the baby? [16:46] yeah, she's doing ok. she's actually asleep at the moment :) [16:46] :) === MacSlow is now known as MacSlow|break [19:54] hey Amaranth === djsiegel2 is now known as djsiegel === Pici` is now known as Pici === bjf is now known as bjf-afk [21:42] djsiegel: pong [22:00] yo Amaranth [22:00] hey [22:00] will this work for you: https://bugs.edge.launchpad.net/hundredpapercuts/+bug/495641 / [22:00] Ubuntu bug 495641 in compiz "Ensure that Scale appearance is clean, fast, and usable" [Undecided,New] [22:01] is that enough info to write the patch? it links to a wiki page [22:02] and tell me what you think of: [22:02] https://bugs.edge.launchpad.net/hundredpapercuts/+bug/495641 [22:02] Ubuntu bug 495641 in compiz "Ensure that Scale appearance is clean, fast, and usable" [Undecided,New] [22:02] brb [22:02] djsiegel: Looks good [22:02] djsiegel: I can probably make clicking on the desktop exit scale too [22:13] Amaranth: seriously? [22:13] that would be awesome [22:13] sure, we already have the hook for making it show desktop and the code to exit scale [22:13] I really dont want clicking on the desktop to Show Desktop [22:13] sweet [22:14] I just need to hook the two together [22:15] I think it should rather be if click on window x, exit scale and focus x; else exit scale [22:15] i.e. a click in Scale mode either picks a window or exits [22:15] if we just do click on desktop to exit scale, scale won't exit if the user clicks on the panel, for example, Amaranth [22:16] Alright, I should be able to do that as well [22:16] Did you mention that use case in the bug report? [22:16] Totally rad, you rock. [22:16] Otherwise I'll probably forget and just make it for the desktop [22:17] ok, I will add that [22:17] should I add to the LP bug or the upstream one? [22:17] I wish launchpad had some way of identifying priority other than the Critical, High, Medium, Low, and Wishlist [22:17] LP bug [22:17] ok [22:17] I guess I can target the bugs to a release for priority [22:18] ok, I changed the description to suggest "Click to Exit Scale" instead of "Click Desktop to Exit Scale" [22:20] djsiegel: do you have the settings you are working on someplace? I'd like to follow along [22:21] djsiegel: something I can click and mess with? [22:22] jcastro: yeah [22:23] jcastro: $ bzr branch lp:compiz-settings-lucid; cd compiz-settings-lucid; python compiz-settings.py [22:23] jcastro: these are pretty close to what we'll use [22:23] thanks! [22:23] a few things don't load right when you do that, like minimize animations and a color in the viewport switcher [22:32] hey Amaranth, one more quick thing [22:33] in the specs, I am writing color values as "outline_color = #FFFFFF32" [22:33] where the first 6 hex digits are RGB, and the last 2 are alpha [22:33] I am not sure how you need to encode RGBA in the patch though [22:33] white with 32% transparency or white with 32 out of 255 transparency? [22:33] You should probably encode the alpha in hex too [22:33] 32 of 255 [22:33] oh, you are :) [22:34] ah, wait [22:34] wait, now I'm confused [22:34] 32 in hex out of FF, right? [22:34] #32 is 50/255 deciaml [22:34] dec. [22:34] yes [22:34] ok, assuming I don't try to overthink it when making the change that shouldn't be a problem === bjf-afk is now known as bjf [23:08] which one of you lives in Bryant again? would you mind joining us at #ubuntu-wa-us for a moment? [23:10] I just received two of the three Dell Mini's that I ordered [23:10] * rickspencer3 resists pull to get distracted from work and set them up [23:11] arg, chrome switched from a User Scripts folder to doing some weird thing with extensions being user scripts so I can't just copy the launchpad ones in anymore [23:12] rickspencer3 - 3 dell mini's? what are you going to do with them all? ;) [23:12] one for me, and one for each of my kids [23:12] rickspencer3: I bet it's you ;) [23:12] hehe [23:12] nope, kind of a christmas gift for my wife in a way, keep the kids off of her computer :) [23:13] in any case, I ordered them with Ubuntu 8.04 installed, but I'll put Lucid on my and Karmic on the other two [23:13] rickspencer3: we're planning a release event at UW for Lucid over on #ubuntu-wa-us ;) [23:13] seriously? [23:13] can I come? [23:13] rickspencer3: yeah. we want to get a running start [23:13] rickspencer3: of course ;) [23:13] I didn't even know there was a #ubuntu-wa-us [23:14] it's been quiet. Paul's the only one who's been there since its inception like 2 years ago [23:14] heh [23:14] rickspencer3: if you don't know Paul, you should get to know him. I met him at LFNW when he was like 15 or something. [23:14] I've been to a couple of gslug meetings, but not for over a year [23:14] yeah, me too. [23:14] who's Paul? [23:14] we could get together with eeejay and do some hacking [23:15] rickspencer3: peanutb [23:15] rickspencer3: is he back in town? [23:15] (eeejay) [23:16] eeejay? so far as I know, but I didn't know he left town [23:16] eeejay_away: where you at these days? [23:16] * rickspencer3 hopes he didn't move away [23:16] I think last time I asked if he wanted to have lunch he was in a different state [23:17] cj, I just got from having lunch in the udistrict [23:17] is that where you are? [23:17] rickspencer3: do you think we could hit Canonical up for some bumper stickers or other swag at a table in front of the HUB? [23:17] fo' sho' [23:17] rickspencer3: usually, but my office flooded due to a burst pipe, so I'm working from home [23:17] :) [23:18] bummer [23:18] yeah. being at the office would keep me from concentrating on finishing the final anyway ;) [23:18] hehe [23:18] * rickspencer3 gets ready to do a (hopefully not too hairy) merge [23:19] * rickspencer3 hates merging [23:19] merging's not so bad. manual conflict resolution is the painful part ;) [23:20] right [23:20] I think trunk diverged a bit from my branch [23:20] heh, pull on every commit! [23:23] yay, I (mostly) got my user scripts back [23:25] bleh, I forgot to give the extension permissions [23:35] only 1 merge conflict, and it was easy