You are not logged in.
Hello,
My script ~/.kde4/Autostart/autostart.sh is not run in my Arch box (and the user has permissions to execute it). Is this a known problem? How can I debug/solve it?
Thank you.
Last edited by alleluia20 (2009-04-15 02:21:10)
Offline
I found it out. Things have changed from KDE3. Here I copy a mail from the KDE mail list:
~/.kde4/Autostart is a container for .desktop files, not shell scripts.
You'll need to write a .desktop file that has your shell script on the Exec
line if you want to use Autostart.
You might want to use ~/.kde4/env instead. It is a container for files that
are sourced (run in the current shell environment) during kde session
startup.
IIRC, anything done from .kde4/env should not expect kded-type services
running, where as ~/.kde4/Autostart can depend on those services.
I use both for my purposes. A script in env to start ssh/gpg agents and set
environment variables. A script in Autostart to load my keys, asking for
passwords with graphical dialogs.
Offline
you guys know that there is a helper applications in systemsettings called "Autostart"?
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
I do not see such option
Offline
you guys know that there is a helper applications in systemsettings called "Autostart"?
I never could get that helper to work as advertised.
Offline
I do not see such option
Check out the "Advanced" tab, first option. Buttons to add programs and scripts are on the right side.
Offline
I find that the Autostart in System Settings I'm pretty much able to do what I want by choosing the .desktop file I want and adding the features I need:
sleep 4 && gmm --tray
or
nvidia-settings -l
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline