Created
October 20, 2017 10:10
-
-
Save comm1x/3e41a6355460908c0c0becb1bde0c8ea 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