1 |
Qui, 2009-10-29 às 14:09 -0500, Paul Hartman escreveu: |
2 |
> On Thu, Oct 29, 2009 at 1:47 PM, Nikos Chantziaras <realnc@×××××.de> wrote: |
3 |
> > On 10/29/2009 05:25 PM, Clemente Aguiar wrote: |
4 |
> >> |
5 |
> >> Ever since the upgrade of Gnome to 2.2.6 I have had a problem with the |
6 |
> >> Wine menus. |
7 |
> >> |
8 |
> >> Actually the Wine menus are gone and the individual icons for the |
9 |
> >> windoze apps, such as Winamp, are now scatter under the menu "Others". |
10 |
> >> |
11 |
> >> One interesting bit, is that if I delete the |
12 |
> >> $HOME/.config/menus/gnome-applications.menu file, I get the correct Wine |
13 |
> >> menu structure, but the moment I open the Menu Editor (alacarte), it |
14 |
> >> creates a new $HOME/.config/menus/gnome-applications.menu and the Wine |
15 |
> >> menu structure disappears and the icons all end up in the "Others" |
16 |
> >> category. |
17 |
> >> |
18 |
> >> Does anybody else have this problem? Can anybody help me? |
19 |
> > |
20 |
> > That is quite peculiar since the same happens with KDE4 (where it was |
21 |
> > working OK in KDE3). |
22 |
> |
23 |
> I haven't tried it, but this looks like it may contain a solution/workaround: |
24 |
> |
25 |
> http://wiki.archlinux.org/index.php/Wine#KDE_4_Menu_Fix.5B1.5D |
26 |
> |
27 |
> (quoting that page from here on) |
28 |
> |
29 |
> KDE 4 Menu Fix[1] |
30 |
> |
31 |
> The Wine menu items may appear in "Lost & Found" instead of the Wine |
32 |
> menu for KDE 4. This is because kde-applications.menu is missing the |
33 |
> MergeDir option. |
34 |
> |
35 |
> Edit /etc/xdg/menus/kde-applications.menu |
36 |
> |
37 |
> At the end of the file add <MergeDir>applications-merged</MergeDir> |
38 |
> after <DefaultMergeDirs/>, it should look like this: |
39 |
> |
40 |
> <Include> |
41 |
> <And> |
42 |
> <Category>KDE</Category> |
43 |
> <Category>Core</Category> |
44 |
> </And> |
45 |
> </Include> |
46 |
> <DefaultMergeDirs/> |
47 |
> <MergeDir>applications-merged</MergeDir> |
48 |
> <MergeFile>applications-kmenuedit.menu</MergeFile> |
49 |
> </Menu> |
50 |
> |
51 |
> Alternatively you can create a symlink to a folder that KDE does see: |
52 |
> |
53 |
> ln -s ~/.config/menus/applications-merged |
54 |
> ~/.config/menus/kde-applications-merged |
55 |
> |
56 |
> This has the added bonus that an update to KDE won't change it, but is |
57 |
> per user instead of system wide. |
58 |
> |
59 |
|
60 |
Unfortunately none of the two options seem to work with gnome. |
61 |
But it did give me some ideas and I did try something that does solve |
62 |
the problem. |
63 |
|
64 |
Adding either |
65 |
|
66 |
<DefaultMergeDirs/> |
67 |
|
68 |
or |
69 |
|
70 |
<MergeDir>applications-merged</MergeDir> |
71 |
|
72 |
to |
73 |
|
74 |
$HOME/.config/menus/gnome-applications.menu |
75 |
|
76 |
I think this is a workaround for a bug, so I am going to report it. |
77 |
|
78 |
Clemente |