Running a script on boot or kdm login

Matias Fernandez radix at creativa.cl
Fri May 12 17:08:41 UTC 2006


Art Alexion wrote:
> On Friday 12 May 2006 12:39, Matias Fernandez wrote:
>   
>> Art Alexion wrote:
>>     
>>> There has been some discussion on running scripts on shell login/out, and
>>> now some discussion on periodically stopping and restarting programs.  I
>>> want to do something more basic.  I want a script to run whenever I login
>>> via kdm.  I have a script that sets up my compose_key settings.  I want
>>> the settings to work in all apps, not just a particular shell.
>>>       
>> Place your script in /etc/X11/Xsession.d/
>>     
>
> It would appear that this would work for all logins, as opposed to the 
> ~/.kde/Autostart which would only work for the current user.
>   
Yes, A script placed there will work for all logins
> Question: do both of these work with a symbolic link in that directory rather 
> than the script itself?
>   
I haven't tried putting symlinks there, but I think it should work 
without problems.






More information about the kubuntu-users mailing list