if you are using KDE you can use KioskTool and setup different Profiles (Desktops) for your users<br>and then you can... add icons or remove icons from ONE desktop folder in the user's Profile and that's it :-)<br>
<br>very easy, we use it :-)<br><br><div><span class="gmail_quote">On 5/20/07, <b class="gmail_sendername">Peter Scheie</b> <<a href="mailto:peter@scheie.homedns.org">peter@scheie.homedns.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The /usr/sbin/copy-icons-to-users-desktops script looks for<br>/etc/skel/Desktop directory and if it exists, it will put a copy of the<br>icon you're distributing in there, such that future users will get the<br>icon.  However, by default, there is no Desktop/ directory in /etc/skel.
<br>  Create it, and then future users will get the desktop icons.<br><br>Not sure what you mean by "similar changes to the remove script".<br><br>Peter<br><br><br><br>Levi Kemp wrote:<br>> I know this was a while back, but I was just attempting to do this with
<br>> the same setup. I noticed that this only works on users that have<br>> already logged into the K12LTSP server before. What about new users to<br>> the server? It doesn't put icons there. And I also made similar changes
<br>> to the remove script but it doesn't seem to work. Any thoughts on those?<br>> Thanks.<br>><br>> Levi<br>><br>> On Sat, 2007-04-07 at 10:45 -0500, Peter Scheie wrote:<br>>> Ah, I think I see the problem.  The push-icons-to-users-desktops script
<br>>> gets the list of users by parsing /etc/passwd (line 41 in the script);<br>>> but in your case, your /etc/passwd doesn't contain any user info because<br>>> that's all stored in the Windows AD.  Fortunately, it sounds like you
<br>>> can get a list of all your users by just looking at all the directories<br>>> in /home/domain, right?  Assuming so, try making two modifications:<br>>> First, comment out line 41 and replace it with this:
<br>>><br>>> for i in $(ls /home/domain/)<br>>><br>>> Second, add this line after the 'do' command on line 42<br>>><br>>> U=/home/domain/${i}<br>>><br>>> So, the end result should look like this:
<br>>><br>>> ...<br>>> # find all of the subdirectories under /home<br>>> ## getent passwd | cut -d: -f6 | while read U<br>>> for i in $(ls /home/domain/)<br>>> do<br>>>      U=/home/domain/${i}
<br>>>          # copy new-style Desktop<br>>>      if [ -d "$U"/Desktop/ ]; then<br>>>      ...<br>>><br>>> and so on.  Try this and let us know what happens.<br>>><br>>> Petre
<br>>><br>>><br>>><br>>><br>>> Karen Bailey wrote:<br>>> > Petre,<br>>> ><br>>> > The home directory is on the k12ltsp server.  It is under in a folder<br>>> > under home with the domain name. ie. /home/domain/users home directories.
<br>>> > Any help on this would be greatly appreciated.  Karen Bailey<br>>> ><br>>> > Does the user's home directory live on the k12ltsp server or on the<br>>> > Windows server?<br>
>> ><br>>> > Petre<br>>> ><br>>> > Karen Bailey wrote:<br>>> ><br>>> > We are using samba, kerberos and winbind with k12ltsp 6.0 to authenticate<br>>> > to a Windows 2003 active directory server.  When setting this up one of
<br>>> > the steps is to create a folder in the home directory with the name of the<br>>> > domain.  The process works well for authentication but now I can't use the<br>>> > push icons out to desktops script because it only puts the icons in the
<br>>> > home directory.  I have tried to edit the scripts path pointing to the<br>>> > domain folder but I have been unsuccessful.  Has anyone had a problem like<br>>> > this and if so how do you get around it?
<br>>> ><br>>> > Karen M. Bailey<br>>> > Software Support Specialist<br>>> > Merrimack Valley School District<br>>> > kbailey mv k12 nh us<br>>> ><br>>> > Karen M. Bailey
<br>>> > Software Support Specialist<br>>> > Merrimack Valley School District<br>>> > <a href="mailto:kbailey@mv.k12.nh.us">kbailey@mv.k12.nh.us</a> <mailto:<a href="mailto:kbailey@mv.k12.nh.us">
kbailey@mv.k12.nh.us</a>><br>>> ><br>>><br>>> _______________________________________________<br>>> K12OSN mailing list<br>>> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a> <mailto:
<a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a>><br>>> <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>>> For more info see <<a href="http://www.k12os.org">
http://www.k12os.org</a>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> K12OSN mailing list<br>> <a href="mailto:K12OSN@redhat.com">
K12OSN@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>> For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>
><br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn
</a><br>For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br></blockquote></div><br>