You are not logged in.
Pages: 1
I'm using XFCE 4.4.2. Using the "xfce4-autostart-editor" command, I have added a bash script to the list of startup applications. I want it to run in an xterm window.
On startup, the xterm window appears, but the script isn't running. I only see a "bash-3.1#" prompt.
the "~/.config/autostart/myscript.desktop" file looks like this:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=MyStartup
Comment=
Exec=~/startup.sh
StartupNotify=false
Terminal=true
Hidden=false
If I run the script directly using ~/startup.sh, it works correctly. Other applications I have in my autostart list (like "Xfce Volstatus Icon" and "Network Manager") work correctly.
What do I need to do to fix this?
Thanks,
PaulH
Offline
Compared this to my .desktop for an autostart and noted I use the full path for the file. Try replacing ~ by the full name, say /home/pheil (assumuning your user name is pheil).
Offline
I fixed it by changing the command to "bash ~/myscript.sh". I don't know why I have to specify bash....
Offline
Pages: 1
[ Generated in 0.007 seconds, 8 queries executed - Memory usage: 520.27 KiB (Peak: 520.9 KiB) ]