ubuntu添加idea到启动器

先进入到applications文件夹下

cd /usr/share/applications

然后进入文件

sudo vi idea.desktop

粘贴内容

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=IntelliJ IDEA
GenericName=Java IDE
Comment=IntelliJ IDEA is a code-centric IDE focused on developer    productivity. The editor deeply understands your code and knows its way around the codebase, makes great suggestions right when you need them, and is always ready to help you shape your code.
Exec=/usr/local/idea2022/bin/idea.sh      # 改成你自己路径
Icon=/usr/local/idea2022/bin/idea.png     # 改成你自己的路径
Terminal=false
Type=Application
Categories=Development;IDE

保持,退出,完事

posted @ 2022-08-12 18:26  Lafite-1820  阅读(241)  评论(0编辑  收藏  举报