Ubuntu – How to customize an icon on the dash/launcher

unity-dash

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?

Thanks.

Best Answer

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.

Related Question