View Full Version : [xfce] Thunar OpenTerminal alternative command

November 14th, 2011, 05:30 PM
Hi all!

In out-of-the-box thunar "Open terminal" command is shown in context menu for directories only. However it is not always comfortable. If you want to "Open terminal" menu item apper for every file in the folder so that you don't bother where to click to open terminal for the cwd, go to "Edit -> custom actions" and change the "Open terminal" command to

[ -d "%f" ] && exo-open --working-directory %f --launch TerminalEmulator || exo-open --working-directory $(dirname %f) --launch TerminalEmulatorthen on the next tab check the "other files" checkbox.

now the "Open terminal" will be shown in popup menu for every type of file and will correctly open terminal in current working directory.

November 16th, 2011, 11:35 AM
Thanks, this works for me.