Fix .desktop entry when installing in a UNIX system #6599
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix the path to the default Open3D application when installing to a custom path.
Type
Motivation and Context
When installing to a custom path using cmake on the Ubuntu 22.04, desktop entry is not added correctly. The "Show Applications" button does not show the default Open3D viewer application.
Checklist:
python util/check_style.py --apply
to apply Open3D code styleto my code.
updated accordingly.
results (e.g. screenshots or numbers) here.
Description
When building and installing to a custom path, the
.desktop
has incorrect path to the binary. It causes missing entry when using the application listing functions.After this patch, it is successfully detected by the desktop system