system wide gnome desktop configuration
Ouattara Oumar Aziz
wattazoum at gmail.com
Thu Mar 1 16:54:06 UTC 2007
H.S. a écrit :
> Matthew Flaschen wrote:
>
>>> There is 2 ways to understand what you want to do :
>>>
>>> 1. do you want to create a model for all users you'll create ? if so ,
>>> create a first account, set that account up to fit your model. Then copy
>>> the concerned config files into /etc/skel/ .
>>>
>>> 2. If you want to make those changes for all existing users I think
>>> you'll have to create a script that do it. Loop in the users list and
>>> apply the changes .
>> I don't think that's right. See
>> http://www.gnome.org/learn/admin-guide/latest/
>>
>> Matt Flaschen
>>
>>
>
> I am not sure I understand. Lets take an example. How do I create a link
> or shortcut to a file /path/to/foo.pdf on all existing and future users'
> desktop? Is it even possible in Gnome at present?
>
> ->HS
>
If you take my method, it would be
# put the link for new users in their $HOME
sudo ln -s /usr/share/doc/foo.pdf /etc/skel/
# for all existing users (supposing the list of users can be find by "ls
/home/")
for user in `ls /home` ; do ln -s /usr/share/doc/foo.pdf /home/$user/ ; done
That's it.
@Matt Flaschen : I don't understand why you gave that link. Do you have
a more precise link ?
More information about the ubuntu-users
mailing list