如何有一个拥有显示全部安装程序的菜单?

参与到Ubuntu的翻译中来
回复
头像
freeflying
论坛版主
帖子: 521
注册时间: 2005-03-26 9:38
送出感谢: 0
接收感谢: 0

如何有一个拥有显示全部安装程序的菜单?

#1

帖子 freeflying » 2005-05-07 11:56

Explanation

As any new user to ubuntu will notice, not every package they install on their system through the Package Manager will show up in the Applications menu.
Gnome and KDE use a recent standard, developed inside the freedesktop.org's project, for a common menu format, which means that application developers only have to add a few lines of text to their application, and it will be automatically shown in both desktops. XFCE also uses this standard.
The bad news is, that this standard is so recent, most of the applications available in the Ubuntu repositories still aren't packaged with this information.
The good news is that Debian has had their own menu system up and running for years, with every package in their repositories adding themselves to the Debian menu.
The excelent news is that you can install this Debian menu in Ubuntu and make use of it!

Installation

1. Launch the Package Manager (Synaptic)
2. Go to Settings->Repositories
3. Activate the Universe repository
4. Search for and install the package named "menu"
5. Run in the Console:

代码: 全选

sudo update-menus


Look in your Applications menu, and you will have a new menu called Debian with all the applications you installed using synaptic, apt-get or individual .deb packages. Aditional applications you install using these methods will be placed there, as the update-menu is automatically run when a package is found to be using the debian menu.
For Kubuntu, the instructions are the same, and the Debian menu will be placed in the "K" menu.
Other desktop environments should (or could?) use Debian menu, but if they don't (XFCE aparently doesn't), there's still use in it.

1. Install pdmenu
2. From a console, run

代码: 全选

pdmenu


which will give the Debian menu in ncurses.

More information

After you've installed "menu", you'll have full documentation of it in your system in this directory:
/usr/share/doc/menu/
The manual is in:
/usr/share/doc/menu/html/
头像
bluebell
帖子: 264
注册时间: 2005-05-08 21:28
送出感谢: 0
接收感谢: 0

Re: Howto have a menu which shows all installed applications

#2

帖子 bluebell » 2005-05-10 10:18

翻译有所精简
打开应用程序菜单,你或许会疑惑:怎么有些软件没有在里面显示呢?
解释:
Gnome和KDE使用freedesktop.org 最近开发的一种通用菜单格式,使得程序开发者只需要向他们的程序里加入几行文字,就可以让程序自动在菜单里出现。XFCE也使用这种标准。
不过,因为这种标准是最近才开发的,所以Ubuntu软件仓库里的很多软件包里还没有包含这种菜单信息。
好消息是Debian有自己的一套菜单系统(已经用了好几年了),所有使用apt安装的软件都会在Debian菜单里出现。你也可以在Ubuntu里使用它。

安装:
1. 确定你启用了 universe 软件仓库
2. 使用 synaptic 或者 apt-get 安装 menu
3. 在终端运行:

代码: 全选

sudo update-menus


现在打开应用程序菜单,你会发现一个新的子菜单 Debian,里面包含了你安装的所以软件(deb格式)。每当一个使用debian 菜单的软件被安装了,update-menu 就会自动运行。

以上同样适用于kubuntu。Debian菜单会在K菜单里出现。

其他的桌面环境也可以使用Debian 菜单,如果不行(XFCE好像不行?),可以这样:
1 安装pdmenu
2 在终端运行

代码: 全选

pdmenu


这样Debian菜单会在ncurses里给出。

有关menu的文档可以在以下目录找到
/usr/share/doc/menu/
帮助页面在
/usr/share/doc/menu/html/
Ubuntu 5.10 Breezy Badger
头像
oneleaf
论坛管理员
帖子: 10208
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 99 次

#3

帖子 oneleaf » 2005-05-17 15:55

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4160
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
送出感谢: 43 次
接收感谢: 9 次
联系:

#4

帖子 millenniumdark » 2006-07-31 21:31

这个好像过时了
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#5

帖子 eexpress » 2006-07-31 21:49

Debian菜单哦。还没过时。一些很小的x软件,都在这里。
● 鸣学
头像
millenniumdark
论坛版主
帖子: 4160
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
送出感谢: 43 次
接收感谢: 9 次
联系:

#6

帖子 millenniumdark » 2006-07-31 23:51

这个在常见问答里应该有吧
回复

回到 “软件和文档翻译”