Create start icon for idea under Ubuntu system

Source: Internet
Author: User

By default, Ubuntu saves the automatically installed software shortcuts in the/usr/share/applications directory, and if we want to create a desktop shortcut, we need to create a file named "Idea.desktop" in that directory.

Add the following in Idea.desktop

[Desktop entry]name=ideaiucomment=ideaiuexec=env java_home=/home/ycz/software/ jdk1.7.0_79/home/ycz/software/idea-iu-143.1821.5/bin/Idea.shicon=/home/ycz/software/ idea-iu-143.1821.5/bin/idea.pngterminal=falseType=applicationcategories= Application;development;

Note: You must set java_home in the Exec command, otherwise you cannot start the idea

[Desktop Entry] Each desktop file starts with this tag, stating that this is a desktop Entry file
Version = 1.0 (optional) Marked desktop entry
Name = IDEAIU Program name (required), here is an example of creating a shortcut to Idea
Genericname = Ideaiu Program common name (optional)
Comment =ideaiu Program Description (optional)
Exec = Program Start command (required), can run with parameters
icon = Set icons for shortcut (optional), when type is application, this entry is valid
Terminal = False Whether to run in terminal (optional), when type is application, this entry is valid
Type = Application Desktop (required), common values are "application" and "Link"
Categories = GNOME; Application; Network; Indicate the category that appears in the menu bar (optional)

Create start icon for idea under Ubuntu system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.