You are not logged in.
Hi, I installed ghidra and moved it to /opt, and created a symlink to /usr/local/bin/ so I can start it from the terminal. But how can I get Ghidra in the menu?
Last edited by yush45 (2024-04-19 20:32:58)
Offline
Add a ghidra.desktop file to /usr/share/applications. That will make it available system wide. For per user see hhh post below.
You can use an existing *.desktop file from the preferred menu category as a template.
You must unlearn what you have learned.
-- yoda
Offline
Add a ghidra.desktop file to /usr/share/applications.
Or in ~/.local/share/applications (per user).
If I alter an installed application's *.desktop file, I first copy it to ~./local/share/applications so my changes won't get overwritten by an upgrade.
I don't care what you do at home. Would you care to explain?
Offline
Thanks! Can you recommend an app that manages and creates .desktop files?
Offline
^ In ~/.local/share/applications folder make ghidra.desktop file with content (just enter the terminal command and the path to the icon you will use):
[Desktop Entry]
Name=Ghidra
Exec=<terminal command>
Type=Application
Icon=/path/to/some/icon.png
Comment=Start Ghidra
Notes:
1) terminal command without '<' '>'
2) If the ghidra icon already exists, just the name is enough:
Icon=ghidra
Last edited by marens (2024-04-19 21:03:11)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Thanks!
Offline