[01:08] dash autohide is broken.. fix it [01:09] compiz is still broken with fglrx.. fix it [01:12] Dash autohide was fixed already, wasn't it? [01:12] *Launcher [01:12] I mean, it wasn't working for me - Launcher would never reveal by cursor - and now it is [01:12] in trunk or not released yet? [01:13] pretty sure i have the latest precise packages installed.. and with autohide enabled, mouse pointer will not reveal it [01:13] ppa:unity-team/ppa [01:13] nice :) [01:13] Should be in the repos sometime soon. [01:13] what about this one? [01:13] https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/770283 [01:13] Ubuntu bug 770283 in fglrx-installer (Ubuntu) "[fglrx]title bar does not update on non-maximized windows" [Undecided,Confirmed] [01:13] thats been there for the longest time :/ [01:13] obviously isnt a simple fix [01:14] I'm not using fglrx, so I can't tell. [01:14] that seems to be half the problem.. nobody does [01:14] linux users seem to be almost 100% nvidia fanbois :p [01:15] That, or they think the opensource ati drivers are enough. [01:15] radeon driver works okay [01:15] but it lacks quite a bit functionality [01:15] and performance [01:16] 2D performance is much better in radeon (but fglrx is catching up) [01:16] fglrx probably works alright with gnome-shell.. but i cant be bothered confirming that [01:16] And I'm so into development version of Ubuntu that most of the time I would be unable to use fglrx. [01:16] well.. im running the latest catalyst from amd [01:17] its pretty simple to install.. ./ati-blah-installer --buildpkg Ubuntu/precise [01:17] the repo versions of fglrx are usually a few releases behind [01:17] I know. But there's always a little wait between a new X.org or Linux kernel and a working Catalyst. [01:17] i think amd have significantly picked up the game there [01:18] By the time a Ubuntu version is released, the driver is installable, so it doesn't matter much. [01:18] i was building fglrx for development 3.3 kernels.. not sure about xorg [01:18] but i think xorg edgers packages the latest fglrx versions [01:18] but yeah.. its a bit insane to use edgers [01:19] I'm used to edgers. [01:20] It breaks from time to time, but what bothers me is that I always stumble into an graphical artefact here and there. [01:46] mhall119: ping [01:47] hey everybody [01:47] is there anyone here getting issues drawing menus? [01:47] with bits missing? [01:48] you'd have to be on the latest compiz I think [01:48] so grabbing stuff from the ppa [01:49] thumper: I am [01:49] mhall119: all the time/ [01:49] ? [01:49] thumper: errors drawing window decorations too [01:49] thumper: not all the time, but frequently [01:49] how frequently? [01:50] on menus, probably close to 50% of the time [01:50] on window decorations, less frequently [01:50] all menus too, global menu, context menus, etc [01:50] thumper: I filed a bug about it [01:51] mhall119: you did [01:51] that's what I'm following up [01:51] thumper: I'm getting this running the precise repos, not PPAs [01:51] I saw it once, not since [01:51] I also had Unity freeze and crash on `unity --replace` [01:51] so I'm beginning to suspect it may be a driver bug for my GMA965, not necessarily a compiz or unity bug [01:52] mhall119: well there is certainly a driver bug, as jasonwarner was getting it [01:52] mhall119: which closer matches your window decoration transparency issue [01:52] mhall119: but the menus not painting correctly is something else [01:53] ok [01:53] mhall119: sam just proposed a fix that we think may fix this issue [01:56] \o/ [04:17] Does anyone know what language myunity is written in? [04:33] thomi, hey [04:33] hi [04:33] ...I thought you were asleep :-/ [04:33] thomi, so I can't find this python test in that branch [04:33] only 8:30 pm here haha [04:33] hmm... [04:34] I searched for ibus and abc [04:34] through the entire branch [04:34] I forgot to 'bzr add' it :( [04:34] I see, and also the problem might be that you hide the dash before you press ctrl + space [04:35] OK, new revision is up now [04:35] sweet [04:37] ok, so to run these test do I need to build anything? [04:38] as I was thinking I could just "python ibus.py" [04:40] thomi, also nice looking code :), better then my python haha [04:41] bschaefer: sorry - I didn't see your test [04:41] *text [04:41] easiest way to run them, is: [04:41] forgot to ping you! [04:41] cd tests/autopilot [04:42] python -m testtools.run autopilot.tests.test_ibus [04:42] if you want to run the entire suite you can type 'make' from that same directory... [04:42] when I make I get this [04:42] it's cool to watch, but takes a while and gets boring fast [04:42] ImportError: Start directory is not importable: 'autopilot.tests' [04:42] and a stack trace [04:43] hmm I wonder what im missing [04:43] hmm, I had that earlier today, but I fixed it... [04:43] try launching the python interpreter and typing "import autopilot.tests" [04:43] dynamic typed languages give a lot better error messages haha [04:43] had an issue with recursive imports this mornign [04:44] ImportError: No module named Xlib [04:44] ahh, you need python-xlib installed [04:44] testtools should give better error messages :) [04:45] sweet, I was going to look through sudo apt-get install python- but to many! [04:45] now I get this error.. [04:45] AttributeError: 'module' object has no attribute 'test_ibus' [04:46] this is a fresh install I must be missing a lot of stuff haha [04:47] umm... [04:47] http://paste.ubuntu.com/843962/ [04:47] actual stack [04:48] trace [04:48] hmmmm [04:48] the command you're running is correct [04:49] what do you get if you do: [04:49] python -c "import autopilot.tests.test_ibus" [04:50] ImportError: No module named compizconfig [04:50] sweet [04:50] python-compizconfig [04:50] yup :) [04:50] you're probably missing a few other bits and pieces as well [04:51] it ran this time! [04:51] cool [04:51] o yeah im running a hacked version of IMTextEntry...which isn't working correctly haha [04:52] umm, its putting abc1 out now I have to look through the ibus test [04:52] yup. [04:52] if it was working that should come up as: [04:52] 阿布从 [04:53] I have no idea what that says - it's possibly offensive ;) [04:53] yeah I have no clue either! [04:53] yeah it would, I just have to change 2 lines of code or recompile, one sec [04:55] but it does put the abc1! haha [04:56] thomi, does the autopilot wait for the dash to open? or is it on a timer to start input? (out of curiosity) [04:56] there's no intelligent waiting - we just sleep for a bit [04:57] it's hacky I know, but it works [04:57] ...most of the time [04:57] yeah, since I run a VM it is slower and was wondering [04:57] if it was waiting, it started just in time though! [04:58] I think is waits for a second [04:58] yeah I just saw the code! [04:59] so what Im hoping the problem is when you close the dash and THEN hit ctrl+space it doesn't register that for the dash [04:59] so ill move the ctrl+space right after you enter the abc1, and that should exit the ibus [05:00] also when you set_global_engine it automatically activates the ibus [05:00] I think I tried that... maybe not though [05:00] so you dont need the initial ctrl+space [05:00] ahhhh.. [05:00] doh! [05:00] but! [05:01] that is weird that the initial ctrl+space isn't exiting the ibus [05:01] probably nux is grabbing the keystroke [05:01] since it activates it then ctrl+space (should exit it) then type abc1 should be just abc1 [05:01] OK. I'm past EOD, so I'll fix that up tomorrow morning [05:01] yeah [05:01] sweet [05:02] now we just need some better test data than 'abc1'... I'll leave that to someone else though [05:02] Ill play around with it while code compiles from time to time to see how it works [05:02] cheers [05:02] ALSO, ill test it with the new TextEntryIM [05:02] which could fix that [05:02] as your using IMTextEntry atm [05:03] thomi, and agreed about getting better testing later haha (like using arrows, tab key and stuff to navigate through possible entrys) [05:04] yeah [05:04] but sweet none the less, also have a nice nux version as well now :) [05:04] jaytaoko put together a nice automated TextEntry [05:09] thomi, yeah putting this line "kb.press_and_release('Ctrl+Space')" above "dash.ensure_hidden()" seems to work for me [05:10] sweet - thanks. I'll fix it up now... [05:11] cool! hopefully that works for you, as im using nux::TextEntryIM [05:11] (what the search bar is using) [05:12] bschaefer: I don't think that's in trunk yet [05:13] no it is what im working on ;) [05:13] should be soon [05:13] ok [05:13] but thanks for the test, will use it to test it! [07:50] andyrock, hey, would you be willing to test a crash out for me? [07:59] bschaefer, hey [07:59] shoot [07:59] morning [08:00] could me say a python programmer, why this is not working? http://paste.ubuntu.com/844075/ [08:01] andyrock, could you open the dash type "abcd" then Ctrl + a then Ctrl + c then Ctrl + v [08:01] im making sure im not going crazy, as I don't see how that wasn't caught [08:03] bschaefer, crash [08:03] wow [08:03] ok, well good thing im working on this chuck of code [08:03] andyrock, I thought I was causing that with some new changes to text entry haha [08:04] andyrock, thanks! [08:04] also sorry for the inconvenience of a crash! [08:05] welcome :) [08:09] bschaefer: lol :D I want crash, too ^^ [08:10] gotwig, go for it! It will be fixed soon :) [08:11] I have problems with dependencies, you also? [08:11] umm, while compiling unity? [08:13] no [08:13] with normal upgrading [08:13] haven't ran into any, sorry [08:14] bschaefer: I have also many problems with focus [08:14] bschaefer: text gets autoselected from my mouse touchpad === alan_g is now known as alan_g|afk [08:50] mhall119: I already have all the data I need, now I only have to filter it, for my recipefy scope in one output, http://paste.ubuntu.com/844105/ [09:48] Somebody of the unity team there? [09:57] Ok even if not, maybe someone will read this: I'm again a user who will switch his pcs to Linux Mint, since i find Unity is unusable for productive work and even my girlfriend (casual user) HATES it. I would give it a try if there would be some possibility to customize anything. But even with the compiz tools there is almost nothing. Why do you throw all conventions which have grown over decades into the trahs by changing everyt [09:57] and i simply can't understand that ... [09:59] * gotwig laughs [10:05] its called unity cos its meant to work the same way for everyone ;) [10:05] my issue isnt the change in mentality [10:06] thats actually fine, i personally dont notice any functionality regressions [10:07] its the bugs that piss me off, but its still relatively early days yet.. its showing signs of maturity, and as far as using something with its defaults.. unity has gnome-shell beat [10:12] greyback, hey, do you have anything in particular off of the list you'd like me to take care of? [10:12] Saviq: I was just about to ask you :) [10:14] Could you please figure out a way to get the active application tile? [10:14] My attempt was using a Filter on the LauncherApplications model, but I failed to get it to work [10:15] ok I'll take a look [10:17] thank you [10:26] mhall119: problem solved :D! [10:59] greyback, I just noticed one more thing with the hud [11:00] Saviq: just one? :) [11:00] greyback, in Unity, the first entry is preselected whenever there're any results [11:00] and the tile respects that, too [11:00] Saviq: ah I hadn't noticed that [11:00] but interestingly in Uity's code, it asks bamf for the active application icon [11:01] greyback, yes [11:01] that's because in Unity focus remains with the window [11:01] in our case we get the focus [11:01] ahh of course [11:02] we need to ask for the previously active window [11:02] the obvious difference will be that with Unity the window decorations don't change [11:02] with us - they will [11:02] s/will/are/ [11:03] yeah. I don't see how we can avoid that [11:03] not without tweaking the WM [11:03] indeed [11:04] I'll get the initial tile done, then, and the preselection should be trivial [11:05] Great, thanks [11:11] Kaleo, greyback, since I'm going to use LauncherApplication outside of the Launcher, do you want me to rename it to... Application? UnityApplication? [11:12] Saviq: Application sounds good [11:12] agreed [11:14] I'll have that as a separate MR against lp:unity-2d then === chaoticuk_ is now known as chaoticuk === _salem is now known as salem_ [11:39] hey [11:39] mhall119: there? [12:15] do you know how I can read out the language ? [12:15] gotwig: of an user === MacSlow is now known as MacSlow|lunch === greyback is now known as greyback|lunch [12:53] gotwig: os.environ['LANG'] [12:55] didrocks: ping [12:55] hey mhall119 [12:56] didrocks: hey, I started a quickly template last night [12:56] http://mhall119.com/2012/02/singlet-quickly-better-faster-simpler/ [12:57] mhall119: I saw the blog post, it's a pity that I lost some time yesterday to start one as well :/ [12:57] didrocks: I'm going to need to package it, is there anything specific I need to do? [12:57] now that I have this one, the others I need should be easy to copy/paste [12:58] mhall119: hum, is it already fully working? I think we should review the import list [12:58] didrocks: it's not 'fully working' yet, but create and package work [12:58] mhall119: I can review it tomorrow if needed and package the template [12:58] then, we can push it to universe [12:59] that would be awesome, I still have some work to do on this one (quickly run doesn't work) [12:59] then I'll need to copy/paste/tweak it to make 2 other templates [12:59] mhall119: ok, just push to your trunk today, and I'll review tomorrow, hopefully all the rush will be behind me :) [12:59] cool, thanks [12:59] mhall119: let's get the first one right, and then, it's easier for you to copy/paste [13:00] mhall119: I saw though that you removed the "search" method [13:00] mhall119: and finally, don't generate the .lens and .service file [13:00] mhall119: I would then suggest to put the metadata in the config file [13:00] so that it's clear people shouldn't change them [13:00] (I had a quick look this morning) [13:05] didrocks: the search method on my Lens sub-class? [13:06] mhall119: right [13:06] right, because the base Lens class doesn't do it's own searching [13:06] when I copy/paste that template for SingleScopeLens, I'll add the search stub back [13:07] same for when I copy/paste it for a base Scope template [13:07] mhall119: ah ok [13:07] mhall119: my parser finaly works [13:07] gotwig: yay! [13:07] the guys from #python helped me [13:07] mhall119: but so a "lens" template isn't a lens + one scope, it's the global one? [13:08] mhall119: I think the main one should be SingleScopeLens, we need to take that into account [13:08] so that it's clear on the template name :) [13:09] didrocks: a "lens" template, as I have now, is an empty lens [13:09] mhall119: but than I get just the UTF 8 thing [13:09] I'll make a singlet-singlescopelens template too [13:09] gotwig: from os.environ? [13:10] from the $LANG variable [13:10] I get en_US.UTF-8 [13:10] mhall119: I mean, people will want to create a "lens", and they expect getting a lens + scope [13:10] mhall119: yes, that I mean [13:10] mhall119: how can I cut that, till the en? [13:10] mhall119: I think we should make it clear that what people want is the lens + scope choosing a right template name [13:10] didrocks: well they shouldn't [13:11] mhall119: the opportunistic programmer won't focus on undestand the difference between lenses and scope IMHO [13:11] didrocks: people may want an empty Lens and then separate Scopes [13:11] yeah, people "may" [13:11] but most won't [13:11] ok, I can see your point [13:11] I'm fine with the 3 templates [13:11] I just think we should guide to the right template by default, the easy one [13:12] like calling the lens template "lensonly" [13:12] ok [13:12] or something like that [13:12] mhall119: how can I use the first dot as a seperator, so I only get en in the variable, e.g? [13:12] we will discuss that tommorrow, back on compiz :) [13:12] mhall119: sry, I mean _ [13:12] gotwig: one second [13:15] gotwig: os.environ['LANG'][:os.environ['LANG'].index('_')] [13:22] didrocks: do you think I should give "placeholder" categories and search results, so that the user has a technically working lens after quickly create? [13:23] or leave them commented out like I have [13:23] mhr3: ping [13:23] mhall119: yeah, basically, we had that kind of stuff in the ubuntu-application template [13:23] mhall119: then, we added the "add" command [13:23] mhall119, sup [13:23] which try to uncomment [13:23] like [13:23] quickly add scope [13:23] mhr3: hey, does Unity 5.2 or 5.4 support hot reloading of Lenses yet? [13:24] and quickly add search [13:24] didrocks: ok, I'll look at those scripts [13:24] mhall119, no [13:24] mhall119: yeah, look at the add from ubuntu-application (like adding the indicator support IIRC) [13:24] mhr3: please, please, please tell me that feature is coming [13:25] unity --replace as part of the development cycle is a horrible thing [13:25] mhall119, sorry, i can just tell you i'm not working on it === MacSlow|lunch is now known as MacSlow [13:26] mhr3: do you happen to know off hand if it would be really difficult to implement a unity --reload that does that? [13:26] mhall119: thanks for all [13:26] the fish ;P [13:26] you're welcome [13:28] gord, do you know of any special reasons we don't monitor the lens directory to support new lenses on the fly? [13:30] mhr3, uh, i know me and njpatel discussed it at some point like a year ago now and we definitely had reasons why we couldn't do it at that moment in time - i'm willing to add it to my list of things to do if you'd like :) - i can't see any blockers right now anyway [13:30] no, I think it's perfectly possible now [13:30] mhr3, I didn't have time last cycle, is all [13:31] it would make writing and installing lenses significant better [13:31] from a user experience point of view [13:31] just FilesystemLenses needs to be updated, the rest will react accordingly [13:31] in an ideal world :) [13:31] njpatel: second request, would it be difficult for Unity to also look in ~/.local/share/unity/lenses/ ? [13:32] so people testing locally don't need to install system-wide [13:32] mhall119, the rest is async, so they wouldn't be expecting things to be only done at runtime, it wasn't the case before, but it has been since 11.10 [13:32] mhall119, yes, because lenses are dbus-activated, you can't do that from home dir [13:32] mhr3, , i mean ^ [13:32] mhall119, right, what mhr3 said [13:32] we could do Exec activation, but that's future stuff [13:33] njpatel: the .lens is dbus-activates? or just the .service? [13:33] mhall119, .lens tells us which service to start, so at the very least you'd still need the .service file in /usr/* [13:34] however the .service file could happily point to an executable in ~ [13:35] njpatel: the .service file isn't necessary if I'm going to run the lens daemon process manually from a terminal (again, local testing) [13:35] Sure [13:35] that's less important than hot reloading of lenses though === greyback|lunch is now known as greyback [13:43] JohnLea: ping [13:46] mhall119: why dont you recommended me lxml sooner :P? [13:46] it is perfect for parsing & etc. [13:48] gotwig: I've never heard of lxml before [13:48] mhall119; pong [13:48] JohnLea: hey, could you get me 4 or 5 areas where the Ubuntu community can be involved in the design aspects of Unity? [13:48] mhall119: its realy a mighty thing [13:48] I already have running the prototypes (launcher, multi-monitor lightdm) [13:49] JohnLea: and while we're on the subject, will there be any design prototypes or anything that users could try during the upcoming Global Jam? [13:49] mhall119; I've just written an article about how to participate in Unity design that which hopefully I'll be able to publish in a day or two ;-) [13:50] JohnLea: perfect, will you send me a link when it goes up? (or email me an advanced copy?) [13:50] mhall119; it's quite a long article [13:50] * mhall119 enjoys reading [13:50] :) [13:50] mhall119; do you subscribe to the design blog? I'll be posting it there [13:50] JohnLea: I think so [13:54] mhall119; cool, I'll try to get it posted very soon [14:05] JohnLea I found a post yesterday [14:05] hyia huayra [14:05] (actually on Tuesday) which gave me a very concrete idea of how to help you, and so I did the unity test (did skip some of the 171 tests, but still...) [14:06] it was on a pink website [14:06] let me check if I can find the link [14:07] huayra: pink or orange? [14:07] I believe it was pink [14:07] *checking* [14:08] huayra: http://www.theorangenotebook.com/ ? [14:08] Pink with orange in the URl: http://www.theorangenotebook.com/2012/02/unity-54-whats-new-and-call-for-testing.html [14:08] ;) [14:08] yes mhall119 :D [14:08] great, simple and inspiring post [14:09] balloons: ^^ :) [14:14] is HUD ready for testing for orca users yet? === m_conley_away is now known as m_conley [14:19] tedg: good morning [14:21] AlanBell: do you think you could put together a list of steps for people to do accessibility testing on the various Unity components during the Global Jam? Something simple enough for people not familiar with accessibility to follow [14:23] yeah, we discussed doing that last night [14:24] basically running orca and doing the unity testing script would be great [14:24] I need some help packaging up a speech dispatcher plugin that takes the orca output and gives you a transcript in a file [14:25] AlanBell: if you can blog about those two, with steps for testing with orca, and links to the speech dispatcher that needs packaging, I'll put it on our list [14:25] ok [14:26] Howdy mhall119 [14:26] When is global jam? [14:28] tedg: March 2nd to the 4th. http://loco.ubuntu.com/events/global/1443/detail/ [14:28] http://people.ubuntu.com/~alanbell/file.conf goes in /etc/speechdispatcher/modules and a line needs to be added to /etc/speechdispatcher/speechd.conf [14:28] AddModule "file" "sd_generic" "file.conf" [14:28] mhall119, So that puts it after UI Freeze... [14:28] and then it generates output in /tmp/orca.out, thats about it [14:28] AlanBell: I'm making a list of "targets" for global jam, so if you have that somewhere I can link to it would be more helpful [14:29] mhall119, One thing that'd be good is making sure all appindicators set their title's, but those should really be translated. [14:29] tedg: are you talking about in HUD? [14:29] mhall119: yeah, I will blog it, but thought I would state it here as well [14:29] AlanBell: send me the link when you blog it please [14:30] tedg: the things that are all called "image" [14:30] mhall119, So for app indicators we use the title in the HUD. So if the title was "Tomboy" the entry would be "Tomboy > Create New Note" [14:30] tedg: ok [14:30] AlanBell, ? [14:30] tedg: if you could blog about HUD testing, with steps for what to do, what to look for, and where to report problems, I'll link to it [14:30] mhall119, The way it will be without a title is "Untitled Indicator (tomboy-notes) > Create New Note" [14:31] Okay [14:31] the indicators in the top panel, there is "messages image" and the rest are just called "image" to orca users [14:31] Also another good thing there would be checking for a11y strings. [14:32] AlanBell, Hmm, that's odd. We're setting some a11y information on them, or at least we're passing it up the stack. [14:32] that might have changed recently I was going to do a full test of 5.4 [14:32] AlanBell, You should talk to Luke, he did that work, not sure if it's a regression. [14:32] how do you test the a11y strings? [14:32] AlanBell, Luke tells me when they're broken :-) [14:32] Or for App Indicators? [14:33] it is possible to use orca with eyes [14:33] We can do that programatically. [14:33] AlanBell, Sure of course. [14:34] There's lots more things that I could test. It's the joy of testing, there's always more to do. [14:34] :-) [14:34] programmatic testing doesn't find things like the calendar widget trapping you [14:39] Could someone please take a look at bug #933464 and let me know if theres anything else I need to add [14:39] Launchpad bug 933464 in unity "On a multi-monitor setup, the system indicator appears on the wrong screen" [Undecided,New] https://launchpad.net/bugs/933464 [14:42] greyback: everything is fine on the unity-2d side? didn't spot any issue on the released version? [14:44] didrocks: nope nothing major, I think it's ok [14:44] greyback: awewsome! [14:44] didrocks: any ETA for freeze-end? [14:45] greyback: we have an issue in unity still now [14:45] greyback: I don't see an unfreeze before tomorrow morning [14:45] greyback: what you can do though [14:45] is branching trunk [14:45] to another branche [14:46] where you merge stuff (you have to ensure it builds and the test passes) [14:46] then, tomorrow [14:46] didrocks: sure [14:46] propose a merge [14:46] then, we will be sure it actually builds and test passes and will be pushed to the ppa [14:46] wdyt? [14:46] didrocks: we don't have a big pile up yet, was just curious [14:47] greyback: it's kind of all fire around me since this morning :) [14:47] didrocks: I can imagine. Well no pressure from us [14:47] greyback: thanks! [14:49] does lp:unity build right now? [14:50] I keep getting errors and I don't understand why. [15:06] unity/plugins/unityshell/src/IMTextEntry.cpp:49:3: error: ‘key_nav_focus_change’ was not declared in this scope [15:06] how do I fix this ^ [15:30] I guess there isn't anyone here who can help with compiling unity? [15:36] didrocks: ^^ [15:37] nloewen: you need nux trunk [15:37] for that particular error [15:37] ok thanks. where can I get that? [15:38] lp:nux most likely [15:39] yeah :) [15:39] ah, ok. [17:11] didrocks: I compiled nux and did a make install, that fixed the error one error I listed, but I still have another. [17:11] unity/plugins/unityshell/src/QuicklistView.cpp:223:10: error: ‘NUX_KP_LEFT’ was not declared in this scope [17:12] nloewen: hum, not sure about that one though, let's wait to other people around I guess [17:12] I'm also getting it for NUX_KP_UP and NUX_KP_DOWN [18:03] mhall119; hyia, just posted the community design article on design.canonical.com [18:09] JohnLea: thanks, I'll read it in a few [18:39] jjardon, ping [18:40] you still fixing some of indicator-power bugs? [18:40] bug 933466 [18:40] Launchpad bug 933466 in indicator-power (Ubuntu Precise) "Power icon doesn't show charging or draining" [Critical,Triaged] https://launchpad.net/bugs/933466 [18:40] tedg, hey ^^ [18:41] charles, ^ [18:43] acpitool shows battery is discharging but the indicator does not update [18:44] tedg: thanks for the ^ [18:47] that sounds like what mterry was seeing the other day, too. hmm, but the guy in this ticket says he's seeing the same behavior in the /old/ version of indicator-power [18:48] I'll test a bit with upower --monitor-detail [18:48] om26er: thx for the heads-up [18:49] charles, that guy would be me ;-) [18:49] om26er: :) [19:28] I am looking forward to testing HUD, but it doesn't seem to be enabled after all today's updates in precise. :) [19:29] nhaines: its in the unity ppa. === salem_ is now known as _salem [19:39] Hi om26er, I commented in the bug [19:40] I'm getting quite frustrated now. -- Unity and home-directories over NFS and/or pam_ldap really doesn't mix at all. -- It works some times. [19:41] jjardon, great! thanks :) [19:41] I'm not able to find out when it is reproducable and when not. But often just hangs, -- a few reboots and yay it works. [19:41] Anyone know anything about it? [19:41] Right now seems to be hanging on "Adding plugins" (but not always there). [19:44] jjardon, I replied on the report :) [20:09] * thumper does a little dance [20:09] unity 5.4 gets one step closer [20:22] +1 === Guest22071 is now known as gord === chrisccoulson_ is now known as chrisccoulson [20:48] chrisccoulson: hi! do you know if the thunderbird toolbar will stay light colored for 12.04? [20:56] jaytaoko, hey, ping [21:08] mhall119: do you have time to look at my code again? I can not figure out what is wrong, but this code does not work https://launchpad.net/unity-buss [21:09] I have installed the .service-file in /usr/share/dbus-1/services both .lens and .scope in /usr/share/unity/lenses/buss/ and the file called "buss" in /usr/local/bin/ [21:11] malin: so for lenses and scopes, they run in the background constantly, they don't get executed on each search [21:12] malin: what you do is, in __main__, you create the lens/scope object, and put it into the Gtk MainLoop so that your process doesn't exit [21:13] in the Daemon's __init__, you need to connect your search methods to dbus notifications, this will call your Daemon's search method when the user enters search terms [21:14] malin: look at http://bazaar.launchpad.net/~unity-team/unity-lens-sample/python-5.0/view/head:/unity-scope-wikipedia [21:15] line 21 it connects the dbus signal "search-changed" to the Daemon class's on_search_changed() method [21:15] so I have to run: chmod +x buss.lens and so on? [21:16] no, I don't think so [21:16] I thought I puted it in the mainloop? [21:16] ah, okey [21:16] the .lens is just information about your lens [21:16] the mainloop just keeps your Daemon object in-memory [21:16] the mainloop keeps your program from exiting [21:16] look at line 103 of that same file [21:17] so I have putted the code in wrong loop? [21:17] it creates a new instance of the Daemon class, which connects itself to dbus's search-changed, then it enters the mainloop so that the program doesn't exit, removing the Daemon instance [21:17] line 103 on tat example? [21:17] malin: you search code belongs in a function inside the Daemon class [21:18] you wire that function to the search-changed dbus signal [21:18] so I have to write line 103 at end of my code? [21:19] malin: you can take evertying from line 85 to the end of the file, and put it at the end of your code [21:19] ah okey :) [21:19] then put line 32-57 of your code into a function in the Daemon class [21:20] or, you know, you could just use Singlet [21:20] which does all of this for you [21:20] but only on Precise [21:21] ah, I run Precise [21:21] so singlet is easier? [21:22] Singlet just hides all of this other stuff so you don't need to do it yourself [21:23] ah [21:24] malin: look at http://bazaar.launchpad.net/~mhall119/onehundredscopes/dictionary/view/head:/dictionary-lens to see how to do things with Singlet [21:25] global_search and handle_uri are both optional [21:26] all you are required to define is the search method [21:26] hey [21:26] mhall119: will the new video lens be soon in 12.04 :-)? [21:26] davidcalle: ^^ ?? [21:27] Do lenses made with the old method work in precise? [21:27] malin: yes, Singlet is just a wrapper around that [21:27] okey ) [21:28] mhall119: do you have experience with encoding in python? [21:31] string encoding? [21:31] or media encoding? [21:40] mhall119: I added those lines from that example-file + added my code to a function. Do I have to edit the code from that example-file somehow? I still can't get it to work. I have not looked at Singlet yet [21:45] mhall119: I think I should start looking at Singlets instead, this is too difficult for me at the moment :) [21:49] om26er: https://bugs.launchpad.net/indicator-power/+bug/933466/comments/9 [21:49] Ubuntu bug 933466 in indicator-power "Power icon doesn't show charging or draining" [Critical,In progress] [21:50] malin: if you push your latest code I'll take another look at it [21:53] mhall119: okey :) thank you so much for being so patient with me :) [21:53] malin: just passing it on, davidcalle did the same for me when I was getting started :) [21:54] awh :) [21:54] I don't take things very fast, but when I have taken it... :) [21:56] malin: I hope that you'll mentor someone else who needs help, once you've caught it [21:57] thumper, ping, I have a good solution to that alt+f1 key nav thing [21:58] mhall119: of corse :) I love to help others :) [21:59] thumper, also found a crash in IMTextEntry while copying/pasting but the fix is in my new ibus support branch [21:59] mhall119: I will push the new code soon, just gonna check if I have the original buss.py-file somewhere [22:00] bschaefer: hi [22:00] * thumper is running unity 3d using llvmpipe :) [22:00] effectively doing everything in software [22:00] it is a little slower [22:00] but nothing that makes it unusable [22:00] bschaefer: I was up until 1am debugging last night [22:01] bschaefer: but we found the fix \o/ [22:01] charles, confirmed the fix works for me as well [22:01] bschaefer: well, when I say we, I mean njpatel after I had gone to bed :) [22:01] hi om26er [22:01] thumper, haha [22:01] bschaefer: what is your alt-f1 fix [22:01] hey thumper :) [22:02] case XK_F1: [22:02] if (state & nux::NUX_STATE_ALT) [22:02] { [22:02] parent_->KeyNavTerminate(false); [22:02] } [22:02] break; [22:02] :) [22:02] since it only gets to that switch statement when key nac is active [22:02] bschaefer: so... removing exit on alt keypress? [22:02] yup [22:02] bschaefer: what about alt-tab ? [22:03] ill have to add one for tab [22:03] hmm I wonder if there is a state for tab [22:03] wait nevermind had it backwords in my head [22:03] bschaefer: there is a XK for tab [22:03] yeah [22:03] i was thinking NUX_STATE_TAB haha [22:03] but swtiched tab and alt around [22:03] I think the key ways to get out are: [22:04] esc, alt-f1, alt-tab [22:04] what was yours? [22:04] were there others? [22:04] hmm alt+f4? [22:05] alt+f4 is normally "close window" [22:05] is that an expected exit from keynav mode? [22:05] im not sure [22:05] I was told ALL shortcuts [22:05] should exist from key nav... [22:05] well at lease that is what it says in the bug report [22:06] help me pls in python [22:06] does someone know how I can convert unicode to a bytestream? [22:07] https://bugs.launchpad.net/ayatana-design/+bug/869122 [22:07] Ubuntu bug 869122 in Ayatana Design "Launcher - difficult to exit from 'alt+f1' Launcher navigation mode" [Critical,Fix committed] [22:07] "https://bugs.launchpad.net/ayatana-design/+bug/869122" [22:07] opps [22:07] mhall119: http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/view/head:/buss [22:07] - Pressing any keyboard shortcut should exit the 'Alt+F1' navigation mode and perform the keyboard shortcut action the user expects [22:07] gotwig: which language? [22:08] gotwig: python? [22:08] thumper: python [22:08] thumper: like I said [22:08] gotwig: u"\N{SNOWMAN}".encode('utf-8') [22:08] gotwig: sorry, missed your first line [22:08] thumper, so Ill have to go through and make sure all the shortcuts are working [22:08] thumper: It's a bit more tricky [22:08] thumper: 2 slow ^^? [22:08] thumper: wait I have a paste [22:08] malin: ok, __name__ won't be __main__ anymore, so get rid of that if and unindent the code inside it [22:08] mhall119: if you wonder why the name is almost equal to bus as in dbus is just a coincidence. This lens is tend to be used to get info about when busses from the local transport-system in my town goes. [22:09] bschaefer: hmm... [22:09] thumper: http://paste.ubuntu.com/844972/ [22:09] so I should comment out all the code inn __name__ ? [22:09] Hello [22:09] malin: just remove line 33 [22:09] thumper: you dont know lxml, right? [22:10] gotwig: not really [22:10] thumper, which is going to get ugly when we have to keep adding in shortcuts... [22:10] malin: then change buss() to buss(self, scope, search, search_type, cancellable) [22:10] def buss(self, scope, search, search_type, cancellable): [22:10] gotwig: what does parse do? [22:10] ^^ line 32 should look like that [22:11] I just installed the Unity 5.4 PPA and haven't been able to log into Unity, and I was directed to come here if I had issues (http://www.theorangenotebook.com/2012/02/unity-54-whats-new-and-call-for-testing.html) [22:11] bschaefer: yes, we need a better solution [22:11] bschaefer: email the ninjas :) [22:11] WarriorIng64: what problems are you seeing? [22:11] thumper, alright! [22:11] thumper: parse the output from the submit action [22:11] ah, and then I change indent. I missunderstood that as to comment out :p [22:12] malin: finally, on line 22, add the following: [22:12] self._scope.connect("search-changed", self.buss) [22:12] gotwig: the issue is that you have some code somewhere that is expecting a string [22:12] or doing a subtle conversion [22:12] and causing the explosion [22:12] thumper: a bytestring yes... [22:12] thumper: I tried logging into Unity after following the directions for installing the PPA on that page, and I landed in GNOME Shell instead (already installed). When trying to run unity --replace in a terminal, it tells me Unity is not installed, and I can't install it via apt-get since it depends on compiz, which it won't install for some reason [22:13] thumper: and I cant convert it somehow [22:13] thumper: I already asked the python pro's [22:13] they said me that, too. but they dont realy know how to solve that [22:14] WarriorIng64: um... [22:14] * thumper looks at the ppa [22:14] mhall119: Now I will check with log out and in again to see if something happens :) [22:15] thumper: realy sad situation :( couse this should be part of my scope [22:15] it seems that the compiz that is needed for unity isn't in the unity-team ppa [22:15] and isn't in main either [22:16] I'm running the daily crack of compiz [22:16] WarriorIng64: I'm not sure exactly what the problem was, but I'm guessing that when you did the dist-upgrade, it removed unity due to unmet dependencies [22:16] or something strange like that [22:17] thumper: is there something I could try to correct it, or should I ppa-purge and wait? [22:17] WarriorIng64: I'd suggest backing out the ppa [22:17] ok [22:17] WarriorIng64: and reinstall unity [22:17] then comment on the post [22:17] I'm not sure who that is for orangenotebook [22:18] WarriorIng64, hey before reverting can you pastebin the result of sudo apt-get install unity from terminal === m_conley is now known as m_conley_away [22:18] thumper: orangenotebook is balloons [22:19] mhall119: ah... ok [22:19] and for the record, that line, out of context, would make me look insane [22:19] om26er: already started ppa-purge, but I have that output here: http://pastebin.ubuntu.com/845065/ [22:19] mhall119: I changed the code, loged out and back in, but nothing :S [22:20] malin: any of your print statements being run? [22:20] hmm, ppa-purge wants me to uninstall gwibber for some reason [22:20] * om26er thinks you might be using another ppa with this one [22:21] gotwig: if you are utf-8 encoding your form [22:21] gotwig: you need to give a post header saying that you've utf-8 encoded the form elements [22:21] thumper: and where [22:21] thumper: dont realy understand [22:22] mhall119: the print-statement for results is being run. the thing is. The lens is not presnted in dash either [22:23] malin: look at http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/view/head:/lens/buss.lens [22:23] ah or, no, i commented out a print-statement and I don't think I should do taht [22:23] *that [22:23] thumper: http://lxml.de/dev/api.html [22:23] thumper: something like that? search for utf-8 [22:23] malin: print statements don't do anything, so I won't matter [22:23] malin: you have some problems in your .lens file [22:23] DBusPatch should be DBusPath [22:24] and the path should match what is in your lens code [22:24] yeah, the lens should be presented with or without a print-statement :) [22:24] ah [22:24] /net/buss/lens/buss [22:24] okey, and what is the coresponding path in my lsenscode? :) [22:24] ^^ [22:24] I think that' where I have failed a lot, and what I feel is not described enough [22:24] typically me to write patch and not path :p [22:24] what you pass to Unity.lens.new [22:26] malin: you'll also need to call self._scope.export() in your Daemon's __init__ [22:26] so I have to write this "/net/buss/lens/buss", "buss" in the .lense or this: "/net/buss/lens/buss" [22:26] thumper: http://permalink.gmane.org/gmane.comp.python.lxml.devel/5650 [22:26] just /net/buss/lens/buss [22:27] no quotes [22:27] without the quotes, okey [22:27] gotwig: what if you don't utf-8 encode the search string? [22:27] gotwig: it looks like the library you are using is encoding it [22:27] thumper: yes [22:29] mhall119: in python, is it right to have; at the end of a method-call? As I have done? I am more familiar with java [22:29] java syntax [22:31] mhall119: hm.. I changed what you told me to, but still not presented in dash [22:33] thumper: okay, I got the current Unity 5.2 back and running now. Thanks! [22:33] malin: in python it isn't necessary, but it's not a syntax error either [22:33] okey :) [22:33] damn [22:33] malin: bzr push your changes again [22:34] mhall119: okey [22:36] mhall119: http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/files [22:37] hey.. saw a mention in here.. missed it before [22:38] thumper, mhall119 unity 5.4 is due to hit the archive soon.. sounds like that might be the issue your having? [22:38] balloons: 5.4 probably won't hit until monday [22:39] balloons: and given I've just hit another serious issue... [22:39] gah... [22:39] malin: un-indent line 61 down [22:39] well.. yea.. I kind of suspected.. but the point is it was intended to go out [22:39] hence the unsteadiness [22:40] :) [22:40] mhall119: does that mean it should be indented one indent to the right? [22:41] #something <<--- from this to [22:41] #something <<-- tho this? [22:41] malin: line 62 shouldn't be indented at all, everything else indented under that accordingly [22:42] ah, I see [22:42] thumper: I think I know the error [22:42] thumper: I think its becouse it takes in its standard version GET [22:42] and the query is over 127 chars long [22:43] couse its POST, and POST queries can be quite long, right?.. [22:43] but yea.. I'm the guy behind theorangenotebook.. just in case you ever need a target for the chair throwing.. heheh [22:44] om26er, ty [22:44] mhall119: I can push thecode again, cause it still won't run [22:44] yw charles :) [22:45] malin: anyting showing in the dash yet? [22:45] nope [22:45] :( [22:45] malin: is your icon file where your .lens files says it is? [22:45] yeah [22:45] I can of course double check it [22:46] malin: and your buss file is where your .service file says it is? [22:46] mhall119: icon file is where my .lens file says it is [22:47] thumper: do you know at which place I have to place the .method ? [22:47] mhall119: yeah, buss file is where my .service file says it is [22:48] malin: run "python buss" in the directory you're developing the 'buss' file [22:50] malin: oh, give your scope a different dbus path [22:50] call it /net/buss/lens/buss/main [22:50] okey [22:50] gotwig, it's coming really (like tomorrow if things go well) [22:50] malin: I'm about to end my day, but if you push your latest code we can pick it back up tomorrow [22:51] here is the output from terminal: http://pastebin.com/5N2uVUSB [22:51] davidcalle: ? what ^^ [22:51] gotwig, the video lens (sorry, was afk earlier) [22:51] mhall119: can you help? [22:51] davidcalle: oh great ! [22:51] I always asked here [22:51] for that [22:51] :D [22:51] malin: oh, line 20 of your buss file [22:52] will it have a global scope? [22:52] should be Unity.Lens.new [22:52] with a capital L [22:52] mhall119: can you maybe help? [22:53] gotwig, local videos are available from the Home dash. For the remote ones, you will have to go in the lens. [22:53] http://lxml.de/lxmlhtml.html#forms says I can use .method to change the type of the form [22:53] gotwig: sorry, deep debugging an issue right now [22:53] davidcalle: np [22:53] davidcalle: are you doing it? [22:53] gotwig, yeah [22:53] davidcalle: oh! [22:53] davidcalle: you're my hero [22:53] gotwig, lol [22:54] davidcalle: why no youtube scope? [22:54] ^^ [22:54] davidcalle: are you good in python? [22:55] There is Youtube Movies and Youtube Education. But I'm not the one taking care of the sources, it's another dev. [22:55] davidcalle: I like Youtube Movies [22:55] gotwig, it depends, do you need help with something? [22:56] davidcalle: but will they be location dependend? [22:56] the real youtube movies are [22:56] mhall119: I did those changes. I will push the code again. There is still nothing in dash [22:56] gotwig, they should be at release time. [22:57] gotwig, it will be based on your IP adress. [22:58] malin: run "python buss" again [22:58] see if you have any more errors [22:59] mhall119: okey [23:00] mhall119: here is the errors: http://pastebin.com/rdgSY7ES [23:01] malin: oh, that's something from dbus, I'm not sure what it means, maybe davidcalle or mhr3 can help [23:02] malin, can't help on this one, I've learned to ignore these GLib-GIO critical... :) [23:03] davidcalle: ah... so there I am stuck? :) [23:04] anyway thank you very much for helping so far :) [23:04] maybe I can try google those dbus-errors [23:04] malin, the lens should work anyway [23:05] davidcalle: it dosen't .) [23:05] malin, currently there is a regression and Unity needs to be restarted after each lens daemon restart. [23:05] :) [23:05] it's not present in the dash [23:05] malin, have you already seen it in the dash? [23:06] nope [23:06] never [23:06] Is the code somewhere? [23:06] it is [23:06] moment [23:07] http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/files/7 [23:13] mhall119: in your community-lens there are entries in the results.append(), are these just temporary entries/placeholders since the real data is coming from the scope? [23:19] can anyone help me :(? [23:21] malin, http://paste.ubuntu.com/845134/ [23:21] malin, i've simplified your .lens it appears now. [23:21] gotwig, what's the issue? [23:22] davidcalle: like I said, i dont know how to apply .method on my form submit request in lxml : [23:22] dash: http://paste.ubuntu.com/845123/ [23:22] davidcalle: http://paste.ubuntu.com/845123/ [23:27] Oops, cat on keyboard crash. [23:32] lol [23:32] davidcalle: cant help me :/? [23:32] gotwig, http://www.recipefy.com/en/recipe-search?search[value]=tomato [23:32] dash: page.forms[0].method = "POST" does not work, e.g [23:33] davidcalle: is that GET?? [23:33] gotwig, wan't help you on the form method, but you can ask recipefy directly with this url :) [23:33] can't* [23:33] davidcalle: is that GET? [23:34] It is :) [23:34] davidcalle: I asked them for GET [23:34] davidcalle: if they can enable it for me [23:34] davidcalle: I changed the .lens as you sugested, but it dosen't appear here in dash [23:34] nice people ^^ [23:34] malin, start the daemon, then restart unity [23:35] gotwig, indeed :) [23:35] davidcalle: realy ^^ [23:35] davidcalle: ah, how do I do that? [23:35] malin, in another terminal "setsid unity" [23:36] so i start the buss file like: buss & [23:36] and then run setsid unity ? [23:37] malin, you should do it in another terminal, to see clearly what happens in your daemon. buss in one, setsid unity in the other [23:37] gotwig, in fact, I always look for the form value, then try get with it (along the usual suspects : search, query, q, s). Works on a lot of websites. [23:39] davidcalle: realy nice people [23:39] davidcalle: now I did all this thing for nothing^^ [23:39] :/ [23:39] gotwig, hehe [23:39] davidcalle: but they did what I requested [23:39] ^^ [23:39] allrecipes wouldnt do that [23:39] lol^^ [23:42] davidcalle: output from buss: http://pastebin.com/ceiW8Yuk output from setsid unity: http://pastebin.com/rQAtrdbF [23:44] malin, from what I see, you should change your daemon header to #! /usr/bin/python [23:46] malin, and don't give the same dbus name to your scope and your lens. (but the lens one should equal the one in the .lens file) [23:47] so there is something wrong in the .scope ? [23:48] hm.. what should the one in the scope be called then? [23:48] You don't need a .scope file when the scope and the lens are in the same daemon. [23:48] so I can change it something else and it could be anything? [23:49] so I can just delte the scope? [23:49] Yep [23:49] okey [23:50] davidcalle: then I got: Failed to own name net.buss.lens.buss. Bailing out. when running buss from a terminal [23:50] And in your daemon file, change the scope to "Unity.Scope.new ("/net/buss/lens/buss/main")" for example [23:50] but if I have deleted the scope file, how can I do that in the daemon-file? [23:52] malin, http://bazaar.launchpad.net/~malinkb/unity-buss/unity-buss-experimental/files you only need the daemon (buss), and buss.lens [23:52] still get: Failed to own name net.buss.lens.buss. Bailing out. [23:52] and the service file, but that's not mandatory to test it. [23:52] davidcalle: okey [23:53] This is because your daemon is already running. Check your terminals to see if it's there. If not : type "ps aux | grep buss" [23:54] It will show the running proccess, and kill it with "kill processnumber" [23:54] ah, it was running alreaddy yes [23:54] (it's the first number) [23:54] okey [23:55] well.. it still not appear in the dash [23:55] :S [23:56] What the terminal output from the daemon says? [23:56] (wow, excuse my english, it's getting late ;) ) [23:56] there is no output from daemon [23:56] ah, I don't think my english is perfect either :) I am Norwegian [23:57] Ok, don't stop the daemon. and from another term, "setsid unity". [23:57] I did [23:57] but I can try again [23:57] Hum. [23:57] I can post the output from setsid unity if is of any interest? [23:57] Could you paste the daemon file and the lens file as they are now? [23:57] malin, not really [23:58] I can paste them both to pastebin [23:58] Yes please