Ubuntu12.10 add custom Startup Mode

Source: Internet
Author: User

Ubuntu 12.04 has changed the custom Startup Mode from Ubuntu to Unity. In some cases, you need to add a custom startup mode for a third-party program, which is easier to find in the search, it can also be easily attached to the launcher. The following is the procedure: www.2cto.com 1. create. open a text editor in the desktop file and enter the corresponding content in the following format: [Desktop Entry] Version = x. yName = ProgramNameComment = This is my commentExec =/home/alex/Documents/exec. shIcon =/home/alex/Pictures/icon.png Terminal = falseType = ApplicationCategories = Utility; Application; Description: Version: the Version of the desktop, such as 1.0 and 1.1. By default, you can write 1.0 Name: program Name Comment: Comment www.2cto.com Exec: Program Execution path Icon: Icon file path Terminal: Do you need to run to Type: Type, Application, Link on the Terminal, or Document Categories: Generally, all programs are applications. Here, you can add Categories, such as Utility and Development. Use semicolons to separate examples: [Desktop Entry] Version = 1.0 Name = ZendStudioComment = Zend Studio, a php ide (Version 9.0.4) Exec =/usr/bin/ZendStudioIcon =/usr/share/ZendStudio/icon. xpmTerminal = falseType = ApplicationCategories = Development; You can save it as a desktop file, for example, ZendStudio. desktop 2. verification. run the desktop-file-validator command to verify the desktop file. If no output is displayed, the file is qualified. Otherwise, modify $ desktop-file-validator ZendStudio. desktop 3. install the desktop file www.2cto.com and run the following command: desktop-file-install $ desktop-file-install ZendStudio. desktop then you can see in the search bar...

 

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.