I will add an item on a context menu, called "Open with ABC". This context menu appear when I right-clicked a folder.
When the "Open with ABC" is selected, it will launch a Java program, "abc.class".
That Java program need "directory path" of that chosen folder, as argument.
How my Bash script will look like?
Informations you might need:
- java:
usr/bin/java
- abc Java program:
home/john/myapp/abc.class
- The script will be put inside
home/john/.config/caja/scripts
- The john is my username for Linux Mint MATE 17.2, with caja as file manager
Below questions might close to my problem: