user
February 6, 2009, 6:46pm
1
Hello
I have been working on some changes to my GNOME Menu files. Mainly I
want to change some of the “categories” to the core so there won’t be
any “sub-categories” involved.
For example I remarked out the first line in the following
writer.desktop file and it now appears directory in the category
“Office” in my GNOME Menu.
#Categories=Office;WordProcessor;
Categories=X-SuSE-Core-Office;Office;
My problem however is trying to find the correct “core” names. For
example, the following appears in my gnome-sound-recorder.desktop file
Categories=GNOME;GTK;Application;AudioVideo;Recorder;
If I change it to
Categories=GNOME;GTK;Application;AudioVideo;
It does not work so “AduioVideo” appears to be incorrect.
In searching my system for .directory files, file with the title “Audio
& Video” using the same little icon is actually name
nld-audiovideo.directory. However that does not seem to work either.
Any thoughts?
Thank you.
–
RandyRP
RandyRP’s Profile: http://forums.opensuse.org/member.php?userid=20025
View this thread: http://forums.opensuse.org/showthread.php?t=407133
user
February 6, 2009, 6:57pm
2
RandyRP:
Hello
I have been working on some changes to my GNOME Menu files. Mainly I
want to change some of the “categories” to the core so there won’t be
any “sub-categories” involved.
For example I remarked out the first line in the following
writer.desktop file and it now appears directory in the category
“Office” in my GNOME Menu.
#Categories=Office;WordProcessor;
Categories=X-SuSE-Core-Office;Office;
My problem however is trying to find the correct “core” names. For
example, the following appears in my gnome-sound-recorder.desktop file
Categories=GNOME;GTK;Application;AudioVideo;Recorder;
If I change it to
Categories=GNOME;GTK;Application;AudioVideo;
It does not work so “AduioVideo” appears to be incorrect.
In searching my system for .directory files, file with the title “Audio
& Video” using the same little icon is actually name
nld-audiovideo.directory. However that does not seem to work either.
Any thoughts?
Thank you.
Hi
You need to have a read…
http://library.gnome.org/admin/system-admin-guide/stable/menustructure-desktopentry.html.en
http://www.freedesktop.org/wiki/Specifications/menu-spec?action=show&redirect=Standards%2Fmenu-spec
–
Cheers Malcolm °¿° (Linux Counter #276890 )
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 3:37, 1 user, load average: 0.21, 0.19, 0.13
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.27
user
February 6, 2009, 9:26pm
3
Thanks you.
I had read the first when I started out but not the second one, so I
appreciate the info. However at this point I guess I am just too
confused. I found the following code in my applications.menu file and
from the look of it, if I used
“Categories=X-Suse-Core-Mutlimedia;” in a .desktop file it should
appear directly under the Audio & Video category, without being in any
sub category. Yet it does not work? nor does
“Categories=X-Suse-Core-AudioVideo;”
<Menu>
<Name>AudioVideo</Name>
<Directory>nld-audiovideo.directory</Directory>
<Include>
<Category>X-NLD-Core-AudioVideo</Category>
</Include>
<Include>
<Category>X-SuSE-Core-Multimedia</Category>
</Include>
<Menu>
<Name>Mixer</Name>
<Directory>suse-multimedia-audiomixer.directory</Directory>
<Include>
<Category>Mixer</Category>
</Include>
</Menu>
<Menu>
Thank you
–
RandyRP
RandyRP’s Profile: http://forums.opensuse.org/member.php?userid=20025
View this thread: http://forums.opensuse.org/showthread.php?t=407133
user
February 6, 2009, 11:53pm
4
RandyRP:
Thanks you.
I had read the first when I started out but not the second one, so I
appreciate the info. However at this point I guess I am just too
confused. I found the following code in my applications.menu file and
from the look of it, if I used
“Categories=X-Suse-Core-Mutlimedia;” in a .desktop file it should
appear directly under the Audio & Video category, without being in any
sub category. Yet it does not work? nor does
“Categories=X-Suse-Core-AudioVideo;”
<Menu>
<Name>AudioVideo</Name>
<Directory>nld-audiovideo.directory</Directory>
<Include>
<Category>X-NLD-Core-AudioVideo</Category>
</Include>
<Include>
<Category>X-SuSE-Core-Multimedia</Category>
</Include>
<Menu>
<Name>Mixer</Name>
<Directory>suse-multimedia-audiomixer.directory</Directory>
<Include>
<Category>Mixer</Category>
</Include>
</Menu>
<Menu>
Thank you
Hi
As far as I’m aware the X is required to override and it should work?
Are you using the tools to validate?
–
Cheers Malcolm °¿° (Linux Counter #276890 )
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 8:05, 1 user, load average: 0.28, 0.64, 0.48
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.27