[00:05] <bdrung> Cimi: there are some theming bugs in light-themes in precise with gnome-panel. can you help me fixing them? i don't know the names of the panel elements for the css file and didn't find documentation about it.
[00:06] <Cimi> bdrung, remember me next week
[01:21] <Will123456> hey guys. i'm getting quite obvious visual glitches with the dash blur on unity 5.10
[01:22] <Will123456> raise a window with some detail, like a website in firefox
[01:22] <Will123456> then open the dash and repeatedly minimise and maximise it
[01:22] <Will123456> i'm seeing the window visibly "jump" down as you maximise
[01:23] <Will123456> anyone else seeing this?
[01:30] <mhall119> Will123456: can you get a screencast of it happening?
[01:30] <Will123456> mhall119: i'll try my best
[01:36] <Will123456> mhall119: know anywhere i can upload it without having to first make a bug report?
[01:39] <Will123456> mhall119: pity unity records so poorly
[01:39] <Will123456> flickering everywhere
[01:41] <Will123456> mhall119: whilst i process this screen recording, can you test it on your end for me?
[01:50] <mhall119> Will123456: what did you use to record? gtk-recordmydesktop didn't have any flickr for me
[01:50] <mhall119> I've been running 5.10 for a couple days and haven't noticed any glitches
[01:51] <Will123456> gtk-recordmydesktop gives me lots of glitches
[01:51] <Will123456> so did kazam
[01:52] <mhall119> oh wait, I do see the movement when maximizing/unmaximizing the dash
[01:52] <mhall119> it looks like the background is shifted down 20 or 30 pixels
[01:52] <Will123456> yeah
[01:52] <Will123456> and if you look very closely, it's actually not just the background
[01:52] <Will123456> it's the icon 'reflection' too
[01:53] <Will123456> i'm surprised nobody caught that
[01:53] <mhall119> what reflection?
[01:54] <Will123456> mhall119: all icons in the dash have very faint reflections
[01:54] <Will123456> some are easier to see than others
[01:54] <Will123456> try looking at totem's icon
[01:54] <Will123456> look for the zebra striped 'top' bar thing
[01:55] <Will123456> the clapper
[01:55] <mhall119> I don't see that
[01:55] <Will123456> okay, well it is definitely there :P
[01:55] <Will123456> weirdly i'm not seeing the icon reflection moving, even though i was before
[01:56] <mhall119> Will123456: did you file a bug on this yet?
[01:56] <Will123456> not yet. i wanted to confirm it with others
[01:56] <Will123456> you can write it yourself if you like, but i've got a screen recording done. unfortunately it has glitches
[01:56] <Will123456> so if you can record one that is flicker free, that'd be great
[01:59] <Will123456> mhall119: i'll report it and upload my screencast. if you can, uploading your own would really help :)
[02:03] <mhall119> Will123456: recording one now
[02:08] <mhall119> Will123456: is this what you're seeing: http://ubuntuone.com/5fCZrGHtJsODza60Qne62s
[02:08] <mhall119> let me know the bug number and I'll add my video and mark it as affecting me too
[02:09] <Will123456> mhall119: that's perfect! thanks :) i'm submitting my bug report now... i'll get you the link the moment it's through
[02:11] <Will123456> mhall119: https://bugs.launchpad.net/unity/+bug/981321
[02:11] <Will123456> mhall119: *high five*
[02:30] <mhall119> thanks Will123456
[02:47] <Will123456> mhall119: i like your touch with the green outline! it is much clearer than mine :)
[02:53] <mhall119> Will123456: compiz annotation plugin
[02:53] <mhall119> it's not handy very often, but when you need something like that it's great
[02:55] <Will123456> yeah, i would never have thought of that
[02:55] <Will123456> nice one :)
[02:55] <Will123456> for some reason i'm going bug reporting crazy
[02:55] <Will123456> i should have done it weeks ago instead of so close to the release, but i suppose that can't be helped now
[03:54] <tgm4883> I'm trying to create a unity scope, but I'm having trouble with it opening what I believe to be the incorrect application. Is there a way to use the default video player?
[03:54] <tgm4883> Right now I'm using "/usr/bin/gvfs-open URI", but it keeps opening chrome. If I change it to "/usr/bin/totem URI" it still opens fine, but that obvioiusly isn't a solution
[07:54] <MCR1> Hi. Since the last compiz update the plugin animations-add-on seems to crash compiz. Is this already known ?
[07:54] <MCR1> I would like to have my animations back.
[08:07] <MCR1> This is not acceptable, I will file a bug report.
[09:14] <nik90> davidcalle, ping
[09:16] <nik90> mhall119, ping
[09:17] <MCR1> oh, finally the Unity Dash is getting pretty :) - no more ugly grey triangles - this looks nice now 8-)
[10:41] <nik90> davidcalle, ping
[10:45] <davidcalle> nik90, pong
[10:46] <nik90> davidcalle, is that a version of the wikipedia lens example which includes getting data from a xml format
[10:46] <nik90> I mean "is there"
[10:47] <nik90> I need to gather data from this website which only provides data in the xml format after user authentication
[10:48] <davidcalle> nik90, http://bazaar.launchpad.net/~markjtully/+junk/rhythmbox-scope-precise/view/head:/rhythmbox-scope
[10:48] <davidcalle> nik90, the python rb scope parses a xml file
[10:49] <davidcalle> nik90, at line 59
[10:49] <nik90> davidcalle, what if the xml file is not local? meaning I use the api with the user search string...
[10:50] <davidcalle> nik90, xmlfile = urllib2.urlopen(your_query_url).read()
[10:51] <nik90> oh perfect..thnx..
[10:51] <davidcalle> nik90, then you can pass xmlfile just like rhythmbox_dbFile
[10:51] <nik90> davidcalle, I tried first implementing the wikipedia lens as stated in the tutorial..everything works except for the icon
[10:52] <nik90> I guess "http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png" does not seem to work for me
[10:52] <nik90> if I replace it with something else (a local image file), it then works fine
[10:55] <nik90> davidcalle, I instead get this http://imgur.com/sU5ub
[11:01] <davidcalle> nik90, Unity have issues with http icons when it has been restarted. Random bug. If you look at the online videos section of the video lens, you should have the same bug.
[11:01] <nik90> davidcalle, oh yeah I just noticed
[11:01] <davidcalle> nik90, but sometimes it works. A bit annoying :)
[11:02] <nik90> davidcalle, one more question...I used quickly install...how do I uninstall the lens nows?
[11:02] <davidcalle> mhall119, ^
[11:03] <nik90> ok..
[11:03] <davidcalle> nik90, I don't know if there is a "quickly remove" or "quickly uninstall" command, but you can delete the /usr/share/unity/lenses/<yourlens> folder to achieve the same effect.
[11:04] <nik90> davidcalle, but when I go into /usr/share/unity/lenses/wikipedia/ I only see 2 files..the .lens file and the .svg file...now where does all the python code go then? like _init_.py
[11:05] <nik90> I was trying to use this method to look at the code of other lenses...but then they did not have the python code in them
[11:05] <davidcalle> nik90, there should be a <your lens> folder in your home too.
[11:06] <davidcalle> nik90, it contains everything created with "quickly create"
[11:07] <nik90> davidcalle, there is ... but suppose in the case of distribution to other users, how does unity run the python code in their system?
[11:07] <nik90> if it is not present in /usr/share/unity/lenses
[11:07] <davidcalle> nik90, there is a quickly command to package the project and send it in a launchpad PPA
[11:08] <nik90> davidcalle, ok
[11:08] <nik90> davidcalle, one last request...do you have any other sample code where an authentication has to be made before the data can be accessed?
[11:09] <nik90> I have the username and password for api access
[11:09] <davidcalle> nik90, username and password are in the url you query, or there is some authentication needed before you query it?
[11:10] <nik90> davidcallle, the authentication is not in the url...a dialog box pops up asking for username and password
[11:10] <nik90> try this link http://webservices.ns.nl/ns-api-avt?station=ut
[11:14] <davidcalle> nik90, oh ok. I'm not sure, but I think that this code sample will do the trick http://www.voidspace.org.uk/python/articles/urllib2.shtml#id5
[11:15] <nik90> davidcalle, I will try it out...thnx for your help
[11:15] <davidcalle> nik90, no problem
[11:35] <mhall119> nik90: sudo quickly uninstall should do it
[11:35] <nik90> mhall119: ah ok
[12:19] <nik90> mhall119, what if I do not provide any url in results.append ? In my case, I basically gather data and show it to the users...but they are not supposed to press the icon itself...
[12:19] <nik90> is that even possible?
[12:22] <mhall119> nik90: you'd probably want to override the handler then, so Unity doesn't try to open an empty url
[12:23] <nik90> mhall119, how do i do that?
[13:27] <malin> is it possible somehow to prevent a search lense to not start to search on the fly?
[13:27] <malin> I would like it to search after 5 seconds or so
[13:33] <davidcalle> malin, do you still have my pastebin from yesterday night?
[13:33] <malin> I think so
[13:33] <malin> yeah
[13:34] <davidcalle> Found ir http://paste.ubuntu.com/928675/
[13:34] <davidcalle> it*
[13:34] <malin> if it's possible to add a line or a paramater prevent it to search if I use backspace to search another search (it search then too) and to make it wait to search a little the first time, thing would be perfect :)
[13:35] <malin> ah, that pastebin. Havn't seen it
[13:36] <malin> ah, you made a for loop as in an example I have seen yesterday, but wich I didn't figured out how worked
[13:36] <davidcalle> malin, what you can do is avoid to search until you have a string + space + a few characters. Would something like that work for you?
[13:36] <malin> and the if input is not "" (meaning space, dosen't it? :) )
[13:36] <malin> I think that would work better. I think I should try
[13:36] <davidcalle> malin, "" meaning no input
[13:38] <malin> okey
[13:40] <malin> how actually dos the for-loop work?
[13:41] <malin> looks like some of it edits the result-text
[13:46] <davidcalle> malin, yes, first, I break the result string into chunks, each time it sees "Buss ". Then the loop splits each chunk when it finds "og kommer". The first part is used for the title. The second for the comment.
[13:47] <davidcalle> The comment is then modified in two ways : I replace ", " by a new line, and I remove everything from "Tidene angir" to the end.
[13:50] <davidcalle> About the detection of a long enough search string, you should try this regex : instead of if input != "", if  re.match("\w+\s\w+", input)
[13:50] <davidcalle> \w+ matches the first string, \s the space, \w+ matches another string.
[13:52] <malin> ok
[13:52] <davidcalle> re.match("\w+\s\w{3,}", input) is even better, as it will only match at least 3 characters in the second string
[13:52] <malin> jo-erlend told me it could be smart to make a method who find out if a search is valid or not, so I will try to implement that :)
[13:53] <davidcalle> malin, good idea
[13:53] <malin> I think it is, so I will try to that
[13:54] <malin> hm. in fact is possible to just write to busstops and it gives a valid answeer, so I think it shoud check if I have written at least two words
[14:05] <malin> so all I need to do is to count words from input :)
[14:52] <nik90> davidcalle, I need your help
[17:07] <malin> davidcalle: thank you for helping. I did it a different way in the end, but I just wante to thank you again :)
[17:09] <davidcalle> malin, no problem, I'm glad it works :)
[17:20] <malin> davidcalle: yeah :) The last thing I will fix is to make it start automatically, but have to it another day I think, and after it does, I will make my first ppa :)
[17:23] <davidcalle> malin, making it start automatically is very simple. A two lines file.
[17:25] <davidcalle> malin, a file like this one (with 1) the dbus name of the lens 2) the path to the daemon ) : http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/view/head:/unity-lens-video.service
[17:25] <davidcalle> malin, it needs to be placed in /usr/share/dbus-1/services/
[18:36] <malin> davidcalle: ah, so it should be in that path, and not in /usr/local/bin? :)
[18:39] <davidcalle> only the .service file. The daemon can be where you want, default lenses daemons are in /usr/lib/unity-lens-<lensname> , but it's recommended for third party lenses to put them in /opt/unity-lens-<lensname>
[18:39] <davidcalle> malin ^
[18:41] <davidcalle> malin, the general file structure is : <lensname>.lens file in /usr/share/unity/lenses/<lensname>, unity-lens-<lensname>.service file in /usr/share/dbus-1/services/, everything else in /opt/unity-lens-<lensname>
[21:01] <Omega> I upgraded a bunch of packages, lightdm remembers my wallpaper but once logged in another wallpaper is presented to me. (Going to change the wallpaper shows that it also thinks that my wallpaper is unchanged).
[21:03] <Omega> It seems like I cannot change my wallpaper at all now.
[21:08] <Omega> Theming does not work either.