.kde4/Autostart doesn't work

Boyd Stephen Smith Jr. bss at iguanasuicide.net
Tue Apr 14 22:02:39 BST 2009


In <1fde22350904141006l524d69bbv1f45594d787a4134 at mail.gmail.com>, David 
wrote:
>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?

~/.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.

>Please Cc to me when replying. Thank you,

Done.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss at iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20090414/c95422ad/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list