Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SyntaxxxErr0r/07774080381031ce041f409e8e2e88ed to your computer and use it in GitHub Desktop.
Save SyntaxxxErr0r/07774080381031ce041f409e8e2e88ed to your computer and use it in GitHub Desktop.
Nemo Actions
Nemo actions stored in `~/.local/share/nemo/actions/*.nemo_action`
File `install-apk.nemo_action`
```
[Nemo Action]
# Add menu to *.apk files
#
# adb install FILENAME
#
Active=true
Name=adb install %f
Comment=Install file on available Android device
Exec=gnome-terminal -x sh -c "adb install %F"
Icon-Name=bash
Selection=s
Extensions=apk;
Quote=double
EscapeSpaces=true
```
File `extract-apk.nemo_action`
```
[Nemo Action]
# Add menu to *.apk files
#
# ~/tools/apktool/apktool d FILENAME
#
# For build use 'b'
#
Active=true
Name=Extract APK
Comment=Extract APK to current folder using apktool
Exec=gnome-terminal -x sh -c "cd \"`dirname \"%F\"`\"; /home/cmx/tools/apktool/apktool -f d '%F';"
Icon-Name=bash
Selection=s
Extensions=apk;
Quote=double
EscapeSpaces=true
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment