1 |
Tiemo Kieft <blubber@g.o> said: |
2 |
|
3 |
> Works fine :) |
4 |
> |
5 |
> As I already said in #gentoo-desktop I am currently creating a set of |
6 |
> graphical configuration tools for gentoo. I started this project long |
7 |
> before I heard of the Desktop/research project, but I think it fits in |
8 |
> fine. So I'll give a short description of it, and maybe you can give me |
9 |
> some input. |
10 |
> Well the primary goal is the make a couple of GUI tools to administrate |
11 |
> Gentoo Linux boxes. The tools I had in mind are |
12 |
> - A runlevel editor, which is already in a working state. |
13 |
> - Portage manager, which enables a users to control the settings in his |
14 |
> /etc/make.conf. It has builtin use var browser, and mirrorselet. |
15 |
> - User editor, to manage user accounts on a system |
16 |
> - GUI frontend to ebuild. |
17 |
> |
18 |
> Currently only the runlevel editor is working. You can take a look at |
19 |
> the project page at http://gct.sf.net, and you can take a look at |
20 |
> screenshot: http://blubber.student.utwente.nl/~blubber/gct.png |
21 |
> |
22 |
> Well, let me now what you think :) |
23 |
|
24 |
I think it's a good work, but that needs to be more integrated. The main |
25 |
problem of config tools is that they are most of the time "one shot" programs, |
26 |
that have one User Interface, works for one version, and is built from scratch |
27 |
(even using GUI toolkits). |
28 |
|
29 |
I propose that config tools relies on libconf, which provide powerfull feature |
30 |
to change config datas, respect software version (behave differently for samba |
31 |
2 and samba 3), permits data validation (make sure an IP field is valid...) and |
32 |
- maybe the most interesting- provides UI widget corresponding to the best way |
33 |
to represent some information. For exemple, for the brwsable property of a |
34 |
samba share, because it can only be yes or no, libconf will give you a |
35 |
checkbox. For the 'remote announce' field of the smb.conf file, it's a list of |
36 |
IP or mask informations. libconf will provide a complete widget presenting a |
37 |
list of entries that can be added, modified, deleted, and that will only accept |
38 |
data conforming to the IP/MASK type. |
39 |
|
40 |
libconf can do other usefull things. A config tools based on libconf benefits |
41 |
of the ease of use of config files interaction, GUI generation, data |
42 |
validation, and config information. libconf is also distro independant |
43 |
(although configuration for other distro is not available for now). So that |
44 |
your config tools should be portable without any effort. |
45 |
|
46 |
Now the drawbacks :) |
47 |
- It's only pure perl for now, I need to develop python and C connection. |
48 |
- data validation is long to write for config tools with enormous different |
49 |
fields like samba. |
50 |
- It only provide gtk2 widget for perl-gtk (but the C or python connection |
51 |
should not difficult to do) |
52 |
- The console GUI should be done using cursed-Gtk, but it's still been tested. |
53 |
|
54 |
|
55 |
-- |
56 |
dams |
57 |
|
58 |
-- |
59 |
gentoo-desktop-research@g.o mailing list |