quick tip : Ubuntu Unity quicklist for blender branches

http://pix.toile-libre.org/upload/img/1308068050.jpg

Just a quick reminder in case you were not aware : you can create quicklist for any launcher in ubuntu’s natty new dock, and in blender’s case, it’s quite usefull if you have several branches installed and want to access them easily (a.k.a one icon to rule them all).

I won’t go into details about quicklists, they’re explained here : http://askubuntu.com/questions/35488/list-of-custom-launchers-quicklists-for-unity

Make sure you have blender as a launcher in the dock.
If it’s not the case, launch blender, right click on blender’s icon in the dock and click “keep in launcher”.

Now, two options :

  • Weither you installed blender from the repos, then copy the file blender.desktop located in /usr.share/applications into ~/.local/share/applications
- Weither you downloaded blender manually, in that case you need to create the file blender.desktop in ~/.local/share/applications Edit that file, and paste the following code (adapt the binary and icon path according to your need):
[Desktop Entry]
Version=1.0
Type=Application
Name=Blender
Comment=Blender 3d Suite
Exec=path/to/blender/binary/blender
Icon=path/to/blender/icon.png
Terminal=false
Categories=Graphics;2DGraphics;RasterGraphics;GTK;
StartupNotify=true

Then in both case, edit that file and add the following bit at the end.
The code should be pretty self-explanatory.
Of course, adjust it to your needs (path to binaries, names of branches etc…)

X-Ayatana-Desktop-Shortcuts=Cycles;Bmesh;Freestyle;

[Cycles Shortcut Group]
Name=Cycles
Exec=/usr/local/blender_cycles/blender
TargetEnvironment=Unity

[Bmesh Shortcut Group]
Name=Bmesh
Exec=/usr/local/blender_bmesh/blender
TargetEnvironment=Unity

[Freestyle Shortcut Group]
Name=Freestyle
Exec=/usr/local/blender_freestyle/blender
TargetEnvironment=Unity

Finally, restart your session, you’re done.
Not a revolution, but quite handy.

Attachments