Re: PATH in xterm

2007-05-30 Thread Altoine Barker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 May I have a copy of your ~/.MacOSX/environment.plist? TIA - -Altoine Didier Arenzana wrote: > 2007/5/23, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >> "Didier Arenzana" <[EMAIL PROTECTED]> on Tuesday, May 22, 2007 at 3:25 >> PM -0800 wrote: >> >you can

Re: PATH in xterm

2007-05-23 Thread robert delius royar
Tue, 22 May 2007 (17:28 -0600 UTC) Bryan Blackburn wrote: For many years, I've had (among other things) XTerm*loginShell: true in my ~/.Xdefaults file. This makes sure xterm runs the shell as a login shell regardless of how it is launched. If you use this, be sure to restart X prior to tes

Re: PATH in xterm

2007-05-22 Thread markd
Chris Pickel <[EMAIL PROTECTED]> on Tuesday, May 22, 2007 at 8:01 PM -0800 wrote: >Well, it would be useful to check Console.app to see exactly what the >problem is. X11.app seems to run a copy of your shell, from which it >runs the command. For example, when I try to launch freeciv, I see: > >

Re: PATH in xterm

2007-05-22 Thread Chris Pickel
On 22 May, 2007, at 22:50, [EMAIL PROTECTED] wrote: I can't get moodss to launch that way. I'll experiment with others apps later. Thanks for the info, it helps to know how it is working for you. Well, it would be useful to check Console.app to see exactly what the problem is. X11.app se

Re: PATH in xterm

2007-05-22 Thread markd
Mike Savory <[EMAIL PROTECTED]> on Tuesday, May 22, 2007 at 7:18 PM -0800 wrote: >Works for me fine... > >I have > >sudo /opt/local/bin/wireshark & > >for example as a command in there with a shortcut > >I also have > >manager ALL=(root) NOPASSWD:/opt/local/bin/wireshark > >in my /etc/sudoers file

Re: PATH in xterm

2007-05-22 Thread Mike Savory
Works for me fine... I have sudo /opt/local/bin/wireshark & for example as a command in there with a shortcut I also have manager ALL=(root) NOPASSWD:/opt/local/bin/wireshark in my /etc/sudoers file so there is no need for a password entry... Regards Mike (maybe its the full pathname that

Re: PATH in xterm

2007-05-22 Thread markd
"Marc André Selig" <[EMAIL PROTECTED]> on Tuesday, May 22, 2007 at 5:05 PM -0800 wrote: >> Say, anyone know how to get an X11 app to run from the Applications >menu? >> I've never been able to use that except to lanch xterm itself. > >Applications / Customize Menu, then enter your app details? Is

Re: PATH in xterm

2007-05-22 Thread Marc André Selig
On 5/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Say, anyone know how to get an X11 app to run from the Applications menu? I've never been able to use that except to lanch xterm itself. Applications / Customize Menu, then enter your app details? Is that what you mean? Regards, Marc __

Re: PATH in xterm

2007-05-22 Thread Bryan Blackburn
On May 22, 2007, at 4:30 PM, [EMAIL PROTECTED] wrote: Ryan, I use this at the top of my /etc/X11/xinit/xinitrc: source ~/.profile In fact, that was on the InstallingMacPorts page and I erroneoudly removed it when I added the stuff about xterm. I put it pack and it should all work now.

Re: PATH in xterm

2007-05-22 Thread markd
"Didier Arenzana" <[EMAIL PROTECTED]> on Tuesday, May 22, 2007 at 3:36 PM -0800 wrote: >No, I'm not. In my case, my PATH is defined in >~/.MacOSX/environment.plist > >But I already did changes in xinitrc on other unix systems, and it >worked, so I though it would here too. Well it could be I

Re: PATH in xterm

2007-05-22 Thread Didier Arenzana
2007/5/23, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: "Didier Arenzana" <[EMAIL PROTECTED]> on Tuesday, May 22, 2007 at 3:25 PM -0800 wrote: >you can change the "xterm" command in /etc/X11/xinit/xinitrc to "xterm >-ls" too. I tried that before I updated the wiki, but I recall that I could not get it

Re: PATH in xterm

2007-05-22 Thread markd
"Didier Arenzana" <[EMAIL PROTECTED]> on Tuesday, May 22, 2007 at 3:25 PM -0800 wrote: >you can change the "xterm" command in /etc/X11/xinit/xinitrc to "xterm >-ls" too. I tried that before I updated the wiki, but I recall that I could not get it to work. Are you using it that way? Mark ___

Re: PATH in xterm

2007-05-22 Thread markd
Ryan, I use this at the top of my /etc/X11/xinit/xinitrc: source ~/.profile In fact, that was on the InstallingMacPorts page and I erroneoudly removed it when I added the stuff about xterm. I put it pack and it should all work now. http://trac.macosforge.org/projects/macports/wiki/InstallingMa

Re: PATH in xterm

2007-05-22 Thread Chris Pickel
On 22 May, 2007, at 18:04, Ryan Schmidt wrote: However, when X11.app first opens, it automatically opens an xterm for me, and that xterm still doesn't know my PATH. How do I teach it? If I recall, that initial xterm is opened through your .xinitrc. If you don't have an .xinitrc, /usr/X11R6/l

Re: PATH in xterm

2007-05-22 Thread Didier Arenzana
2007/5/23, Ryan Schmidt <[EMAIL PROTECTED]>: However, when X11.app first opens, it automatically opens an xterm for me, and that xterm still doesn't know my PATH. How do I teach it? Hi, you can change the "xterm" command in /etc/X11/xinit/xinitrc to "xterm -ls" too. Didier. ___

PATH in xterm

2007-05-22 Thread Ryan Schmidt
So I finally decided to figure out why I couldn't just type "port" (etc.) in an X11 window. I found the section in the installation guide: http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts To launch X11 apps directly from an X11 window (instead of a terminal window), you