Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sub menu for all debian packages to /etc/xdg/menus/hildon.menu #360

Closed
MerlijnWajer opened this issue Apr 13, 2020 · 9 comments
Closed

Comments

@MerlijnWajer
Copy link
Member

We should be able to add a sub menu that contains all the debian entries, but not the hildon ones.

@MerlijnWajer
Copy link
Member Author

@MerlijnWajer
Copy link
Member Author

@MerlijnWajer
Copy link
Member Author

So adding this as a submenu does something:

  <Menu>
    <Name>Debian</Name>
    <Directory>debian.directory</Directory>

    <AppDir>/usr/share/applications</AppDir>
    <DirectoryDir>/usr/share/applications</DirectoryDir>

    <LegacyDir>/usr/share/applications/hildon</LegacyDir>

    <Include>
        <All/>
    </Include>
  </Menu>

Also needs this:

# cat /usr/share/applications/hildon/debian.directory
[Desktop Entry]
Type=Directory
Name=Debian

Then you will get a sub menu with all the apps, but also the hildon ones (some of them double?), but it's a start.

@dderby
Copy link
Member

dderby commented Apr 13, 2020

This is possibly a duplicate of #82. I would be happy with your proposed solution of using a submenu.

@MerlijnWajer
Copy link
Member Author

It's not perfect yet -- there are duplicate entries, and the hildon ones are there too, so we might want to do something on insertion of new .desktop files, there are probably dpkg hooks for that.

@parazyd ?

@MerlijnWajer
Copy link
Member Author

I also think the LegacyDir has no effect.

@MerlijnWajer
Copy link
Member Author

And yes, you're right, it is a duplicate.

@MerlijnWajer
Copy link
Member Author

Just for reference, I don't have it working yet, but this is what I had working on April 13.

image
image

@parazyd
Copy link
Member

parazyd commented Jul 5, 2020

Implemented in maemo-leste/hildon-desktop@604d116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants