-
Notifications
You must be signed in to change notification settings - Fork 2
Improve menu location for Linux installs #11
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
Comments
Hmm - see linked issue. We do actually specify (in $ cat .config/menus/applications.menu with output: <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://standards.freedesktop.org/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<MergeFile type="parent">/etc/xdg/menus/applications.menu</MergeFile>
<Menu>
<Name>Scientific Python (0.1.0)</Name>
<Directory>scientific-python-010.directory</Directory>
<Include>
<Category>Scientific Python (0.1.0)</Category>
</Include>
</Menu>
</Menu> Is that what you get? Shouldn't it be: ...
<Include>
<Category>Science</Category>
</Include>
... instead? What about the MNE Python installer - same? |
Just tested MNE installer --- same result (items end up in "Other"). Some notes:
Will attempt more debugging tomorrow morning. |
I'm also asking over at conda/menuinst#339 (comment) .... |
OK, here is what I've now tried:
Here is what works:
The resulting contents of <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://standards.freedesktop.org/menu-spec/menu-1.0.dtd">
<Menu>
<Name>Applications</Name>
<MergeFile type="parent">/etc/xdg/menus/applications.menu</MergeFile>
<Menu>
<Name>Science</Name>
<Directory>science.directory</Directory>
<Include>
<Category>Science</Category>
</Include>
</Menu>
</Menu> renaming the I think this means that we "just" need to update |
I'm getting sensible behavior now with conda/menuinst#340 and #16, but I'm still ending up with a couple head-scratchers:
|
OK, more progress. If we assume that When building the menu installer package:
When building the overall installer executable:
When running the
|
That seems like a very good idea - if only to clarify our understanding in writing the issue. |
Is this a bug in |
I can't tell if this is a bug or intended behavior. It doesn't make sense to me as intended behavior, but none of the |
Yes, maybe see if upstream are OK to help guide you to a shared understanding ... ? |
|
|
menu icons install into the "Other" folder. There are I think built-in categories for "science" and "Development", either of these would be better.
Originally posted by @drammock in #3 (review)
The text was updated successfully, but these errors were encountered: