Advertisement
illwieckz

workaround wrong PIE executable mimetype being unable to run

Feb 17th, 2021 (edited)
849
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  1. cat > ~/.local/share/applications/run-pie-executable-seen-as-shared-library.desktop <<\EOF
  2. [Desktop Entry]
  3. Version=1.0
  4. Type=Application
  5. Name=Run PIE executable seen as shared library
  6. Exec=/bin/sh -c '%U'
  7. TryExec=/bin/sh
  8. Icon=application-x-executable
  9. Categories=System
  10. StartupNotify=true
  11. NoDisplay=true
  12. MimeType=application/x-sharedlib;
  13. EOF
  14.  
  15. xdg-desktop-menu install ~/.local/share/applications/run-pie-executable-seen-as-shared-library.desktop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement