Mostrando entradas con la etiqueta gambas. Mostrar todas las entradas
Mostrando entradas con la etiqueta gambas. Mostrar todas las entradas

martes, 24 de julio de 2007

Gambas tutorial

Gambas is an IDE ("Integrated Development Environment") oriented towards RAD ("Rapid Applications Development"), like the popular propietary programs Microsoft Visual Basic or Borland Delphi.You may read the tutorial here: Gambas Tutorial.

martes, 24 de abril de 2007

Debian services control panel

Debian Services Control Panel es un pequeño programa que sirve para gestionar los servicios en una máquina que ejecute Debian (o alguna distribución derivada).

Está programado con GAMBAS.

viernes, 13 de abril de 2007

Gambas tutorial

Gambas es una herramienta de desarrollo visual de aplicaciones muy similar a los conocidos programas comerciales Microsoft Visual Basic o Borland Delphi.El tutorial está en la siguiente página: Gambas Tutorial.

Debian services control panel

This program is a small and simple tool that manages the available "services" in a Debian.

Read more: Debian Services Control Panel

martes, 1 de marzo de 2005

Debian Services Control Panel

Actualización Diciembre 2022: desarrollé este programa en 2005. Se mantiene la página por interés "arqueológico".



*** BEWARE: THIS PROGRAM WAS WRITTEN IN 2005 ***

Debian services control panel 


What is "Debian services control panel"?

This program is a small and simple tool that manages the available "services" in a Debian (or Debian-based) box.
We define "services" as the programs that are in the /etc/init.d/ directory. In fact, this program is a front-end for the update-rc.d tool. You can start, stop and restart services. You can set (or unset) each service to be launched when booting the system.

Using the program
First at all: you must run the program as root, or vía sudo:

you@your-box $ sudo debian-srv-cp

Why? This program makes and delete symbolic links in the directory /etc/, and this task only can be acheived by the superuser root.

The main window show several buttons: 'Start', 'Stop', 'Restart', 'Set default', 'Remove default' and 'Quit' and a list with all the available services. You have to select a service in the list and use the desired button. Here is a screenshot:




Download and requeriments 
You may download the a Debian package (.deb) and install it with this command:

dpkg -i debian-srv-cp.deb

This program has been developed using Gambas. Gambas is an IDE (Integrated Development Environment) for BASIC. A program written in Gambas needs a "Gambas runtime", like Java programs need a "Java runtime". There are "official" gambas debian packages for "testing" and "unstable". You will need the package gambas-gb-qt (and its dependences, of course).

If you are curious or a Gambas programmer, you can download the program's source code (NOTE: this program was written for Gambas 1.x).

Bugs
If there is some corrupted file (broken link, empty file) in the /etc/init.d/ directory, the program will crash: In my system (KANOTIX 2005-03, a distro based on Debian sid and Knoppix), there was an invalid file called knoppix-terminalserver. I removed it and the program run without errors.