Solved

Make Shell program

Posted on 2003-11-09
5
309 Views
Last Modified: 2010-04-17
I want to make a shell program to replace windows explorer,  But , I don't know how to make tray taskbar,  That's mean the tray icon will send which message to me and how I respond this message.   Would u please give me some code. Thanks
0
Comment
Question by:cookey
5 Comments
 
LVL 48

Expert Comment

by:AlexFM
ID: 9713082
0
 
LVL 5

Accepted Solution

by:
Daij-Djan earned 125 total points
ID: 9716384
the tray MUST be run before any other shell and preferably also before your launch service is started.
checkout www.geoshell.com and get it source
0
 

Author Comment

by:cookey
ID: 9752822
AlexFM, I can't open your URL.

Daij-Djan,hello, I 'm checking code now, Thanks
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 9754666
http://www.codeguru.com/shell/systemtray.shtml

The same article in another site. CodeProject is sometimes unavailable, however, this article in the CodeProject is more up-to-date.
0
 

Expert Comment

by:TreeSkier
ID: 10351622
Hi

 i write this code,it work fine.User created with this script but unable to login with user/password.I find that /etc/shadow don't get appropirate password like md5.

#!/bin/sh
NEW_USERS="user.txt"
HOME_BASE="/home/"

cat ${NEW_USERS} | \
while read USER PASSWORD GROUP
do
  useradd -g ${GROUP} -p ${PASSWORD} -m -d ${HOME_BASE}${USER} ${USER}
done

Q. How solve this problem because i'v to create user with shell script and put it into cron tab for 1 minute.

Pls tell me ASAPi

Dharm
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
word0 challenge 3 92
White board coding practice 3 88
Installed softare without GUID 6 77
index Out OF Range Exception error 4 63
A short article about a problem I had getting the GPS LocationListener working.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question