PDA

View Full Version : [ubuntu] Is there a way to default autorun items for new users?



jimerman
September 16th, 2011, 05:05 PM
Windows has a default profile, so if I add startup items there, then the first time a user logs in he will get the default copied.

There has to be a way to do the same with Ubuntu. I created a startup item in the Administrator preferences, and I can copy that to other users' directories. However, I want to have that as a default in case a new user logs in.

I found my startup items in:

~/.config/autostart/

But if I go to /home, there is no default folder.

sanderd17
September 16th, 2011, 05:15 PM
Normally, the /etc/profile script is executed at each login (so also a non-GUI login if you use that).

For the GUI-only logins, you need to copy the ~/.config/autostart/ directory.

Lisiano
September 16th, 2011, 05:18 PM
EDIT: Just add the files from ~/.config/autostart/ to /etc/skel/.config/autostart/