linux中如何将只有可执行文件的软件加入app列表

    技术2026-06-06  14

    linux下下载typora太慢了,只能直接下binary文件。就是一个压缩包

    首先,app路径在/usr/share/applications下面

    我们需要创建一个.desktop文件然后/cp到以上路径下。

    模板

    [Desktop Entry] Name=Typora Comment=View information about your system Exec=/home/hanbao/apps/Typora-linux-x64/bin/Typora-linux-x64/Typora # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=/home/hanbao/apps/Typora-linux-x64/bin/Typora-linux-x64/resources/app/asserts/icon/icon_512x512@2x.png Terminal=false Type=Application
    Processed: 0.015, SQL: 12