While there is a hidden option to revert to the old behavior, I decided in a new install to instead add right menu "Run" and "Run in terminal" custom actions. First create the custom actions from within Thunar to get valid
unique-id
s, and then open ~/.config/Thunar/uca.xml
and edit the entries as needed:<action> <icon>system-run</icon> <name>Run</name> <unique-id>xxxxxxxxxxxxxxxx-x</unique-id> <command>exec ./'%n'</command> <description>Execute this file</description> <patterns>*</patterns> <other-files/> <text-files/> </action> <action> <icon>xterm-color</icon> <name>Run in terminal</name> <unique-id>yyyyyyyyyyyyyyyy-y</unique-id> <command>xterm -T '%n' -e "./'%n'; echo ''; read -p 'Press <Enter> to close...'"</command> <description>Execute this file in a terminal</description> <patterns>*</patterns> <other-files/> <text-files/> </action>
No comments:
Post a Comment