this is with EasyMinT + current FreeMinT update + TeraDesk:
I want to create a shell script which is executed automatically by TeraDesk after start, but it don´t work like "the linux way", e.g:
Script (example), created with QED, unix lineendings, saved as "test.scr" on ext2 fs and set it to "executable".
Code: Select all
ls -AR ~/ > /tmp/index_home.txt
echo "Listing complete"
- This script works correct on Ubuntu, doubleclick on "test.scr" creates a correct file /tmp/index_home.txt.
- With FreeMinT, the script works correct when i run it from bash(toswin2) with command "/home/test.scr", but it don´t work
when doubleclick on file "test.scr" in TeraDesk window: First, "enter parameter" dialog opens, after "OK" TosWin2 console window
opens with message "Process terminated. Hit Return.,..". And /tmp/ is empty, no file created.
Tested another way: Script not set to "executable", *.scr files assigned to /bin/bash in TeraDesk: This works as expected, but
normal files (non-executable) can´t be assigned as "Autostart" in TeraDesk.
What am i doing wrong? Any ideas?