Canonical location in `PREFIX` for menu item artifacts
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
No files or tests are named. Start by tracing the CEP preview's platform-specific shortcut creation and uninstall behavior for Linux, macOS, and Windows, then test the proposed canonical files under PREFIX, including Windows drive-letter cases. Done means generated menu files remain in PREFIX and system locations point to them reliably during uninstall.
Written by the indexing model from the issue text.
Description
The CEP preview of menuinst creates shortcuts for Linux, macOS and Windows in three default locations:
- Linux:
~/.local/share/applications - macOS:
~/Applications - Windows: whatever the default locations for Start Menu, Quick Launch and Desktop are.
For this we create full files with computable paths, so we can re-obtain these paths at uninstall time if needed. The problem is that these files might not be there by the time we want to uninstall them (Windows users might rename or move the shortcuts, and they'd still work; macOS users might put the .app directory somewhere else; I am not expecting Linux users to mess with their .desktop files but you never know).
Instead of doing this, @goanpeca and I were talking about creating the actual menu files in PREFIX itself (under var/menuinst or similar), and the symlink to this canonical location from the system parts. This needs to be tested (specially on Windows, with different letter units?), but it should work. It would also have the benefit of having an easy-to-find location for the generated shortcuts without having to re-run menuinst to find out.
- Dominant language
- Python
- Stars
- 50
- Forks
- 49
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from conda/menuinst
-
CMD shell activation changed in `conda 25.3.0`Possibly taken @marcoesters claimed this 78 days ago. Openstale::recovered type::bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
conda/menuinst#321 · 13 comments ·
Maintainers usually reply within 1 day
-
Limitations on Linux/Freedesktop platformsPossibly taken @haecker-felix claimed this 1 day ago. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
conda/menuinst#586 · 4 comments ·
Maintainers usually reply within 1 day
-
Windows shortcuts can silently omit CONDA_PREFIX / env config vars from the activation scriptPossibly taken @marcoesters claimed this 78 days ago. Opentype::bug
Difficulty 3/5 1-2 days Newbie friendliness 72/100
conda/menuinst#545 · 6 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Option to set Windows shortcut Minimized or Maximized propertyMay be free again @lrandersson claimed this 198 days ago, and no pull request is open. Opentype::feature
conda/menuinst#484 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Add --set-global-placeholder CLI flag for custom placeholdersMay be free again @lrandersson claimed this 202 days ago, and no pull request is open. Opentype::feature
conda/menuinst#479 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
plone/plone.observability#114 ·
Maintainers usually reply within 1 day
-
area:docs type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jejjohnson/gauss_flows#246 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openvax/varcode#824 · 1 comment ·
Maintainers usually reply within 1 day
-
netbox status: needs triage type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
netbox-community/netbox#23868 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
emeryberger/CSrankings#15757 ·
Maintainers usually reply within 9 days