all. I have a question that has been bugging me recently.. Say I install Blender.. I am using the Bumblebee project thing, so in order to properly use it, I have to go to the terminal and type "optirun blender". If I just click on the icon on the dash, it will run without the proper parameter being passed. Is there a way I could customize the Blender launcher on the dash so it would always launch it with the optirun parameter?


3 Answers 3


You can copy the blender.desktop out of /usr/share/applications, and into your ~/.local/share/applications directory, and edit it there to have a different command line. Don't edit the one in /usr/share/applications, as package updates will revert your changes.


You could edit its launcher. The launcher configurations sit in /usr/share/applications so you can run sudoedit /usr/share/applications/blender.desktop and change its Exec statement so you end up with something like this:

[Desktop Entry]
GenericName=3D modeller
GenericName[es]=modelador 3D
GenericName[de]=3D Modellierer
GenericName[fr]=modeleur 3D
GenericName[ru]=Редактор 3D-моделей
Comment=3D modeling, animation, rendering and post-production
Comment[es]=modelado 3D, animación, renderizado y post-producción
Exec=optirun blender

As dobey suggests, you can also make changes in the user ~/.local/share/applications directory. This will make the change for only this user, instead of globally (if you have a multi-user system). Keeping a copy of your changes locally is a good idea if you'd like to make them more upgrade-proof. Be aware that changes in the local directory won't automatically reflect changes made by upgrades to the main configuration file (for example, arguments to Exec).

  • This however is a bad idea, as any changes to this file will be lost when the package is upgraded. You should follow the advice in my answer to copy it to ~/.local/share/applications first, to avoid it breaking on upgrade.
    – dobey
    Commented Mar 22, 2012 at 17:03

You can use Alacarte

sudo apt-get install alacarte

Run it by typing in terminal


Find your application in appropriate category or add new one and specify command for launching and custom icon.

Now you can type your application name in dash and launch in with desired parameters.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .