[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: Adding Tools menu to Gschem to improve gEDA ui
Hi Peter Brett and All,
Thank you very much for pointing out my mistake in the setup
instruction, the correct way is:
(load-from-path "gsch-tools-menu.scm")
So here is the corrected setup description:
Notes to install gsch-tools-menu.scm file:
(1) Copy the gsch-tools-menu.scm file to /usr/share/gEDA/scheme/
directory.
(2) Add the following line (without the semi-colon) at the end of
system-gschemrc file, normally under /usr/share/gEDA/ folder:
(load-from-path "gsch-tools-menu.scm")
(3) Run gschem, you should see the Tools menu in gschem window.
Attached is the gsch-tools-menu.scm file with the corrected installation
instruction.
Best Regards,
Paul Tan
-----Original Message-----
From: Peter TB Brett <peter@peter-b.co.uk>
To: gEDA developer mailing list <geda-dev@moria.seul.org>
Sent: Wed, 7 Nov 2007 8:34 am
Subject: Re: gEDA-dev: Adding Tools menu to Gschem to improve gEDA ui
On Wednesday 12 December 2007 07:04:21 Paul Tan wrote:
> Hi All,
>
> After our discussion about the proposal to add user/common
> scripts to Gschem Tools menu, I decided I should come up
> with a simple setup to illustrate how easy it can be done, as
> long as the scripts require only parameters which can be
> derived from filename/filepath.
>
> Attached is a simple scheme script which we can use as a
> template to add other scripts(Bash, Python, Ruby, etc)
> to the Gschem menu.
>
> To setup: (This has been only tested under FC6 linux)
> (1) Copy the attached file "gsch-tools-menu.scm" to (normally)
> /usr/share/gEDA/scheme/ directory.
> (2) Add the following line (without the semi-colon) at the end of
> system-gschemrc file, normally under /usr/share/gEDA/ folder:
>
> (load (string-append gedadata "/scheme/gsch-tools-menu.scm"))
Does (load-from-path "/scheme/gsch-tools-menu.scm") not work?
Peter
--
Peter Brett
Electronic Systems Engineer
Integral Informatics Ltd
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
________________________________________________________________________
More new features than ever. Check out the new AIM(R) Mail ! -
http://webmail.aim.com
gsch-tools-menu.scm
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev