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