In ubuntu12.04dashhome, each icon corresponds to a configuration file in/usr/share/applications (the file name suffix is. desktop ). Therefore, to add a custom program initiator in dashhome, you need to create the corresponding configuration file under the file directory. As for configuration...
In ubuntu12.04 dash home, each icon corresponds to a configuration file in/usr/share/applications (the file name suffix is. desktop ). Therefore, to add a custom program initiator in dash home, you need to create the corresponding configuration file under the file directory. For the syntax of the configuration file, see the configuration file in this directory. Take eclipse as an example. the method is as follows. System: ubuntu12.04 beta2 i386 Method: 1. create the eclipse starter configuration file cd/usr/share/applicationssudo gedit eclipse in the/usr/share/applications Directory. compile top2. edit eclipse. and save. Simple configuration example :#! /Usr/bin/env xdg-open www.2cto.com [Desktop Entry] Version = 1.0 Type = ApplicationTerminal = falseIcon [zh_CN] =/home/xxx/Software/eclipse/icon. xpmName [zh_CN] = EclipseExec =/home/xx/Software/eclipse/eclipseComment [zh_CN] = EclipseName = EclipseComment = EclipseIcon =/home/xxx/Software/eclipse/icon. xpm now adds the eclipse starter to dash home: add the eclipse program starter "src =" http://up.2cto.com/2012/0720/20120720090635443.png "/>
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