How can I get Thunar to run a script in a terminal by clicking on the script file?
For example, in nautilus, I can click on the script file and I will get these options:
"run in terminal" "display" "cancel" "run". I then can select "run in terminal".
but when I click on a script file in Thunar, it just runs without asking if you want to
run it in a terminal. I have script files that need to be run in the terminal because there
are user inputs that need to be entered for the script to work.
Create a Thunar Custom Action to do this.
In Thunar, Edit -> Configure Custom Actions -> Add a new custom action, then:
On the Basic Tab:
- Name = Run In Terminal
- Description = Run in Terminal
- Command = xfce4-terminal -e %f --hold
- Select an icon if you want
- On the Appearance Conditions tab:
- select "Other files"
Then in thunar, right-click the script and select the "Run in Terminal" option.
Last edited by ToZ (2013-01-29 18:52:34)
That got it.