[K12OSN] Push Icon to desktop problem

Dan Young dan_young at parkrose.k12.or.us
Tue Mar 15 04:00:48 UTC 2005


On Mon, 2005-03-14 at 21:41 -0600, Liam Marshall wrote:

>      1. A copy of the original file for Push Icons to desktop, from
>         usr/sbin to get it back to original condition.  I am afraid I
>         messed mine up and didn’t save a copy of the original

# rpm -Uvh --force http://k12linux.mesd.k12.or.us/yum/fc3/RPMS/k12ltsp/root-desktop-urls-0.1-k12ltsp.0.4.2.noarch.rpm

>      1. and I would appreciate a way/script to remove an icon/link
>         from desktops globally, like Push Icon…. Now does.  I really
>         need to get the kiddie programs off the older kid’s desktops,
>         not to mention the staff members.  I shudder to think of
>         manually deleting it from each Desktop folder

# for each in `getent passwd | cut -d ':' -f6`; do ls -D \
> $each/Desktop/foo.desktop; done

Replace foo.desktop w/ the .desktop item for your icon, make sure it
lists the right stuff, then replace "ls" w/ "rm -f".

-- 
Dan Young <dan_young at parkrose.k12.or.us>
Parkrose School District




More information about the K12OSN mailing list