Journal Articles

CVu Journal Vol 12, #5 - Sep 2000
Browse in : All > Journals > CVu > 125 (21)

Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.

Title: Members' Experiences

Author: Administrator

Date: 02 September 2000 13:15:39 +01:00 or Sat, 02 September 2000 13:15:39 +01:00

Summary: 

LUCI

Body: 

LUCI by Jerome Sautret is a Python program, available as a package in many Linux distributions that edits configuration files using a GTK-based dialogue box to ask for the settings. The dialogue box is describable with a script, and the default settings are taken from the existing configuration file. Configuration files that set environment variables (such as bash_profile) are supported, and there are example description scripts to get you going.

I found LUCI interesting because of its potential for acting as a "nice" user interface for shell scripts and other short programs. The shell script can write out a dialogue description file and create the default environment settings file, call LUCI to let the user change the latter, and then source it to set the environment variables to the user's preferences (if the file is kept then the preferences will be "sticky".) LUCI was not designed for this and there is a flaw in doing this with the current version: LUCI does not return an exit code, so the calling program cannot tell whether the user pressed OK or Cancel. Aside from that, though, LUCI can be useful for those times when you have to quickly write code for someone who likes dialogue boxes.

Notes: 

More fields may be available via dynamicdata ..