Results 1 to 4 of 4

Thread: GNOME Menu Files

  1. #1

    Default GNOME Menu Files

    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.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,529
    Blog Entries
    15

    Default Re: GNOME Menu Files

    Quote Originally Posted by 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/syste...pentry.html.en
    http://www.freedesktop.org/wiki/Spec...ds%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


  3. #3

    Default Re: GNOME Menu Files

    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

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,529
    Blog Entries
    15

    Default Re: GNOME Menu Files

    Quote Originally Posted by 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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •