=== Jens is now known as Guest71271 === Guest71271 is now known as jbache [09:11] will u tell me where's unity custom file ? [09:13] whosurmummy, what is "unity custom file"? [09:14] ubuntu unity [09:14] whosurmummy, was is a "custome file"? [09:15] a file that defines function of unity [09:15] whosurmummy, what function? [09:16] say,define 没有 [09:17] say define my own key shortcut [09:17] that's in gconf [09:19] does unity has it's own configuration file? === yofel_ is now known as yofel === mhall119_ is now known as mhall119 === nelson_ is now known as nmarques [15:16] hi [15:16] is there anybody? [15:34] or isn't? [15:39] gregory_, there is me. Hi [15:40] hello, nice :) [15:40] so [15:40] i would like to use unity's average color [15:40] is there a file which contains that information? [15:41] i mean some configuration file or anything [15:41] gregory_, it was a setting at some point, I don't know where it is now. [15:41] gord ? ^ [15:42] gord? [15:42] gregory_, he should know this [15:42] ah [15:42] may i wait for him? [15:43] gregory_, well, I don't know if he is around, but he is online. [15:44] okay [15:44] its controlled by gnome-bg these days, i don't think there is a configuration option for that, but it would be nice to have [15:45] i thought it would be nice to use the unity's color in conky for example [15:45] and that would be the easiest way [15:45] to fetch from a file [15:45] :) [15:45] if you can get conky to read an xproperty you can do it that way, its handled by gnome-bg because we had to share the colour between unity and notify-osd [15:46] its the property _GNOME_BACKGROUND_REPRESENTATIVE_COLORS on the root window [15:47] may i create a short script which reads that property and writes it to a file? [15:48] sure, "xprop -root | grep _GNOME_BACKGROUND_REPRESENTATIVE_COLORS" should get you started [15:48] gregory_, just found it : xprop -root | grep _GNOME_BACKGROUND_REPRESENTATIVE_COLORS [15:49] heh :) [15:49] :) [15:49] nice nice :) [15:49] very nice, thanks for your help [15:50] and that is changing with the desktop [15:50] gregory_, yes [15:50] yes i see [15:50] when you are done, don't forget to post the script somewhere online, seems like a neat idea other people might like :) [15:51] yes, i'm thinkin about the automatic refresh now [15:52] because the main project was to make conky's foreground color the same as the unity's [15:52] and to change it when the background changes [15:53] maybe i can create a small daemon which reads it periodically [15:54] or is there a way to do that with a trigger? [15:55] yeah add -spy to the xprop command [15:55] it'll print out a new value every time it changes [15:58] hi again [15:58] so i'm amazed [15:59] thank you again :) [16:02] so byebye! [16:03] gregory__, bye, ;) === ais523_ is now known as ais523 [16:15] hey, is indicator-network ported to gtk3? [20:13] hi, i'm writing a lens in python using a SingleScopeLens... i'm having trouble getting it to call my lens for global searches - i've tried adding a global_search(phrase, results) method, but this is never called. i'm probably doing something very stupid, does anybody have any ideas? [20:19] hi mcarolan, have you tried setting a pdb trace inside your global_search? [20:27] hey, no I haven't. i placed a print statement inside global_search - this doesn't seem to be hit. the equivalent statement inside the search method works as expected [20:28] do you know if there's any meta information i need to set for the lens to enable global search? [20:28] that was my initial thought, but after some googling i couldn't come up with a great deal [20:29] what does your global_search method take as parameters? [20:29] it should be global_search(self, phrase, results) [20:32] global_search is called based on the Unity search type [20:32] Unity sends a flag to SingleScopeLens telling it whether it's a global search or not [20:33] so I have [20:33] def global_search(self, phrase, results): [20:33] print 'search in global' [20:33] ah, how do I set the unity search type? [20:33] you also need to have an actual search string, or set Meta.search_on_blank [20:34] it's internal to Singlet's code, it gets passed by Unity over the dbus connection [20:35] also, if you don't define a separate global_search method, Singlet will just call search() for global searches as well [20:35] ahhh, this explains it. I assumed search_on_blank was something else entirely! [20:36] it seems to be called now, thanks a lot for your help! [20:36] np [20:47] has the gtk3 port been intergrated into trunk for indicator-network [20:47] ? [21:03] hmm, so it seems that applications don't expose a list of focused tabs and the current tab after all [21:03] which is vaguely ridiculous, as it could really be possible to make good use of that [21:04] particularly annoying is KDE, which exposes pretty much everything over dbus but the information I actually want