Forked from comm1x/gist:3e41a6355460908c0c0becb1bde0c8ea
Created
May 19, 2018 21:45
-
-
Save SyntaxxxErr0r/07774080381031ce041f409e8e2e88ed to your computer and use it in GitHub Desktop.
Nemo Actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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