Labs/Ubiquity/Ubiquity 0.5 User Tutorial: Difference between revisions

Changed download links, AMO user satyr now working on Ubiquity. (Ubiquity 0.6.2 out)
(Changed download links, AMO user satyr now working on Ubiquity. (Ubiquity 0.6.2 out))
 
(22 intermediate revisions by 4 users not shown)
Line 2: Line 2:


Back to [[Labs/Ubiquity]].
Back to [[Labs/Ubiquity]].
'''The best way to take this tutorial is by installing Ubiquity and using the interactive tutorial. Use the "help" command.'''


== In other languages ==
== In other languages ==
Line 11: Line 13:
== Download ==
== Download ==


<!--[https://ubiquity.mozilla.com/xpi/ubiquity-latest.xpi Install latest version of Ubiquity for Firefox] (recommended)-->
[https://addons.mozilla.org/downloads/latest/9527/addon-9527-latest.xpi Install latest version of Ubiquity for Firefox] (recommended)


0.5 is currently only available as a beta version.
[https://bitbucket.org/satyr/ubiquity/downloads/tip.xpi Install the latest beta of Ubiquity for Firefox]
 
[https://ubiquity.mozilla.com/xpi/ubiquity-latest-beta.xpi Install the latest beta of Ubiquity for Firefox]


= Welcome =
= Welcome =
Line 27: Line 27:
With Ubiquity installed, you'll be able to tell Firefox <i>what you want it to do</i> by typing <b>commands</b> into a new Ubiquity input box.
With Ubiquity installed, you'll be able to tell Firefox <i>what you want it to do</i> by typing <b>commands</b> into a new Ubiquity input box.


http://www.toolness.com/images/20080819151657.jpg
[[image:email_jono.png]]


Ubiquity commands can do nearly anything. Ubiquity comes with a set of commands that make common Web tasks faster and easier. In this tutorial we'll teach you how to use some of them.  By the end of this tutorial you'll be able to perform quick Wikipedia, Google, definition, and Yelp searches; add maps to your email; and translate a snippet of a web page, highlight a word, and then email it to a friend.
Ubiquity commands can do nearly anything. Ubiquity comes with a set of commands that make common Web tasks faster and easier. In this tutorial we'll teach you how to use some of them.  By the end of this tutorial you'll be able to perform quick Wikipedia, Google, definition, and Yelp searches; add maps to your email; and translate a snippet of a web page, highlight a word, and then email it to a friend.


The commands that come with Ubiquity are just the beginning: anyone can create new commands and share them.  Creating Ubiquity commands &mdash; and [http://www.azarask.in/blog/post/sharing-streamable-functionality/ extending the web] &mdash; should be as easy as creating a web page.
The commands that come with Ubiquity are just the beginning: anyone can create new commands and share them.  Creating Ubiquity commands &mdash; and [http://www.azarask.in/blog/post/sharing-streamable-functionality/ extending the web] &mdash; should be as easy as creating a web page.
If you want to learn how to create your own commands, please see the [[Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial|Developer Tutorial]].
If you want to learn how to create your own commands, please see the [[Labs/Ubiquity/Ubiquity_0.5_Author_Tutorial|Developer Tutorial]].


Ubiquity is still a work in progress, and we are eager for you to join our virtual team to experiment.  If, when reading this tutorial, you think of a way to make Ubiquity easier to use, or an idea for its future development, we hope you'll take a moment to [http://getsatisfaction.com/mozilla/products/mozilla_ubiquity share your thoughts].  By getting involved with Ubiquity while the project is still in its early stages, you have an opportunity to shape the direction of its growth.
Ubiquity is still a work in progress, and we are eager for you to join our virtual team to experiment.  If, when reading this tutorial, you think of a way to make Ubiquity easier to use, or an idea for its future development, we hope you'll take a moment to [http://getsatisfaction.com/mozilla/products/mozilla_ubiquity share your thoughts].  By getting involved with Ubiquity while the project is still in its early stages, you have an opportunity to shape the direction of its growth.


== If you're on a Mac... ==
== If you're ==


=== on a Mac ===
You'll need to install [http://growl.info/ Growl].  This is a Mac OS X system extension that applications can use to display unobtrusive transparent messages.  Ubiquity uses Growl notifications to show you the output of commands and tell you about errors.
You'll need to install [http://growl.info/ Growl].  This is a Mac OS X system extension that applications can use to display unobtrusive transparent messages.  Ubiquity uses Growl notifications to show you the output of commands and tell you about errors.


=== on Windows ===
On Windows (XP and later), you don't need to install anything special, as Ubiquity will use the operating system's built-in "toaster"-style pop-up messaging.
On Windows (XP and later), you don't need to install anything special, as Ubiquity will use the operating system's built-in "toaster"-style pop-up messaging.


=== on Linux ===
On Linux, you shouldn't have to do anything special: just make sure you're updated to the latest version of Firefox.
On Linux, you shouldn't have to do anything special: just make sure you're updated to the latest version of Firefox.


Line 47: Line 50:




== Take the Tutorial ==
== Take the Interactive Tutorial ==


There is an interactive tutorial that takes you through how to use Ubiquity.  You can get to it by typing '''about:ubiquity''' into the address bar.  This tutorial is meant to supplement the built-in interactive tutorial.  It goes over the basics of Ubiquity, some examples of cool things you can do with commands, and how to teach Ubiquity new commands and get help with Ubiquity.
There is an interactive tutorial that takes you through how to use Ubiquity.  You can get to it by typing '''about:ubiquity''' into the address bar.  This tutorial is meant to supplement the built-in interactive tutorial.  It goes over the basics of Ubiquity, some examples of cool things you can do with commands, how to teach Ubiquity new commands, and how to get help with Ubiquity.


== Starting Ubiquity ==
== Starting Ubiquity ==
Line 57: Line 60:
Once you hit the appropriate key-combo, you'll be presented with a command input box in the upper-left of your browser.
Once you hit the appropriate key-combo, you'll be presented with a command input box in the upper-left of your browser.


'''put the screenshot here'''
[[Image:interface.png]]


You give Ubiquity a command by typing something in here.  For the sake of brevity, we'll call this "issuing" a command.  For the rest of this tutorial, when we say to "issue 'XYZ'", we mean "hit alt-space (or ctrl-space) to bring up the Ubiquity box, then type XYZ".
You give Ubiquity a command by typing something in here.  For the sake of brevity, we'll call this "issuing" a command.  For the rest of this tutorial, when we say to "issue 'XYZ'", we mean "hit alt-space (or ctrl-space) to bring up the Ubiquity box, then type XYZ".
Line 67: Line 70:
While you're typing your command, you'll see two things underneath the input box:  A '''suggestion list''' and a '''preview''' of the current command.  In the picture below, the suggestion list consists of "wikipedia" and "weather", while the preview says "Searches Wikipedia".
While you're typing your command, you'll see two things underneath the input box:  A '''suggestion list''' and a '''preview''' of the current command.  In the picture below, the suggestion list consists of "wikipedia" and "weather", while the preview says "Searches Wikipedia".


http://www.toolness.com/images/20080819152417.jpg
[[Image:w.png]]


When you finish typing "wikipedia babel fish" you should see some summaries of various Wikipedia pages about Babel Fish, like so:
When you finish typing "wikipedia babel fish" you should see some summaries of various Wikipedia pages about Babel Fish, like so:


http://www.toolness.com/images/20080819152930.jpg
[[Image:babel.png]]


It will take a moment for the above information to be gleaned from Wikipedia, but Ubiquity stays fully responsive during this time.
It will take a moment for the above information to be gleaned from Wikipedia, but Ubiquity stays fully responsive during this time.
Line 83: Line 86:
== Abbreviating Commands and Using the Suggestion List ==
== Abbreviating Commands and Using the Suggestion List ==


"Wikipedia babel fish" is quite a lot to type.  You can save some wear and tear on your fingers by letting Ubiquity's suggestion list do the work for you.  As you saw in the last section, bringing up Ubiquity and typing only "w" presents you with suggestions of all the commands that start with that letter: namely, Wikipedia and Weather.
"Wikipedia babel fish" is quite a lot to type.  You can save some wear and tear on your fingers by letting Ubiquity's suggestion list do the work for you.  As you saw in the last section, bringing up Ubiquity and typing only "w" presents you with suggestions that have "w" in them.
 
When you add the letter "i", the suggestion list narrows down to suggestions containing "wi".  You can use the tab key to auto-complete a command so that Ubiquity stops guessing what you want.  Try typing wi, then tab, then "babel fish".
 
You can also use the arrow keys to select the command you want.  Let's say you want to update your Twitter status.  Summon Ubiquity and type "t".
 
[[image:t.png]]


When you add the letter "i", the suggestion list narrows down to just the one command that starts with "wi"&mdash;"Wikipedia"At this point, you can hit the space bar and type the rest of your sentence, and Ubiquity will know that the verb you want to use is "wikipedia".  So issuing "wi babel fish" is the exact same thing as issuing "wikipedia babel fish".
The second choice is the "twitter" command.  I use the down arrow key to select it:


Let's try another example.  Suppose you want to know what the weather is like in Chicago.  Try issuing "w chicago".
[[image:twitter.png]]


http://www.toolness.com/images/20080819155204.jpg
And then tab to auto-complete "twitter", and type in my status update.


You'll see that the top suggestion is "wikipedia chicago". If you hit the Return key now, this is the command that will be executed.  But that's not what we want right now, so hit the <b>down arrow key</b> instead, to highlight the second suggestion: "weather chicago"
[[image:update.png]]


You can now see a preview of the weather forecast for ChicagoHit return to go to the full weather report page on Wunderground.com.  
You can see a preview of what your status will be updated to, and how many characters you have leftYou also can type "as username" to specify which twitter account you want to use, but that's optional.


Of course, you could have just issued "we chicago", or even "we 60601" (that's a Chicago zip code) to get the same results.
Ubiquity also guesses right most of the time if you give it the first few letters of the command you want.  So "tw updating my status with Ubiquity" would work too.


== Doing Commands on Selections ==
== Doing Commands on Selections ==
Line 101: Line 110:
Often, the thing you're interested in searching for is right in front of you, on the web page you're looking at.  Why go to the trouble of re-typing it when you can use what you've already got?
Often, the thing you're interested in searching for is right in front of you, on the web page you're looking at.  Why go to the trouble of re-typing it when you can use what you've already got?


Select the words "Mountain View, California" below by dragging your mouse across them:
Let's check the weather for Mountain View.  Select the words "Mountain View, California" below by dragging your mouse across them:


   Mountain View, California
   Mountain View, California
Line 107: Line 116:
Now summon Ubiquity, and just type the first few letters of the command name:
Now summon Ubiquity, and just type the first few letters of the command name:


http://www.toolness.com/images/20080819155845.jpg
[[image: mv_weather.png]]


Or, let's say you're reading a web page and you find an unfamiliar word:
Or, let's say you're reading a web page and you find an unfamiliar word:
Line 158: Line 167:
You can give it a try by selecting the address below and issuing "map":
You can give it a try by selecting the address below and issuing "map":


  Mozilla Corporation, 1981 Landings Drive, Mountain View, CA
  1981 Landings Drive, Mountain View, CA


Then click the image in the preview to get the larger map, then click the "insert map in page" link and watch what happens.  Surprised?
Then click the image in the preview to get the larger map, then click the "insert map in page" link and watch what happens.  Surprised?
Line 189: Line 198:
By now you're probably wondering, "How many commands are there?  What are they all called?  How am I supposed to know what a command could be unless I memorize them all?"
By now you're probably wondering, "How many commands are there?  What are they all called?  How am I supposed to know what a command could be unless I memorize them all?"


These are good questions!  To start getting some answers, issue the "command-list" command, and hit Return to execute it.  You'll be taken to a special page listing every command you have installed, and describing what each one does.
These are good questions!  To start getting some answers, issue the "list ubiquity commands" command, and hit Return to execute it.  You'll be taken to a special page listing every command you have installed, and describing what each one does.


[[Image:Command-list.png]]
[[Image:Command-list.png]]


For more general help, you can execute the "help" command.  Here, you can change the hotkey that you use to activate Ubiquity, un-subscribe from command feeds, and so on.
For more general help, you can execute the "help" command.  Here, you can change the hotkey that you use to activate Ubiquity, unsubscribe from command feeds, enable and disable commands, and find information about support options.


The general help page and the command-list page link to each other, so whichever one you open, you can get to the other with a single click.
The general help page and the command list page link to each other, so whichever one you open, you can get to the other with a single click.


You can also get to the main help page by typing '''about:ubiquity''' into the Firefox URL bar.
You can also get to the main help page by typing '''about:ubiquity''' into the Firefox URL bar.


== Teaching Ubiquity New Commands ==
== Teaching Ubiquity New Commands ==
Line 215: Line 222:
It's important to understand the '''dangers''' of subscribing to Ubiquity commands from sites that you don't trust.  Since a Ubiquity command can do anything, and it has full access to your web browser, a bad person could write a Ubiquity command to steal your personal information or do malicious things to your computer.  You should not install Ubiquity commands unless you are confident that the source is trustworthy.
It's important to understand the '''dangers''' of subscribing to Ubiquity commands from sites that you don't trust.  Since a Ubiquity command can do anything, and it has full access to your web browser, a bad person could write a Ubiquity command to steal your personal information or do malicious things to your computer.  You should not install Ubiquity commands unless you are confident that the source is trustworthy.


In the future, we'll be creating something called a "trust network" that Ubiquity users can use to share knowledge about which commands are trustworthy. When you visit a page with an embedded command, you'll be able to see what your friends with Ubiquity have said about this command -- whether they've given it a thumbs-up or left you a warning to let you know it could be dangerous. This system doesn't exist yet, but once it does we will modify this section of the tutorial to let you know how to use it.
== Finding New Ubiquity Commands ==
 
TODO: Add information about the herd here.
 
== Participation ==
 
*Check out [http://ubiquity.mozilla.com/planet/ Planet Ubiquity] for the latest and greatest Ubiquity happenings.
*Read and contribute to [https://wiki.mozilla.org/Labs/Ubiquity Ubiquity&#8217;s documentation] on the Mozilla wiki.
*Get help and help others on our [http://getsatisfaction.com/mozilla/products/mozilla_ubiquity Get Satisfaction] page.
*Join the [http://groups.google.com/group/ubiquity-firefox ubiquity-firefox mailing list] to discuss Ubiquity with others.
*Join the #ubiquity channel on irc.mozilla.org to talk to Ubiquity community members in real-time over IRC.
*Browse [https://ubiquity.mozilla.com/herd the command library] to find Ubiquity commands all over the Internet.
*Report or help fix bugs at our [https://ubiquity.mozilla.com/trac/ bug tracker].
*Discuss translation and localization issues on the [http://groups.google.com/group/ubiquity-i18n Ubiquity-i18n (internationalization) mailing list].
Confirmed users
8

edits