---
title: "ubuntu12.04 添加程序启动器 "
author: "itway"
date: "2015-06-27T11:27:44Z"
tags: []
categories: ["操作系统"]
slug: "ubuntu12-04"
draft: false
lastmod: "2015-06-27T11:27:44Z"
id: 2222489
url: "https://itfinder.iteye.com/blog/2222489"
---

1\. 在/usr/share/applications目录下

```
cd /usr/share/applications
vim eclipse.desktop
```

2\. 编辑eclipse.desktop并保存。简单的配置示例：

 

```
[Desktop Entry]
Version=1.0
Name=eclipse
Exec=/home/hu/soft/eclipse/eclipse
Terminal=false
Icon=/home/hu/soft/eclipse/icon.xpm
Type=Application
Categories=Development
```