I'm trying to create some webapps to use with Firefox. I got an tutorial from Canonical (http://developer.ubuntu.com/resources/app-developer-cookbook/unity/integrating-tumblr-to-your-desktop/) and I didn't understand one thing, maybe someone could help me.
I have to run the following script in Web Console:
// ==UserScript==
// @name tumblr-unity-integration
// @include https://tumblr.com/dashboard
// @version @VERSION@
// @author WebApps Team
// @require utils.js
// ==/UserScript==
window.Unity = external.getUnityObject(1.0);
Unity.init({ name: "Tumblr",
iconUrl: "icon://Tumblr",
onInit: null });
Everything is fine, it created the icon launcher and work with alt+tab. That enough for me by now, but, if I close the windows, the launcher icon that I created before stop working (I mean, it open the site, but doesn't work like other webapp and doesn't show in alt+tab too). Maybe I have to run this script automatically every time I enter on that site (In this example, Tumblr). How can I do that?
Thanks,
- How can I see the source of the
- Where I can find more info about create my own package?
– euDennis Mar 16 '13 at 23:58unity-webapps-youtubeapt-get source unity-webapps-youtube; 2) Here, but as in your case there is no need to compile anything, it should be a lot easier to just create a directory structure likeunity-webapps-youtubeand usedpkg. See here.https://github.com/eudennis/unity-webapps-feedly
After that, I made my .deb file, but didn't work yet. Do you know if I made something wrong?
– euDennis Mar 29 '13 at 19:18Feedly.user.json the root of the package, so it will be installed on/Feedly.user.js. I think it must be placed in/usr/share/unity-webapps/userscripts/<app_name>/Feedly.user.js. – Salem Apr 11 '13 at 20:12