Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-07-24 13:40:52

iuomo
Member
Registered: 2013-12-07
Posts: 23

add custom icon for blender

I'm running xfce on debian 9
I like to run arduino and blender at
/opt/arduino/arduino (solved)
and
/opt/blender/blender

using binaries rather than using the package manager.

Arduino is accomplished with /opt/arduino/install.sh

What is the standard way to add a launcher icon for blender at /opt/blender/blender

Last edited by iuomo (2017-07-24 13:58:55)

Offline

#2 2017-07-24 16:07:33

PaperNick
Member
Registered: 2013-05-26
Posts: 106

Re: add custom icon for blender

You should create a blender.desktop file in

~/.local/share/applications

and put the following content:

[Desktop Entry]
Name=Blender
GenericName=3D modeler
Comment=3D modeling, animation, rendering and post-production
Keywords=3d;cg;modeling;animation;painting;sculpting;texturing;video editing;video tracking;rendering;render engine;cycles;game engine;python;
Exec=/opt/blender/blender %f
Icon=/opt/blender/blender.svg
Terminal=false
Type=Application
Categories=Graphics;3DGraphics;
MimeType=application/x-blender;

Just make sure that the paths in "Exec" and "Icon" are correct.

Offline

#3 2017-07-24 17:36:57

iuomo
Member
Registered: 2013-12-07
Posts: 23

Re: add custom icon for blender

Thank you PaperNick!
Very nice!

Question?
Does "Categories=Graphics;3DGraphics;" put in the Graphics Menu?

I truncated the code a bit.

[Desktop Entry]
Name=Blender
GenericName=3D
Comment=3D
Keywords=3d;
Exec=/opt/blender/blender %f
Icon=/opt/blender/blender.svg
Terminal=false
Type=Application
Categories=Graphics;3DGraphics;
MimeType=application/x-blender;

Offline

#4 2017-07-24 17:53:17

PaperNick
Member
Registered: 2013-05-26
Posts: 106

Re: add custom icon for blender

iuomo wrote:

Does "Categories=Graphics;3DGraphics;" put in the Graphics Menu?

Yes, it does.

Offline

Board footer

Powered by FluxBB