ubuntu制作启动图标

手动添加快捷方式。

手动编辑

1
2
3
4
5
6
7
8
9
10
11
jack@jack:~/software/idea/bin$ cat idea.desktop 
#!/usr/bin/env xdg-open

[Desktop Entry]
Version=19.0
Type=Application
Terminal=false
Exec=/home/jack/software/idea/bin/idea.sh
Name=idea
Comment=idea
Icon=/home/jack/software/idea/bin/idea.png

设置可执行权限

点击运行

允许:trust the launch

可搜索到

把快捷方式copy到系统应用去,就可以直接搜到了

1
sudo cp /home/jack/software/idea/bin/idea.desktop /usr/share/applications/

参考:https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-18-04-bionic-beaver-linux