zoukankan      html  css  js  c++  java
  • [Tutorial] How to create a launcher for a manually extracted program in Ubuntu

    Say we have a latest Blender extracted from the download package. We want to create a launcher for Blender so that we can start it from the Unity Dash or App Menu.

    Press Ctrl+Alt+T to open terminal. When it opens, run command to create .desktop file and edit it with Gedit text editor:

    sudo gedit /usr/share/applications/blender-2.7.desktop

    When the file opens, paste below into it and save.

    [Desktop Entry]
    Name=Blender-2.78
    Name[de]=Blender-2.78
    Name[fr]=Blender-2.78
    GenericName=3D modeller
    GenericName[de]=3D Modellierer
    GenericName[fr]=modeleur 3D
    GenericName[ru]=Редактор 3D-моделей
    Comment=Create and edit 3D models and animations
    Comment[de]=Erstellen und Editieren von 3D Modellen und Animationen
    Comment[fr]=Création et édition d'objets 3D et animations
    Comment[ru]=Создание и редактирование трёхмерных моделей и анимаций
    Exec=/path/to/blender/blender
    Icon=/path/to/blender/icons/scalable/apps/blender.svg
    Terminal=false
    Type=Application
    Categories=Graphics;3DGraphics;
    StartupNotify=false
    MimeType=application/x-blender;

    Note you should replace path to Exec & Icon (words in red).

    Reference:

    How to Install The Latest Blender Release in Ubuntu

  • 相关阅读:
    javascript DOM操作
    DirectX编译出现link错误
    PPT快捷键
    Windows GDI笔记
    VC++键盘消息
    VC++6.0快捷键
    C#值类型和引用类型
    C#转义字符
    关于C#里“浅表副本”的解释
    C#中override和overload的区别
  • 原文地址:https://www.cnblogs.com/casperwin/p/6254760.html
Copyright © 2011-2022 走看看