|Ubuntu IT scope|
|Ubuntu IT scope|
This time, instead of writing a review about the BQ Aquaris 4.5 Ubuntu Phone, I am going to tell you about my first Ubuntu Touch Scope.
Yes, I made it! That’s what’s great about Ubuntu, you can be a “normal” user or you can hack on it and create your Apps and Scopes.
So, how did I do it? Well it’s really easy, just follow what I did and you will be able to have your own scope on Ubuntu Touch too!
First of all you need to add a PPA for installing scopecreator, Scope-creator is a command line tool that can be used to get a scope running on your phone in a few minutes:
$ sudo add–apt–repository ppa:cwayne18/ppa
$ sudo apt–get update
$ sudo apt–get install scopecreator
Now with Scope-creator installed, let’s create the scope:
scopecreator create [template] [package_name] [scope_name]
template can be: youtube, twitter or rss
package_name is your package namespace from developer.ubuntu.com
scope_name is the name of the scope you wish to create
for instance, for my scope, I used:
$ scopecreator create youtube carla-sella ubuntuit
Now you cd to the directory created by scopecreator (remember to do this step, it’s important) and launch:
$ scopecreator edit config
this way you will edit the manifest.json file for setting the configuration, this is what mine looks like:
“description”: “Ubuntu IT scope”,
“title”: “Ubuntu IT”,
“maintainer”: “Carla Sella <email@example.com>”
Next you need to set up the branding with:
$ scopecreator edit branding
and here is my .ini file:
Description=Canale Youtube di Ubuntu IT
The appearance section contains colors and logos for you scope.
You need to replace the logo.png file under ubuntuit/images directory (in your case, it will be scope_name/images) with you logo for you scope.
Then you need to run:
$ scopecreator edit channels
for editing the channels.json file that contains the list of playlists or channels that you will then find in the dropdown menu of the scope you are creating.
Here is my channels.json file:
“reminder”: “Ubuntu-it Q&A”
“reminder”: “Ubuntu-it News”
“reminder”: “Release Parties!”
“reminder”: “Promozione Ubuntu”
“reminder”: “Liberi di…”
|Ubuntu IT scope’s dropdown menu|
Finally, attach your ubuntu phone to your computer’s USB port, and launch:
$ scopecreator build
This way scopecreator will install the scope on your phone so you can test it before asking to publish it in the Ubuntu Software Center.
|Ubuntu IT scope in Ubuntu Software Center|
|Ubuntu IT scope in the Ubuntu Software Center|
For publishing your scope you need to go to developer.ubuntu.com, log in or create an account and select “new application”, fill in the required information and you’re done!!
It’s easy, so what are you waiting for ? go and create your scope :-D.