ubuntu删除wine菜单难,恢复wine菜单更难。好多人都在问这个问题,但是没有有效的回答。我最后在官方的wiki中找到了解决方法。解决方法是编辑 ~/.config/menus/applications.menu这个文件,找到:
之后,删除之间的所有即可。
原文如下:
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) |