linux 创建idea快捷方式

1、cd /usr/share/applications

2、sudo touch idea.desktop

3、sudo vim idea.desktop

    [Desktop Entry]
    Name=IntelliJ IDEA
    Exec=sh /opt/idea/bin/idea.sh
    Comment=IntelliJ IDEA
    Icon=/opt/idea/bin/idea.png
    Type=Application
    Terminal=false
    Encoding=UTF-8

4、sudo chmod +x /usr/share/applications/idea.desktop

你可能感兴趣的:(intellij-idea,linux,java)