autostart script
Posted: Mon May 04, 2009 3:20 pm
I'm trying to autostart a Python GUI script after LXDE launches (remaster Knoppix 6) I've tried creating a /home/knoppix/.config/somescript.desktop file which contains:
and that didn't work, neither did creating ~./.config/openbox/autostart.sh containing:
I've also tried creating /home/knoppix/.config/autostart folder and putting a symlink in there to the .py script I want to run (I can't just cp the file tree in there or it would try
to run all the support files) but that doesn't work either. I can't seem to find any other command line edit that will accomplish this, which is what I need. Thanks for the help.
Code: Select all
[Desktop Entry]
Type=Application
Exec=/home/knoppix/somescript.py
Code: Select all
# Run the system-wide support stuff
. $GLOBALAUTOSTART
# Programs to launch at startup
hsetroot ~/wallpaper.png &
xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
# Programs that will run after Openbox started
(sleep 2 && somescript.py) &
to run all the support files) but that doesn't work either. I can't seem to find any other command line edit that will accomplish this, which is what I need. Thanks for the help.