/srv/irclogs.ubuntu.com/2012/07/20/#ubuntu-unity.txt

sil2100didrocks: hi07:30
sil2100didrocks: I just now noticed that hm, the org.compiz.* (like unityshell) schemas are not visible when doing `gsettings list-schemas`07:31
didrockshey hey sil210007:32
didrockshum, you did install them?07:32
didrocksdo they appear in dconf-editor?07:32
sil2100didrocks: they're accessible through dconf and dconf-editor, they're also visible in the glib directory07:32
sil2100didrocks: but the gsettings program doesn't notice them...07:32
didrocksinteresting07:32
didrockslet me see07:32
didrockssil2100: did you try to get them manually, with gsettings?07:33
sil2100didrocks: yes, when I try fetching them manually through gsettings get, I can access them - but only when I give the path after the :, i.e. org.compiz.core:/usr/share/glib-2.0/schemas07:35
didrockshum hum, so something is wrong in the generated schema I would say07:35
didrockssil2100: did you opened the schema file and try to compare with a valid one?07:36
sil2100didrocks: I'll do it again, maybe I missed something yesterday07:36
sil2100Ah07:37
sil2100didrocks: I see now that hm, our compiz schemas are missing the path= tag in <schema>07:37
sil2100While all the other ones seem to have that07:38
didrockssil2100: yeah, it's needed07:38
sil2100didrocks: but could that be the case?07:38
didrocksah07:38
didrocksno07:38
didrocksok, got you07:38
didrocksindeed, you won't have it07:38
didrocksbecause it's a relocatable schema07:38
didrockssil2100: http://developer.gnome.org/gio/2.28/GSettings.html07:38
didrocksread the description07:39
didrocksso I guess they would appear with  gsettings list-relocatable-schemas07:39
sil2100Ah, right, now it makes sense07:40
sil2100didrocks: thanks!07:40
didrockssil2100: yw!07:41
didrockssil2100: so, I would say07:41
didrockssil2100: as the current profile will be unity07:41
didrockswhen you transition the values07:41
didrocksdo it for the current profile07:41
didrockssil2100: if you need any help with this transition, do not hesitate to ping me :)07:42
sil2100didrocks: yes, so I need to give the unity profile path after the :07:42
sil2100didrocks: since I was wondering why it didn't find the schema - just learned about it being a relocatable one ;)07:42
didrockssil2100: well, don't give the unity profile, try to get the current one rather07:45
didrocksif it's possible with the migration tool07:46
didrocksor rather07:46
didrocksno, in fact, even better07:46
didrockswe know the old profile and the new one07:46
didrocksand both are separated07:46
didrockshum, there is some logic needed in the shell script in fact07:46
didrockssil2100: can you do a hangout, like in 30 minutes?07:46
didrockswill be easier to explain it that way :)07:47
sil2100didrocks: I think I could ;)07:47
didrockssil2100: ok, let's do this then, I'll ping you back07:47
sil2100didrocks: ok - in the meantime I need to understand why org.compiz.core doesn't work but org.freedesktop.compiz.core does... ;)07:51
didrockssil2100: ah, there was a late renaming, so maybe some parts weren't migrated?07:52
sil2100didrocks: but its strange, since the gsettings schema have org.compiz.core - but the gsettings-data-convert cannot find it in this form07:55
sil2100didrocks: even though grepping does not find any org.freedesktop.compiz.* schemas there07:55
didrockssil2100: greeping for freedesktop ?07:56
didrocksgrepping*07:56
didrockslook at the full tree07:56
sil2100didrocks: yes, I was grepping for freedesktop - I only got some non-compiz results07:57
sil2100Strange07:58
didrockssil2100: are you sure that after your installation, the schemas were recompiled?08:00
=== zyga-afk is now known as zyga
sil2100didrocks: ah, hm, do I need to do it explicitly?08:13
sil2100didrocks: I mean, should I slap glib-compile-schemas in debian/rules ?08:13
sil2100didrocks: (or maybe a postinst script)08:13
sil2100didrocks: since I see Timo only copies the schema files, so indeed compilation is missing if it's not done automatically08:14
didrockssil2100: no, if you did install the package, it's fine08:14
didrocksand done for you08:14
didrocksas a dpkg trigger08:15
didrocksif they are installed in the right spot, of course :)08:15
didrockswhere are they installed?08:15
sil2100/usr/share/glib-2.0/schemas/*.xml08:15
sil2100didrocks: that's the right place, right?08:15
didrockssounds goo08:15
didrocksgood08:15
didrockstry to compile them by hand08:16
didrocksto see if it persists or refresh08:16
didrockslike08:17
didrocks/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas /usr/share/g08:17
didrockslib-2.0/schemas08:17
sil2100didrocks: used /usr/bin/glib-compile-schemas and hm, it still doesn't find org.compiz.unityshell but finds org.freedesktop.compiz.unityshell08:18
sil2100This is absurd08:19
didrockssil2100: ok, hangout?08:19
sil2100didrocks: one minute please ;)08:20
sil2100didrocks: ok, ready08:25
mhr3sil2100, can you update the packaging for files-lens to use vala 0.16? see https://code.launchpad.net/~mhr3/unity-lens-files/bump-valac-req/+merge/11590208:53
mhr3sil2100, actually, let's do it for all lenses08:54
mhr3the other merge requests will pop up soonish08:56
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== MacSlow is now known as MacSlow|lunch
sil2100didrocks: after I do a non --dry-run gsettings-data-convert, how can I reset it so that I can migrate the same file again?11:33
didrockssil2100: it's the file I pointed you at in the hangout: ~/.local/share/gsettings-data-convert, edit it and remove the migration filename in the key11:35
sil2100didrocks: ah! Thanks, I found it - since I was looking in my home directory while in the chroot I'm running as root11:36
sil2100...;)11:36
didrocksyw ;)11:37
=== _salem is now known as salem_
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== MacSlow|lunch is now known as MacSlow
MCRdidrocks: Hi. Got a question again: I've setup a standalone Compiz session combined with Unity-2d, because Unity-3d is slowing down everything on 3 displays too much. Now "Super" minimizes the active/selected window. Where can this shortcut come from and how can I turn it off ?14:01
didrocksMCR: I think you should see this shorcuts in gnome-control-center14:03
didrocksso tweaking them there shold work14:03
didrocksbut -2d is not tested or support with compiz14:03
didrocksso a world of warning :)14:03
mhr3sil2100, ehm, did you get my msg about lenses? my internet is weird today, and xchat's log is even weirder... :/14:05
MCRdidrocks: Many bugs I had with Compiz vanished, but I got some new ones instead :P - I know that my special configs are not supported (I wish they would be), thanks for the warning :)14:05
didrocksMCR: good luck and if you can find anything that can be upstreamed to make your life better, do not hesitate ;)14:06
sil2100mhr3: ah, I see it now! Sorry, it got lost in all this haste ;) I'll write it down and deal with it on Monday morning - since right now I'm in a hassle with the compiz gsettings migration stuff14:09
mhr3sil2100, k14:10
* mhr3 is happy to know that the internet somewhat works14:10
mhr3xchat... not so much14:11
sil2100didrocks: the gsettings .convert files - where should the package install them so that we can then use them when migrate.py is run?14:25
sil2100didrocks: I set the path temporarily to /opt/migrate/14:26
sil2100didrocks: but where you think it should go in reality?14:26
didrockssil2100: I would put them to where I put the unity-migration tool in the past14:31
* sil2100 searches14:35
didrockssil2100: look at the history, I removed it in a recent commit (like less than a month)14:36
sil2100didrocks: in the unity package that was?14:37
didrockssil2100: in the upstream tree14:39
sil2100didrocks: do you mean like /usr/lib/unity/ ?14:40
didrocksyeah, I guess I put it there14:41
didrocksusing some CMakeries14:41
didrocksthat's why, just look around, it should still work :)14:41
sil2100didrocks: can I put both the .convert files and the migrate.py script there ;) ?14:41
didrockssil2100: no, the convert file should be in the packaging as we have helper to install them in the right directory14:42
didrocksone sec, let me see how it works14:43
didrockssil2100: no, I dreamt, we don't have any magic14:44
didrocksso put the two files in the same source14:44
sil2100;)14:44
sil2100didrocks: you mean, *.convert ?14:44
didrocksand yeah, you can install the .convert here as well, as we don't want some autopicking by gsettings-data-convert but piloting it14:45
didrocksyeah14:45
didrocksso the 5 files to be exact :)14:45
didrockssil2100: hum, your python had a lot of cruft :)14:46
sil21005 files into /usr/lib/unity then ;)?14:46
sil2100didrocks: it's been a while since I last wrote anything in python... ;p14:47
didrockssil2100: I would use /usr/lib/unity/migration14:47
sil2100Ok!14:47
didrockssil2100: I mean, even the print talks about reset14:47
sil2100I wanted to know what's going on... ;)14:47
didrockssil2100: yeah, but you can change my print for unity speaking about reset to something more sensible :)14:48
didrockshum14:48
didrockscurrent_profile_gconfvalue isn't attributed14:48
didrocksdid it really run for you?14:49
sil2100didrocks: hm, yes, but it had the fallback to 'unity' then14:49
sil2100didrocks: so true, indeed it's probably broken still!14:49
didrocksit is broken, you remove the fallback and didn't set the value14:50
didrocksi'm fixing it14:50
didrocksplease test it first next time :)14:50
sil2100didrocks: yes, please - I simply hacked it fast since I had to do those .convert files, and I'm a bit stressed with the deadline ;)14:50
didrocksI guess even that ; wasn't really appreciated by the interpreter :)14:51
sil2100didrocks: well, from what I remember python didn't really mind ; at the end ;p14:51
sil2100didrocks: ah, my habbits... ;)14:51
didrocksoh? /me launches an ipython14:52
didrocksindeed, interesting14:52
sil2100didrocks: I remember reading about that somewhere - it seems python is forgiving for C coders ;)14:54
didrockssil2100: a little bit more clean: http://paste.ubuntu.com/1101933/14:55
sil2100didrocks: thank you! ;)14:55
didrocksdidn't wrap () for print, nor use os.open(), we don't really care that much in that case :)14:55
didrocksyw14:55
sil2100didrocks: hm, should I do it as we planned, i.e. with 4 .convert files, or should I detach it so that there are .convert files for compiz and .convert files for compiz-plugins-default :/ ?15:10
sil2100didrocks: therefore making the migration script deprecated?15:10
sil2100didrocks: I would personally leave it as it is15:11
sil2100didrocks: since if some plugins are not installed, then migration of non-existing settings will just silently fail anyway15:11
sil2100didrocks: and you can't really update compiz-plugins-main without updating compiz, because of the gsettings switch15:12
didrockssil2100: oh sorry, forgot about it, it should be in compiz in fact15:12
didrocksnot unity15:13
didrocksso compiz files in compiz15:13
sil2100didrocks: you think compiz would mind if we put /usr/lib/compiz/migration/ directory ?15:13
didrocksunity migration file in unity15:13
didrockssil2100: I don't think so, better to check with daniel, but I don't think it's a blocker15:14
didrocksin case, we can move that somewhere else if needed15:14
didrocksas long as it's just a path change15:14
sil2100So... I would need hm, 8 .convert files now?15:14
didrockssil2100: no :)15:14
sil21004 for unity 4 for compiz plugins?15:14
didrockssil2100: 2 for compiz in the compiz source tree15:14
didrocks2 in unity in the unity source tree15:14
didrocksthen, the migration tool is detecting if there are the unity convert file15:15
didrocksif not, it just run the "default" profile15:15
didrockswithout the unity part :)15:15
sil2100hm, wait15:15
didrockswe'll copy both compiz and unity at the same time in the archive15:15
didrocksso people will have to upgrade them at the same time15:15
sil2100didrocks: two things:15:16
sil2100didrocks: first - you want to put the convert files into source trees? Not distro?15:17
didrocksit should be in source trees15:17
didrocksas it's an upstream change15:17
didrocksand maybe other distros will be interesting in this15:17
sil2100Shit...15:17
sil2100Ok, hm15:17
sil2100didrocks: I still try to understand how 2 .convert files for unity and 2 .convert files for compiz15:18
sil2100didrocks: since right now we have 4 - one for unity profile, one for Default profile, the defaults for unity and the defaults for Default15:18
didrocksright15:19
didrockswhich is all what we need15:19
didrocksmove the compiz ones to compiz source tree15:19
didrockswhat I call the compiz ones are "the default profile"15:19
sil2100didrocks: so, you mean you want to put the unity profile convert files into unity15:19
sil2100And the Default ones into compiz15:19
sil2100didrocks: since hm, I see that my Default profile has unityshell settings o_O15:19
didrockssil2100: not necesserally15:19
didrocksah that's wrong15:19
didrocksit sholdn't15:19
didrocksthe default profiles should have no bits of unity15:20
sil2100Good to know, since I had no idea because of my broken configuration15:20
sil2100didrocks: anyway, the unity profile should have unityshell converts as well as some of the compiz converts, right?15:21
sil2100didrocks: so I just need to remove unityshell from the Default .convert files15:21
didrockssil2100: right, think of them more as profiles (so the whole stack) rather than plugins :)15:21
didrocksindeed15:21
sil2100I hate Friday releases15:22
didrockssil2100: well, try at least to get something ready and tested15:23
didrockssil2100: as I think this will ask a lot of configuration upgrade/tests15:23
=== dandrader is now known as dandrader|afk
didrockssil2100: not related but, you did pointed us to your ppa for the SRU, but the whole stack was tested and there is the green flag?15:27
sil2100didrocks: https://docs.google.com/a/canonical.com/document/d/1IYDxthUsoznC0UYhkGZ7OufnSJDdmmQ7njUE0xB2mXQ/edit# <-15:29
sil2100didrocks: it was tested, checkbox tests weren't finished for the unity + compiz + cpm whole stack, but it was mostly all green when Francis was working on it15:30
sil2100didrocks: we still have a few bug descriptions to SRU, but that'll be done later by Francis too15:30
didrockspopey: francis is not working on this anymore? ^15:31
popeyfginther, ^^15:32
fgintherdidrocks, popey, the checkbox testing was finished15:34
fgintherno new issues15:34
sil2100fginther: for SRU-1?15:34
sil2100fginther: excellent! Thanks ;)15:34
sil2100fginther: I thought you had to stop because of quantal gsettings15:34
fgintherfor quantal compiz, cpm, unity15:34
didrocksexcellent, thanks you both :)15:35
fginthersil2100, didrocks the precise SRU tests are incomplete15:35
didrockshum?15:35
didrocksaren't we speaking about that?15:35
didrocksfginther: what's the ETA then?15:36
fgintherdidrocks, one moment15:36
sil2100fginther: ah, ok, wait - so quantal gsettings tests show no new regressions, yes?15:36
sil2100fginther: since that's excellent as well ;)15:36
fginthersil2100, yes, I ran into the launcher autohide and missing desktop menubar on quantal. The autohide was workedaround via ccsm15:37
sil2100fginther: so just that? Good - since I can't reproduce the missing desktop menubar currently15:38
fginthersil2100, yes, just that15:39
fginthersil2100, didrocks, about another hour on the checkbox-unity, then I'll be done with the Precise SRU15:42
didrocksfginther: thanks! keep us posted :)15:43
didrocksseb128: FYI ^15:43
fgintherthat's with unity 5.14.0-0ubuntu1~test115:43
seb128didrocks, good, thanks15:43
sil2100didrocks: so, the migrate.py script should be in compiz source trunk as well, right?15:44
didrockssil2100: indeed, the common denominator :)15:44
didrocksand you should detect if the unity convert files are installed15:45
sil2100didrocks: with the CMakeList.txt file installing it to a session-migration aware directory?15:45
didrocksif so, run the if(profile) logique15:45
didrocksif not, just run "default active" profile15:45
didrockssil2100: no, just keep it there without installing it15:45
didrocksit's up to upstream if one day, they want to install it (I did that for unity)15:45
didrockssil2100: then, in the packaging, I added a .migration file facility, you just list the script and it will install it where it shold15:46
didrockssil2100: man dh_migrations (yeah, I did a manpage ;))15:46
sil2100didrocks: ah, so for now just keep the .convert files and the migration.py tool in compiz source, and install everything through packaging?15:46
sil2100didrocks: or should the source at least install the .convert files into the respective directories?15:48
didrockssil2100: well, I see low value of installing the .convert file without the script15:50
didrocksso maybe just ship it upstream, uninstalled, at least for other packagers to do their best with their distribution15:51
didrockssil2100: ok, so I think really that we won't push compiz gsettings and unity today, it's friday and dangerous :)16:20
didrockssil2100: but I think at least, the migration script should be nearly there?16:20
sil2100didrocks: yes, I'm trying to put a package together - I mean, it's put up together already, just building ;)16:22
sil2100didrocks: I'll also submit some merge requests to unity and compiz trunks16:22
sil2100didrocks: and show you all the packaging branches (with the merges cherry-picked in)16:22
didrockssil2100: ok, you are using dh-migrations right?16:23
didrockswith the debian/*migrations file16:23
didrocks(I already used it in unity if you want to take a look)16:23
didrockssil2100: once the package is there, there are a *lot* of migration tests to do16:24
didrockslike creating a user16:24
didrockstweaking values like crazy (with old unity/compiz)16:24
didrocksand upgrading, logging out and logging in16:24
didrocksthat tested twice with the unity session and the default session16:24
sil2100didrocks: yes :)16:25
sil2100didrocks: I know, I saw - I was basing on that16:25
sil2100didrocks: had to add dh-migration as the dep16:25
didrocksbuild-dep for compiz, yeah16:26
didrocksand use --with migrations16:26
didrockssil2100: btw, is the manpage explicit?16:26
sil2100didrocks: yes, it is :) Actually it's very helpful, although the --with migrations I had to look-up at unity16:27
didrockssil2100: sweet! :)16:28
didrockssil2100: updated the manpage FYI16:31
sil2100didrocks: \o/ awesome16:31
fginthersil2100, didrocks checkbox-unity testing on precise sru candidate passed with no regressions16:35
sil2100fginther: that's most awesome, thanks for the testing :)!16:35
fginthersil2100, you're welcome16:35
sil2100fginther: now, I'll have one more task for you - but I'll send it by e-mail in a moment!16:36
didrocksfginther: excellent! seb128 has you will take care of that ^16:36
didrocksfginther: thanks ;)16:37
seb128good16:37
fgintherdidrocks, you're welcome16:54
lewtdshi. I'm creating an indicator with AppIndicator. At the same time I'm using Gtk.Application to provide uniqueness. But since I port my app to Gtk.Application (which run with Gtk.Application app.run() and not Gtk.main() ) the indicator stop working (it doesn't show up). Is this a libindicator's fault?16:55
lewtdshere's the test code in Vala http://paste.ubuntu.com/1102100/. Compile it with valac --pkg gtk+-3.0 test.vala17:00
exarkunif I try to suspend my laptop, a dialog pops up saying "A program is still running", "Chromium Web Browser", "Power Save Blocker".  And my laptop does not suspend.  How do I make my system suspend even if "Chrome Web Browser" (or any other program, for that matter) is "Power Save Blocker"?17:18
alo21hi19:24
alo21How can I create a minimal window (like ctrl+F in Firefox) in python?19:25
=== yofel_ is now known as yofel
Gibzsullivanhai21:46
Gibzsullivanhello21:46
Gibzsullivanhmm21:47
=== salem_ is now known as _salem

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!