[08:03]  * achiang is having a hell of a time trying to programmatically add an icon to the Unity launcher on a freshly installed 14.04 system, wonder if anyone can help
[08:03] <achiang> this is for an already-existing user, not a brand new user
[08:04] <achiang> my process looks something like: scp foo.desktop remote:/tmp... then on remote: sudo desktop-file-install /tmp/foo.desktop
[08:06] <achiang> next step, scp over my 99-foo.gschema.override to remote:/usr/share/glib-2.0/schemas, where the override file has: [com.canonical.Unity.Launcher]
[08:06] <achiang> favorites=['foo.desktop']
[08:06] <achiang> then: sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
[08:07] <achiang> finally: rm -rf ~/.cache ~/.local ~/.config ~/.gconf and a reboot
[08:07] <achiang> this works *sometimes* but not reliably
[08:07] <achiang> would love if anyone could provide guidance
[08:08] <achiang> i've tried the other approach of: sudo -u <username> dbus-launch gsettings set com.canonical.Unity.Launcher favorites "['foo.desktop']"
[08:08] <achiang> (that's during an ssh session)
[15:15] <desrt> good morning, nobody
[15:20] <Laney> hi desrt!
[15:21] <desrt> hey Laney.  day off today?
[15:21] <Laney> ya
[15:21] <desrt> same :D
[15:21] <Laney> this was my wrapping cave
[15:22] <desrt> i've been working on an interesting project over the weekend
[15:22] <Laney> some muscle memory took me to irc
[15:22] <desrt> taking 'Contents', scaping the interesting parts out of it, and putting it into a fast lookup table
[15:22] <desrt> turns out gvdb is a pretty appropriate format for that
[15:24] <desrt> what would be absolutely ideal would be to get this information into the 'packages' files on the mirrors
[15:25] <desrt> but uh.... ya... those already take too long to download :)
[15:26] <Laney> i could imagine some integration into apt for this kind of data
[15:26] <desrt> ya
[15:26] <Laney> deb-contents in sources.list or something
[15:26] <desrt> i wrote to mvo about 'apt install c_include:libjpeg.h'
[15:26] <desrt> or 'apt install pkgconfig:glib-2.0'
[15:26] <desrt> or even 'apt install xml:http://docbook.sourceforge.net/release/xsl/current/'
[15:27] <desrt> or 'apt install python2:libxml2'  (finds the python module)
[15:27] <desrt> and of course 'apt install path:xsltproc'
[15:27] <desrt> which is a bit overlappy with command-not-found data, i guess
[15:29] <desrt> Laney: i was wondering if you had thoughts about the best way to get this information from *cough* "upstream"
[15:29] <desrt> where "upstream" in this case is the person/place where the package is actually built
[15:30] <desrt> ie: some dh script could notice that a .pc file is being installed and add some extra data to the control file that ends up in the .deb, sort of like what happens with the automatic shlibs depends
[15:36] <Laney> Perhaps you'd put it into the binary .changes file which can then be aggregated by the archive
[15:37]  * Laney takes off, ttyl
[15:37] <desrt> Laney: thanks.  have a good holiday.
[15:53] <Laney> btw I think this might overlap with an implementation of AppStream that some people (ximion?) are working on
[15:53]  * Laney really goes :)
[16:30] <xnox> desrt: in rpm world, at .rpm package built-time such things are generated as "Provides" and stored in the .rpm file itself. Thus if one writes ${misc:Provides} and makes all packages use it.....
[16:31] <xnox> desrt: shouldn't be any different from the current shlibs (but that one is more complex than desired here, due to abi version tracking and symbols versioning)
[16:32] <desrt> xnox: we're chatting about this in #debian-devel right now, in fact
[16:32] <desrt> seems that there was a SoC project to do something quite similar
[18:41] <achiang> anyone around that can explain how to use gsettings schemas to change the Unity Launcher icons for a user, after the user already exists?
[18:41] <achiang> the answers on the internet don't seem to work