Skip to content

Instantly share code, notes, and snippets.

@jgregorio0
Forked from rob-murray/add_intellij_launcer
Last active January 20, 2021 22:46
Show Gist options
  • Select an option

  • Save jgregorio0/e3ba63b56ad39ce5e21806167e7d5069 to your computer and use it in GitHub Desktop.

Select an option

Save jgregorio0/e3ba63b56ad39ce5e21806167e7d5069 to your computer and use it in GitHub Desktop.
Ubuntu app launcher

Ubuntu app launcher

Ref: https://askubuntu.com/questions/990833/cannot-add-custom-launcher-to-ubuntu-dock-add-to-favorites-option-does-not-sh

  1. create file:
sudo vim /usr/share/applications/intellij.desktop

2.add the following

[Desktop Entry]
Version=13.0
Type=Application
Terminal=false
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png
Name[en_US]=IntelliJ
Exec=/home/rob/.intellij-13/bin/idea.sh
Name=IntelliJ
Icon=/home/rob/.intellij-13/bin/idea.png
  1. mod permissions
sudo chmod 644 /usr/share/applications/intellij.desktop
sudo chown root:root /usr/share/applications/intellij.desktop
  1. add to dock / favourites
gsettings get org.gnome.shell favorite-apps

return ['appname-1.desktop', 'appname-2.desktop'] so:

gsettings set org.gnome.shell favorite-apps "['appname-1.desktop', 'appname-2.desktop', 'appname-3.desktop']"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment