jetsung idea ja-netfilter https://gitee.com/ja-netfilter/ja-netfilter https://3.jetbra.in/ Run tee ${HOME}/.local/bin/idea <<-EOF #!/usr/bin/env bash pushd \${HOME}/.softs/idea/bin > /dev/null 2>&1 || exit ___MY_VMOPTIONS_SHELL_FILE="\${HOME}/.jetbrains.vmoptions.sh"; if [ -f "\${___MY_VMOPTIONS_SHELL_FILE}" ]; then . "\${___MY_VMOPTIONS_SHELL_FILE}"; fi ./idea.sh popd > /dev/null 2>&1 || exit EOF Add exec +x chmod +x ${HOME}/.local/bin/idea Create desktop tree ~/.local/share/applications/idea.desktop <<-EOF [Desktop Entry] Version=1.0 #Exec="${HOME}/.softs/idea/bin/idea.sh" %f Exec="${HOME}/.local/bin/idea" Icon=idea Name=Idea Comment=Idea Type=Application Terminal=false EOF 3.1 或者此方式 tee ~/.local/share/applications/jetbrains-idea.desktop <<-EOF [Desktop Entry] Version=1.0 Type=Application Name=IntelliJ IDEA Ultimate Edition Icon="${HOME}/.softs/idea/bin/idea.svg" #Exec="${HOME}/.softs/idea/bin/idea.sh" %f Exec="${HOME}/.local/bin/idea" Comment=Capable and Ergonomic IDE for JVM Categories=Development;IDE; Terminal=false StartupWMClass=jetbrains-idea EOF