You are not logged in.
hello,
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.
Thanks
Offline
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)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks ToZ!
That got it.
Offline
[ Generated in 0.011 seconds, 9 queries executed - Memory usage: 522.52 KiB (Peak: 523.36 KiB) ]