Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat > ~/.local/share/applications/run-pie-executable-seen-as-shared-library.desktop <<\EOF
- [Desktop Entry]
- Version=1.0
- Type=Application
- Name=Run PIE executable seen as shared library
- Exec=/usr/bin/env bash -c 'u="%U"; r="$(mktemp "$(dirname "${u}")/temp-run-pie.XXXXXX")"; cp -L '/lib64/ld-linux-x86-64.so.2' "${r}"; chmod +x "${r}"; "${r}" "${u}" ; rm "${r}"'
- TryExec=/lib64/ld-linux-x86-64.so.2
- Icon=application-x-executable
- Categories=System
- StartupNotify=true
- NoDisplay=true
- MimeType=application/x-sharedlib;
- EOF
- xdg-desktop-menu install ~/.local/share/applications/run-pie-executable-seen-as-shared-library.desktop
Add Comment
Please, Sign In to add comment