Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gui in tcl/tk

Status
Not open for further replies.

carloo

Technical User
May 16, 2004
1
IT
i have a lot of friends who use windows xp,while im
using freebsd and im happy with it,more than my friends with windows. i want that they could try this powerful os,but i need that it could be more user friendly.
i can pay someone who wants to make this work.

freebsd needs to have more gui and wizards to make things easier.
i've looked all around that a lot of projects use tcl/tk to make their gui.
the first thing in freebsd which need to have a gui is the ports installation.
what i need to have is a gui with a blank field where peoples write a variable
(the right path where the port it is) and a button where there is written "install now".
when this button is pressed,some shell commands should be executed and an item with a standard icon is written inside the icewm programs file . i want to change these commands easily because im not a coder,and i want to use
this gui for a lot of operations.
i will use this gui for the following operations :

1) ports tree syncronizing : to do each time before to install a port.

the command to be invoked by the gui is :

/usr/ports/make index

2) port installation : the gui should look inside the ports tree where it is the port to install
and do : "make install clean". here there are 1 variable to get and two commands to execute:

the variable to get from the gui is the right path of the port. for example for apache is :

/usr/ports/
the first command to be invoked by the gui is

cd /usr/ports/
and the second is :

make install clean

3) clean the package db from errors :

the command to be invoked by the gui is :

pkgdb -F

4) to keep the ports db updated :

the command to be invoked by the gui is :

portsdb -uU

5) update of a selected port : the gui should get the name of the port to upgrade.

the command to be invoked by the gui is :

portupgrade name of the port

6) delete a port : the gui should get the name of the package to deinstall

the command to be invoked by the gui is :

pkg_deinstall name of the port

commands explained from point 1 3 and 4 should be invoked by the gui in invisible mode.
will be wonderful if a progress bar will tell how much time it remains to end the operation :)
the gui should inform that the current operation is ended,too.

lemme know if someone is interested. thanks
 
Carloo, I have some experience of writing GUIs in Tcl/TK and I think I could put something together. I don't currently have FreeBSD installed on my system but I do have a spare 10GB drive and am interested in taking a look at it. I might need some help getting FreeBSD installed though. Let me know if you're still interested, Stu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top