Results 1 to 8 of 8
Hi everyone, I've been searching the web, but still can't find the right answer. I would like that a certain program starts when certain user logs on to kde. I ...
- 07-08-2008 #1Linux Newbie
- Join Date
- Feb 2006
- Location
- Slovenia
- Posts
- 162
How to run program on user logon?
Hi everyone, I've been searching the web, but still can't find the right answer. I would like that a certain program starts when certain user logs on to kde. I gues it has to bee done via script, but don't know where to put it and how to tell the kernel to execute it only for certain user. I am using suse 10.2 Thanks for help.
- 07-08-2008 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You can put the script or desktop shortcut into ~/.kde/Autostart for that user. KDE will then launch it when the user logs in.
- 07-08-2008 #3Linux Newbie
- Join Date
- Feb 2006
- Location
- Slovenia
- Posts
- 162
Thanks for reply bigtomrodney. Unfortunately I can not find /.kde/Autostart directory. Did you mean /etc/xdg/autostart maybe. But I gues the latest would stand for all users. Correct me if I am wrong. Thanks again.
- 07-08-2008 #4Linux User
- Join Date
- Jun 2007
- Posts
- 458
/etc/xdg/autostart works for all DEs, ~/.kde/xxx works only in KDE
"When you have nothing to say, say nothing."
- 07-08-2008 #5
Note the period in front of the name indicates it is a hidden file/directory. Hidden files do not show up in a normal window. In the Konqurer window select view then Show Hidden. Also there is the equivalent location for Gnome.
- 07-08-2008 #6Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
The latest way to do it - which I believe is to be inline with freedsktop standards - is to put it in ~/.config/Autostart
This will apply just to the owner of that home directory but applies to all desktop environments.
- 07-08-2008 #7Linux Newbie
- Join Date
- Feb 2006
- Location
- Slovenia
- Posts
- 162
It works now the path is /home/username/.kde/Autostart, it really was hidden I just didn't know that, thanks guys.
- 07-08-2008 #8
FYI the tilda ~ is short hand for the current users home directory.


Reply With Quote