You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, December 10th 2006, 7:11pm

How to make autostart for everyone?

I know how to run a program at KDE startup:
http://docs.kde.org/development/en/kdeba….html#id2560283

I also know that it actually creates a .desktop file in the .kde/Autostart/ directory under the user's home directory, ie, normally it is
/home/my_user/.kde/Autostart/my_program.desktop

But what to do so that every KDE user has this program autostarted at KDE startup? I mean, instead of copying this .desktop file to every user's home directory, is there a more professional way? Isn't there a shared autostart directory for every user, something "à la windows"?

Well, copying the file isn't a problem since we could always make a script. But there're two potential problems that most users should be aware of:
1. Every change to the "master" .desktop file requires copying the file n times to user's home directory. No, this isn't big deal.
2. New user can't have the program autostarted, unless the administrator remembers to copy every single file for him. This is a big deal!

Posts: 10

Location: Naxos, Greece

  • Send private message

2

Saturday, December 16th 2006, 1:34pm

RE: How to make autostart for everyone?

You could copy the files when the user logs on... and if you use NIS, then you could make a script that copies the Autostart files (or whatever files) to the user's home directories using cron.