meaning: Open the path I am currently in on nautilus in Guake/tmux.
I followed the instructions that are mentioned in this question and created the following script (called test.sh):
#!/bin/bash xdotool key Ctrl+L xdotool key F12 xdotool type cd xdotool key space xdotool key Ctrl+Shift+V
and put it in ~/.local/share/nautilus/scripts as indicated here
It works fine when it is put in a directory and run from there.
However, when I run the script from the nautilus menu. it always enters the string
irrespective of where I am in Nautilus
PS: The proposed solution does not necessarily have to build on the above path of using xdotool. I am perfectly happy with any solution that would let me open the current nautilus path in guake/tmux (the running shell not a new one).