From owner-freebsd-questions@FreeBSD.ORG Tue May 6 21:43:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ED7537B401 for ; Tue, 6 May 2003 21:43:53 -0700 (PDT) Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60CF843F85 for ; Tue, 6 May 2003 21:43:52 -0700 (PDT) (envelope-from cpressey@catseye.mb.ca) Received: from pd5mr3so.prod.shaw.ca (pd5mr3so-qfe3.prod.shaw.ca [10.0.141.144]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEI0077K2BFT7@l-daemon> for freebsd-questions@freebsd.org; Tue, 06 May 2003 22:40:27 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEI001DS2BF0M@l-daemon> for freebsd-questions@freebsd.org; Tue, 06 May 2003 22:40:27 -0600 (MDT) Received: from www.kallisti.ca (h24-70-180-74.wp.shawcable.net [24.70.180.74]) 2003))freebsd-questions@freebsd.org; Tue, 06 May 2003 22:40:27 -0600 (MDT) Date: Tue, 06 May 2003 23:41:14 -0500 From: Chris Pressey In-reply-to: <3EB86A2C.8010407@uol.com.br> To: Konrad Scorciapino Message-id: <20030506234114.35cfa824.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies MIME-version: 1.0 X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <3EB86A2C.8010407@uol.com.br> cc: freebsd-questions@freebsd.org Subject: Re: Working path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 04:43:53 -0000 On Tue, 06 May 2003 23:06:36 -0300 Konrad Scorciapino wrote: > Hello, > > How can I define a program's working path? In KDE, we can simply edit > its link at KDE's menu, but I am using Windowmaker, so there is no > such thing. > > Thanks in advance! Hi, I don't run Windowmaker, but there doesn't seem to be a way to do it directly from Blackbox either, so what I've done is to make a shell script like so: #!/bin/sh (cd /usr/local/whatever/; program) (Assuming that by 'working path' you mean 'working directory'; if what you really want is to change the PATH environment variable, you could do that from the shell script as well I suppose.) HTH -Chris