[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Re: reply to k12OSN:pushing icons out to desktops



if you are using KDE you can use KioskTool and setup different Profiles (Desktops) for your users
and then you can... add icons or remove icons from ONE desktop folder in the user's Profile and that's it :-)

very easy, we use it :-)

On 5/20/07, Peter Scheie <peter scheie homedns org> wrote:
The /usr/sbin/copy-icons-to-users-desktops script looks for
/etc/skel/Desktop directory and if it exists, it will put a copy of the
icon you're distributing in there, such that future users will get the
icon.  However, by default, there is no Desktop/ directory in /etc/skel.
  Create it, and then future users will get the desktop icons.

Not sure what you mean by "similar changes to the remove script".

Peter



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

_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]