Skip to content

Instantly share code, notes, and snippets.

@jahentao
Forked from rob-murray/add_intellij_launcer
Last active June 22, 2019 06:01
Show Gist options
  • Save jahentao/de27b61278570078d8c2f3a25be78464 to your computer and use it in GitHub Desktop.
Save jahentao/de27b61278570078d8c2f3a25be78464 to your computer and use it in GitHub Desktop.
Add launcher shortcut and icon for deepin
// create file:
sudo vim /usr/share/applications/goland.desktop
// add the following
[Desktop Entry]
Version=2018.3.5
Type=Application
Terminal=false
Exec=/usr/local/bin/goland.sh
Name=GoLand
Icon=/pan/program/GoLand-2018.3.5/bin/goland.svg
// mod permissions
sudo chmod 644 /usr/share/applications/goland.desktop
sudo chown root:root /usr/share/applications/goland.desktop
// create file:
sudo vim /usr/share/applications/intellij.desktop
// add the following
[Desktop Entry]
Version=183.5429.30
Type=Application
Terminal=false
Name[en_US]=IntelliJ
Exec=/usr/local/bin/idea
Name=IntelliJ
Icon=/pan/program/idea-IU-183.5429.30/bin/idea.svg
// mod permissions
sudo chmod 644 /usr/share/applications/intellij.desktop
sudo chown root:root /usr/share/applications/intellij.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment