I would not know by reading the title of this thread, but, if your goal is to add a few personal icons then read on...
I would not know it from the title either, but one thing led to another...
So make a tiny script call it sudoIcons
#!/bin/sh
append()
{
echo "$1" >> /usr/local/tce.icons
}
append "i: /usr/local/share/pixmaps/editor.png"
append "t: Sudo Editor"
append "c: exec sudo editor"
wbar.sh
Here I just copied the three lines for Editor and added sudo. You could use this tiny script and add additional 3 lines for other programs that you want sudo access. Just be sure to keep the three lines in the order of icon, title, and command. The last line must be wbar.sh to cause wbar to refresh thus displaying your new icons.
This is just what I needed! Thanks so much, it works fine. I no longer have any need or desire to log in as root at boot. And it is so simple (as compared to some of the wiki entries I was reading).
Don't forget to make the script executable.
chmod +x .X.d/sudoicons
Why make it executable? It runs when X starts without being made executable.
Thank you very, very much for the help, roberts.
And thanks so much to everyone that responded here. This is absolutely the best support forum I have ever encountered. I think TCL and I are going to have a long and productive relationship, thanks to all of you.