Chinaunix首页 | 论坛 | 博客
  • 博客访问: 417048
  • 博文数量: 61
  • 博客积分: 1991
  • 博客等级: 上尉
  • 技术积分: 492
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-08 12:28
文章分类

全部博文(61)

文章存档

2011年(5)

2010年(21)

2009年(3)

2008年(4)

2007年(28)

我的朋友

分类: LINUX

2011-03-08 10:24:48

ubuntu删除wine菜单难,恢复wine菜单更难。好多人都在问这个问题,但是没有有效的回答。我最后在官方的wiki中找到了解决方法。解决方法是编辑 ~/.config/menus/applications.menu这个文件,找到:


wine-wine

wine-Programs

wine-Programs-AutoHotkey
/home/user/.local/share/desktop-directories





之后,删除之间的所有即可。

原文如下:
6.28. I deleted my Wine menu, and now I can’t get it back.

Rather than actually delete anything, menu editors on Linux simply mark menus as “Deleted” so that they don’t show up in the menu.

This information is stored in ~/.config/menus/applications.menu. Edit ~/.config/menus/applications.menu, and you should find a section near the end that looks similar to this:


wine-wine



or perhaps this:


wine-wine

wine-Programs

wine-Programs-AutoHotkey
/home/user/.local/share/desktop-directories





Remove the line and your Wine menu will reappear.

补充:~/.config/menus/applications-merged 删除

~/.local/share/applications/wine/Programs/下rm掉多余的菜单项,。
阅读(3146) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-03-27 15:28:15

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com