Quantcast
Viewing all articles
Browse latest Browse all 5661

Creating desktop menu items for Intellij IDEA in Linux

Edit: Doh. I just noticed in the Welcome screen (for IDEA and PyCharm) that "Create Desktop Entry" is an option.

 

I recently installed the SmartGit/Hg client from Syntevo and noticed they included two scripts in the bin directory:


1. add-menuitem.sh

2. remove-menuitem.sh


which add/remove a Desktop menu item, under the Programming category.


I have adapted these two scripts to do the same for Intellij IDEA. They are attached to this post.

I have also attached a screenshot to show you the result.


Instructions:


  1. Copy the two attached scripts to the /path/to/your/intellij-idea/bin directory
  2. cd /path/to/your/intellij-idea/bin
  3. chmod +x *menuitem.sh
  4. cp idea.png jetbrains-idea.png
  5. ./idea-add-menuitem.sh


Note: the xdg* programs (in the script) require a "vendor" prefix (unless you specify "--novendor"). That's why I've added "jetbrains-" where required.


Note: tested on LinuxMint 16 Cinnamon x64


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>