I have just started using LXDE in Debian 5.0.
I have a a.txt file and a a.sh file that I need to auto start as soon as the user logs into the environment.
So far I have been able to auto start just one file (either the a.txt or a.sh) file by placing the following file in /root/.config/autostart/mystart.desktop:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=nitrogen
Comment=
Exec=lxterminal --command "./a.sh"
StartupNotify=false
Terminal=false
Hidden=false
However if I try to modify the Exce line above to first launch the a.txt file and then the a.sh file like this:
Code:
lxterminal --command "less ./a.sh" && lxterminal --command "./a.sh"
it does not work.
Earlier I use to use fluxbox in that I use to achieve the same with something like this in the .fluxbox/apps file:
Code:
xterm -e "less /root/README.TXT" && xterm -e "/root/a.sh"
Basically a.txt is a README like file and a.sh is a shell script.
Any ideas?