This script lets you open a terminal window or a file manager in the same directory as the currently active window.
xdotool
- get active window idexo-open
- Xfce Preferred Applications framework frontend
git clone https://github.com/MyOS-ArchLinux/samedir
cd samedir/
sudo install -m755 samedir /usr/local/bin/samedir
samedir TerminalEmulator
samedir FileManager