Guest User

Untitled

a guest
Oct 21st, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. Nemo actions stored in `~/.local/share/nemo/actions/*.nemo_action`
  2.  
  3. File `install-apk.nemo_action`
  4. ```
  5. [Nemo Action]
  6. # Add menu to *.apk files
  7. #
  8. # adb install FILENAME
  9. #
  10. Active=true
  11. Name=adb install %f
  12. Comment=Install file on available Android device
  13. Exec=gnome-terminal -x sh -c "adb install %F"
  14. Icon-Name=bash
  15. Selection=s
  16. Extensions=apk;
  17. Quote=double
  18. EscapeSpaces=true
  19. ```
  20.  
  21. File `extract-apk.nemo_action`
  22. ```
  23. [Nemo Action]
  24. # Add menu to *.apk files
  25. #
  26. # ~/tools/apktool/apktool d FILENAME
  27. #
  28. # For build use 'b'
  29. #
  30. Active=true
  31. Name=Extract APK
  32. Comment=Extract APK to current folder using apktool
  33. Exec=gnome-terminal -x sh -c "cd \"`dirname \"%F\"`\"; /home/cmx/tools/apktool/apktool -f d '%F';"
  34. Icon-Name=bash
  35. Selection=s
  36. Extensions=apk;
  37. Quote=double
  38. EscapeSpaces=true
  39. ```
Add Comment
Please, Sign In to add comment