ubuntu-guide
  • 前言
  • linux常用操作
    • vim命令
    • 解压缩
    • 添加程序到应用列表
    • 自动挂载硬盘
    • dkpg命令
  • ubuntu配置
    • apt-get源加速
    • v2ray
    • zsh&oh-my-zsh
    • 显卡驱动&CUDA
    • Git
    • Anaconda
    • git-clone加速
    • pip源加速
    • conda源加速
Powered by GitBook
On this page
  • 应用背景
  • 解决方法

Was this helpful?

  1. linux常用操作

添加程序到应用列表

Previous解压缩Next自动挂载硬盘

Last updated 5 years ago

Was this helpful?

参考资料:

应用背景

下载的understand解压后执行文件每次都要切换到所在目录再用teminal ./understand打开,很麻烦,想搞一个桌面图标一类的快捷启动方式。

解决方法

在/usr/share/applications目录下创建一个桌面图标文件,名为understand.desktop

内容为:

[Desktop Entry]
Version=1.0
Name=understand
Exec=/root/Downloads/Understand/scitools/bin/linux64/understand
Terminal=false
Icon=/root/Downloads/Understand/scitools/bin/linux64/2333.png
Type=Application
Categories=Development

按需要修改Name,Exec,Icon项即可(Exec即为Terminal中输入的命令行)

https://blog.csdn.net/jack_purple/article/details/54744074