How to tell a folder from a launcher in ~/.local/share/applications
NoOp
glgxg at sbcglobal.net
Wed Apr 23 21:06:47 UTC 2008
On 04/23/2008 12:22 PM, Michele wrote:
> Hello NoOp,
>
> Thanks for the nice link however I still cannot figure out the following:
>> >
>> > The problem is that I cannot understand how to place a launcher
>> > (.desktop file) into a specific subdirectory in my Office menu.
>> > ~/.local/share/application is "flat" and I do not know where to look
>> > at into the .desktop file to understand where the launcher will appear
>> > in the menu tree.
>> > My directory is in ~/.local/share/desktop-directories but I do not
>> > know how to link my directory to the launchers.
>
> I will expand a bit.
>
> I have created a new menu into the Office menu called OOo2.4
> Now I thought that by writing in my [desktop entry] the following
> category I would be ok:
>
> Category=Application;Office;OOo2.4;
>
> Instead the application appears in the Applications > Office.
>
> I then decided to reopen alacarte (the menu editor) and drag the
> application into the new menu. THis produces the following result:
> a) a new launcher (.desktop) file is created in my ~/.local/share/applications
> b) the category entry of this new launcher is just a semicolon, i.e.
> Category=;
>
> I have now done what I wanted to do, but for my education I would like
> to know how to push a launcher into a custom made submenu editing the
> launcher file.
>
To be quite honest - I don't know. These might be of some help:
<http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-0.9.4.html>
http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html
If you do figure it out, please post back with what you've found out.
More information about the ubuntu-users
mailing list