This new post is about Interaction, focusing on relations between Unity launcher and our files. I’d like to introduce a simple extension to Unity behavior while interacting with files in our systems.
The old way
Before Unity was launched, if you needed to interact with a file you could choose one of this common options: Right click on it to see a list of actions or Drag & drop to move it.
In my opinion, both methods have some disadvantages:
- It may be hard to find the right menu item inside the “right click menu” if you installed several Nautilus plugins
- Drag & Drop works only for unmaximized windows
- Drag & Drop is strictly an application dependent feature
The Unity way
With Unity Ubuntu has introduced a new drag & drop capability in the launcher:
If you move a file to Unity, the apps which cannot handle it are shadowed. On the contrary, the ones which are able to do the desired operation remain active. I really love this new feature and I tried to replace both Drag&Drop and Right click with this new method… Unfortunately, my attempts were unsuccessful:
- This feature works only for apps in the launcher; so that Unity Drag&Drop can’t be a complete replacement for the right click “Open” and “Open with” menu items
- If you are writing multiple emails and you want to attach a file to a particular email you can’t. Dropping a file to the email client will always open a new email window
- If you are chatting with some friends and want to send them your fresh downloaded song you can’t.
- You can’t move files to removable devices even if they are displayed in the launcher (At least not in Ubuntu 11.10)
An alternative recipe: The adaptive Unity launcher
However these are not problems, simply the launcher doesn’t work as I expected. That’s why I studied a possible alternative to the current behavior: a launcher that adapts its content depending on what you move towards it. Let’s explain my idea with an image:
When a music file is moved to the launcher, the latter changes its content and displays:
All the applications that can handle the file properly. The launcher could be smart enough to list the default applications together with some context related apps. In the audio file example, if you have a blank CD inserted in your CD drive, the launcher should also display the Brasero Burning Tool icon.
Emails and IM contacts. In addition to Email and IM client icons (specifically Thunderbird and Empathy) Unity will display thumbnail icons for each person you are chatting and for each email you are writing. This means that you can use drag & drop to attach or send files to a specific person.
Online accounts actions. In my opinion, Unity needs to be integrated with Online accounts: I’ll discuss this subject in the section below.
All your devices (removable and cloud) should be visible. As I use Ubuntu 11.10, I cannot be sure whether the latest Ubuntu release has solved this issue. Anyway, why can’t you copy a document to an USB stick or Dropbox share using Unity drag & drop?
As a second improvement I would replace the home directory with a file-type dependent “right” folder: if I drag a video file, the launcher will displays the Video folder (but only if that video isn’t already there). This is also a way to encourage people to use the proper Ubuntu directory structure when organizing contents.
A look at the social world…
An “Online account” menu entry has been recently added to Ubuntu User Indicator. At the time I’m writing, Google account is the only feature supported even if I think that the gnome board is planning to make this the default entry point for all online accounts such as Facebook, Twitter, Flickr, Google and the like. I also imagine that almost all gnome apps will soon be integrated with your social accounts: Thunderbird will automatically add your Gmail profile, Liferea your Google reader feed, Empathy will setup your Facebook and Gtalk accounts while Shotwell will synchronize your Flickr and Facebook galleries etc. Or maybe that’s simply what I hope to see.
Now the question is: “How can the launcher be social and integrate well with online accounts?” I think there are a lot of annoying tasks that often require several steps: uploading a video on Youtube, sharing your new photo album on Flickr, Facebook or Google+, updating your MySpace profiles with the latest songs are a few examples of that. How can we make these tasks faster? At this point, you probably know the answer: Unity Drag & drop can be the solution for your laziness
A Unity preview mode
While looking for a file preview application I tested several Mac-like preview apps but I’ve never been satisfied with them. That’s why I want to propose a totally new approach: a Unity based preview.
Dragging a file over the right launcher icon without dropping it displays a Pop-Up with a small preview.